Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCC,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCC,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001616, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008749, allocations: 93.06 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6271/0.6271, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.304e-05, allocations: 3.984 kB / 425.4 MB, free: 8.156 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2356, allocations: 60.27 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.629/2.865, allocations: 0.7541 GB / 1.228 GB, free: 53 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/2.865, allocations: 82.09 kB / 1.228 GB, free: 52.96 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.342/6.207, allocations: 0.7843 GB / 2.013 GB, free: 57.12 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.664e-06/6.207, allocations: 0 / 2.013 GB, free: 57.12 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 5.69e-05/6.207, allocations: 28 kB / 2.013 GB, free: 57.09 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.002652/6.209, allocations: 1.173 MB / 2.014 GB, free: 55.87 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/6.21, allocations: 8.031 kB / 2.014 GB, free: 55.86 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/6.211, allocations: 238.5 kB / 2.014 GB, free: 55.63 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/6.212, allocations: 0.6818 MB / 2.015 GB, free: 54.91 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/6.212, allocations: 40 kB / 2.015 GB, free: 54.88 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/6.212, allocations: 75.89 kB / 2.015 GB, free: 54.8 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001588/6.214, allocations: 1.067 MB / 2.016 GB, free: 53.73 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/6.216, allocations: 1.341 MB / 2.017 GB, free: 52.32 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/6.216, allocations: 7.953 kB / 2.017 GB, free: 52.32 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/6.216, allocations: 4 kB / 2.017 GB, free: 52.31 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/6.216, allocations: 42.2 kB / 2.017 GB, free: 52.27 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008669/6.225, allocations: 6.159 MB / 2.023 GB, free: 45.56 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/6.226, allocations: 0.522 MB / 2.024 GB, free: 45.03 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/6.226, allocations: 335.9 kB / 2.024 GB, free: 44.7 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/6.226, allocations: 19.62 kB / 2.024 GB, free: 44.68 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/6.226, allocations: 47.12 kB / 2.024 GB, free: 44.63 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=58): time 3.997e-06/6.226, allocations: 0 / 2.024 GB, free: 44.63 MB / 0.5108 GB Notification: Performance of matching and sorting (n=69): time 0.008192/6.234, allocations: 3.043 MB / 2.027 GB, free: 41.5 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/6.235, allocations: 111.4 kB / 2.027 GB, free: 41.37 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/6.235, allocations: 397.1 kB / 2.028 GB, free: 40.98 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 8.939e-05/6.235, allocations: 33.64 kB / 2.028 GB, free: 40.94 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/6.235, allocations: 0.4908 MB / 2.028 GB, free: 40.44 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/6.235, allocations: 236.4 kB / 2.028 GB, free: 40.21 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/6.236, allocations: 4 kB / 2.028 GB, free: 40.2 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001122/6.236, allocations: 366.8 kB / 2.029 GB, free: 39.84 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/6.236, allocations: 422.5 kB / 2.029 GB, free: 39.42 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/6.237, allocations: 0.5651 MB / 2.03 GB, free: 38.8 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/6.237, allocations: 496.3 kB / 2.03 GB, free: 38.32 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.237, allocations: 0 / 2.03 GB, free: 38.32 MB / 0.5108 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002153/6.24, allocations: 1.43 MB / 2.032 GB, free: 36.88 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004089/6.24, allocations: 1.485 MB / 2.033 GB, free: 35.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/6.24, allocations: 8 kB / 2.033 GB, free: 35.27 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/6.242, allocations: 0.7599 MB / 2.034 GB, free: 34.51 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/6.243, allocations: 123.8 kB / 2.034 GB, free: 34.39 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/6.245, allocations: 2.263 MB / 2.036 GB, free: 32.08 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/6.246, allocations: 111.8 kB / 2.036 GB, free: 31.97 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/6.246, allocations: 47.98 kB / 2.036 GB, free: 31.92 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/6.246, allocations: 4 kB / 2.036 GB, free: 31.92 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002122/6.248, allocations: 1.327 MB / 2.038 GB, free: 30.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/6.248, allocations: 4 kB / 2.038 GB, free: 30.59 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/6.25, allocations: 0.567 MB / 2.038 GB, free: 30.02 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/6.251, allocations: 147.8 kB / 2.038 GB, free: 29.88 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/6.253, allocations: 2.579 MB / 2.041 GB, free: 27.23 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/6.254, allocations: 107.8 kB / 2.041 GB, free: 27.12 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/6.254, allocations: 47.98 kB / 2.041 GB, free: 27.07 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CombustionChamber1.M:DUMMY_STATE(min = 0.0 unit = "kg" ) "Gas total mass" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005622/6.254, allocations: 127.9 kB / 2.041 GB, free: 26.95 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001623/6.256, allocations: 0.9996 MB / 2.042 GB, free: 25.93 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/6.256, allocations: 67.34 kB / 2.042 GB, free: 25.86 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/6.258, allocations: 1.141 MB / 2.043 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/6.258, allocations: 8 kB / 2.043 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/6.258, allocations: 0 / 2.043 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/6.258, allocations: 11.64 kB / 2.043 GB, free: 24.69 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/6.261, allocations: 2.148 MB / 2.045 GB, free: 22.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/6.261, allocations: 4.125 kB / 2.045 GB, free: 22.49 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/6.262, allocations: 187.8 kB / 2.046 GB, free: 22.31 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/6.263, allocations: 245.5 kB / 2.046 GB, free: 22.06 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/6.263, allocations: 19.98 kB / 2.046 GB, free: 22.04 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/6.266, allocations: 2.824 MB / 2.049 GB, free: 19.06 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/6.266, allocations: 4.031 kB / 2.049 GB, free: 19.06 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/6.268, allocations: 1.656 MB / 2.05 GB, free: 17.34 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/6.269, allocations: 140.3 kB / 2.05 GB, free: 17.19 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/6.269, allocations: 8 kB / 2.05 GB, free: 17.18 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/6.27, allocations: 99.73 kB / 2.05 GB, free: 17.08 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/6.27, allocations: 64.59 kB / 2.05 GB, free: 17.02 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/6.27, allocations: 71.94 kB / 2.051 GB, free: 16.95 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0004146/6.271, allocations: 298.9 kB / 2.051 GB, free: 16.66 MB / 0.5108 GB Notification: Performance of sort global known variables: time 7.61e-07/6.271, allocations: 0 / 2.051 GB, free: 16.66 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002649/6.273, allocations: 0.6444 MB / 2.051 GB, free: 16.02 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (CombustionChamber1.fluegas.p,CombustionChamber1.fluegas.Xi[2],CombustionChamber1.fluegas.Xi[3],CombustionChamber1.fluegas.Xi[4],CombustionChamber1.fluegas.Xi[5],CombustionChamber1.fluegas.T,CombustionChamber1.fluegas.R) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005695/6.279, allocations: 3.951 MB / 2.055 GB, free: 12.22 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003425/6.283, allocations: 1.849 MB / 2.057 GB, free: 10.37 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/6.283, allocations: 5.688 kB / 2.057 GB, free: 10.37 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/6.284, allocations: 0.6568 MB / 2.058 GB, free: 9.703 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/6.285, allocations: 309.8 kB / 2.058 GB, free: 9.402 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/6.29, allocations: 2.131 MB / 2.06 GB, free: 7.254 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/6.291, allocations: 1.125 MB / 2.061 GB, free: 6.098 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001263/6.292, allocations: 265.7 kB / 2.061 GB, free: 5.84 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/6.293, allocations: 383.3 kB / 2.062 GB, free: 5.465 MB / 0.5108 GB Notification: Performance of SimCode: time 1.773e-06/6.293, allocations: 2.531 kB / 2.062 GB, free: 5.465 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4452/6.738, allocations: 41.3 MB / 2.102 GB, free: 83.25 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/6.738, allocations: 125.3 kB / 2.102 GB, free: 83.06 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.268/10.01, allocations: 0 / 2.102 GB, free: 83.06 MB / 0.5265 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCC_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCC.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe 2>&1)