Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 112.3 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 198.8 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.291/0.291, allocations: 48.85 MB / 320.1 MB, free: 10.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.91 kB / 450 MB, free: 9.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 59.16 MB / 0.4973 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03248/0.145, allocations: 27.64 MB / 0.5243 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2399/0.385, allocations: 16.35 MB / 0.5402 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.3853, allocations: 6.594 kB / 0.5402 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.3859, allocations: 114 kB / 0.5403 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.3863, allocations: 149.8 kB / 0.5405 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02117/0.4074, allocations: 6.772 MB / 0.5471 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.4082, allocations: 440 kB / 0.5475 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.4085, allocations: 149 kB / 0.5477 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.4127, allocations: 1.838 MB / 0.5494 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01571/0.4285, allocations: 6.245 MB / 0.5555 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.4286, allocations: 17.09 kB / 0.5556 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/0.4494, allocations: 8.934 MB / 0.5643 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.4495, allocations: 47.12 kB / 0.5643 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.4498, allocations: 143.2 kB / 0.5645 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.4613, allocations: 5.091 MB / 0.5694 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4613, allocations: 0 / 0.5694 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4613, allocations: 0 / 0.5694 GB, free: 11.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4614, allocations: 0 / 0.5694 GB, free: 11.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003571/0.4649, allocations: 1.164 MB / 0.5706 GB, free: 10.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.465, allocations: 14.08 kB / 0.5706 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.465, allocations: 58.58 kB / 0.5706 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.4653, allocations: 55.28 kB / 0.5707 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.4657, allocations: 271.9 kB / 0.571 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4657, allocations: 17.84 kB / 0.571 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.4658, allocations: 31.06 kB / 0.571 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.4664, allocations: 341.7 kB / 0.5713 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4664, allocations: 0 / 0.5713 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.4665, allocations: 8.656 kB / 0.5713 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4665, allocations: 4.844 kB / 0.5713 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.467, allocations: 212.8 kB / 0.5715 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.4687, allocations: 1.719 MB / 0.5732 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.4691, allocations: 110.2 kB / 0.5733 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.4692, allocations: 49.36 kB / 0.5734 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1352/0.6045, allocations: 64.26 MB / 0.6361 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.6046, allocations: 38.56 kB / 0.6362 GB, free: 2.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.6046, allocations: 0 / 0.6362 GB, free: 2.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001121/0.6057, allocations: 249.3 kB / 0.6364 GB, free: 2.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.6058, allocations: 51.41 kB / 0.6364 GB, free: 2.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.6061, allocations: 292.5 kB / 0.6367 GB, free: 2.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.6061, allocations: 29.7 kB / 0.6368 GB, free: 2.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6062, allocations: 176 kB / 0.6369 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.6063, allocations: 39.69 kB / 0.637 GB, free: 2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.6064, allocations: 33.7 kB / 0.637 GB, free: 1.961 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6065, allocations: 346.8 kB / 0.6373 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.6066, allocations: 56.72 kB / 0.6374 GB, free: 1.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.6068, allocations: 127.1 kB / 0.6375 GB, free: 1.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.6072, allocations: 187.6 kB / 0.6377 GB, free: 1.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6072, allocations: 0 / 0.6377 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004791/0.6077, allocations: 213.2 kB / 0.6379 GB, free: 0.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6078, allocations: 7.906 kB / 0.6379 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6078, allocations: 8.016 kB / 0.6379 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.6078, allocations: 8.359 kB / 0.6379 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.608, allocations: 51.92 kB / 0.638 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.6081, allocations: 11.97 kB / 0.638 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.6083, allocations: 35.73 kB / 0.638 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.6083, allocations: 8 kB / 0.638 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002213/0.6086, allocations: 140 kB / 0.6381 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002076/0.6088, allocations: 140.8 kB / 0.6383 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003422/0.6091, allocations: 194.7 kB / 0.6385 GB, free: 276 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.6091, allocations: 0 / 0.6385 GB, free: 276 kB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004738/0.6096, allocations: 217.2 kB / 0.6387 GB, free: 52 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6096, allocations: 4 kB / 0.6387 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6097, allocations: 7.984 kB / 0.6387 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.6097, allocations: 4 kB / 0.6387 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.6099, allocations: 44.41 kB / 0.6387 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6099, allocations: 11.94 kB / 0.6387 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.6101, allocations: 19.89 kB / 0.6388 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.6101, allocations: 8 kB / 0.6388 GB, free: 15.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.6103, allocations: 196.1 kB / 0.639 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.6103, allocations: 35.8 kB / 0.639 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.6109, allocations: 279 kB / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6109, allocations: 0 / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.611, allocations: 4 kB / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.611, allocations: 0 / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.6115, allocations: 348 kB / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6115, allocations: 0.5625 kB / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.6116, allocations: 23.98 kB / 0.6396 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.6117, allocations: 0 / 0.6396 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.6117, allocations: 0.75 kB / 0.6396 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.6117, allocations: 15.86 kB / 0.6396 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6117, allocations: 4.094 kB / 0.6396 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.6122, allocations: 283.1 kB / 0.6399 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.6123, allocations: 101 kB / 0.64 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.6124, allocations: 15.88 kB / 0.64 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.6126, allocations: 24.62 kB / 0.64 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.6127, allocations: 7.984 kB / 0.64 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.6127, allocations: 4 kB / 0.64 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000331/0.613, allocations: 311.1 kB / 0.6403 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.613, allocations: 0 / 0.6403 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005835/0.6189, allocations: 1.314 MB / 0.6416 GB, free: 12.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01142/0.6303, allocations: 2.131 MB / 0.6437 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000811/0.6312, allocations: 189.2 kB / 0.6439 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6312, allocations: 4.062 kB / 0.6439 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.6314, allocations: 47.91 kB / 0.6439 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.6324, allocations: 126.8 kB / 0.6441 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/0.6413, allocations: 3.404 MB / 0.6474 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.6417, allocations: 0.7678 MB / 0.6481 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000349/0.6421, allocations: 126.8 kB / 0.6483 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.6423, allocations: 107.4 kB / 0.6484 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of SimCode: time 1.123e-06/0.6423, allocations: 0 / 0.6484 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/0.7326, allocations: 52.1 MB / 0.6992 GB, free: 1.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.09, allocations: 11.95 kB / 0.6992 GB, free: 1.738 MB / 0.545 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)