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.001846/0.001846, allocations: 113.2 kB / 17.07 MB, free: 5.988 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.001982/0.001982, allocations: 193.4 kB / 18 MB, free: 5.074 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.378/1.378, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2716/0.2716, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.002069/0.002069, allocations: 75.89 kB / 450 MB, free: 9.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1085, allocations: 59.16 MB / 0.4973 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02988/0.1384, allocations: 27.64 MB / 0.5243 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2313/0.3698, allocations: 16.35 MB / 0.5402 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.3702, allocations: 7.156 kB / 0.5402 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.3708, allocations: 118.5 kB / 0.5403 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.3711, allocations: 146.2 kB / 0.5405 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02181/0.393, allocations: 6.769 MB / 0.5471 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.3937, allocations: 439.9 kB / 0.5475 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.394, allocations: 151.8 kB / 0.5477 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004352/0.3984, allocations: 1.84 MB / 0.5494 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0157/0.4141, allocations: 6.24 MB / 0.5555 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.4142, allocations: 17.62 kB / 0.5556 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.4313, allocations: 8.923 MB / 0.5643 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/0.4314, allocations: 59.61 kB / 0.5643 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.4317, allocations: 136.3 kB / 0.5645 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4444, allocations: 5.091 MB / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4445, allocations: 0 / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4445, allocations: 3.938 kB / 0.5694 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4445, allocations: 0 / 0.5694 GB, free: 11.33 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.004025/0.4485, allocations: 1.166 MB / 0.5706 GB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4486, allocations: 13.02 kB / 0.5706 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.4487, allocations: 57.98 kB / 0.5706 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.4489, allocations: 55.69 kB / 0.5707 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.4493, allocations: 273.1 kB / 0.571 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4494, allocations: 19.03 kB / 0.571 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.4494, allocations: 25.81 kB / 0.571 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.4501, allocations: 340.8 kB / 0.5713 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4501, allocations: 0 / 0.5713 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.4502, allocations: 10.69 kB / 0.5713 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.4502, allocations: 7.469 kB / 0.5713 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.4507, allocations: 211.7 kB / 0.5715 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.4526, allocations: 1.718 MB / 0.5732 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.453, allocations: 107.6 kB / 0.5733 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.4532, allocations: 55.55 kB / 0.5734 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1334/0.5866, allocations: 64.25 MB / 0.6361 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.5866, allocations: 30.56 kB / 0.6362 GB, free: 2.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.5866, allocations: 0 / 0.6362 GB, free: 2.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001057/0.5877, allocations: 257.3 kB / 0.6364 GB, free: 2.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.5878, allocations: 51.41 kB / 0.6364 GB, free: 2.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.5881, allocations: 284.5 kB / 0.6367 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5881, allocations: 25.7 kB / 0.6367 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5883, allocations: 187.2 kB / 0.6369 GB, free: 2.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.5883, allocations: 35.69 kB / 0.637 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.5884, allocations: 41.7 kB / 0.637 GB, free: 1.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5886, allocations: 338.8 kB / 0.6373 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.5887, allocations: 52.78 kB / 0.6374 GB, free: 1.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.5889, allocations: 131.1 kB / 0.6375 GB, free: 1.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.5893, allocations: 183.6 kB / 0.6377 GB, free: 1.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5893, allocations: 8 kB / 0.6377 GB, free: 1.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004494/0.5898, allocations: 209.2 kB / 0.6379 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5898, allocations: 8 kB / 0.6379 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5898, allocations: 4.375 kB / 0.6379 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5898, allocations: 8 kB / 0.6379 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.59, allocations: 46.84 kB / 0.6379 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5901, allocations: 7.984 kB / 0.6379 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5903, allocations: 35.73 kB / 0.638 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.5903, allocations: 8 kB / 0.638 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002034/0.5905, allocations: 144 kB / 0.6381 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001974/0.5907, allocations: 136.8 kB / 0.6383 GB, free: 0.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003269/0.591, allocations: 195.8 kB / 0.6384 GB, free: 316 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.5911, allocations: 8.062 kB / 0.6385 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004178/0.5915, allocations: 213.2 kB / 0.6387 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.5915, allocations: 8 kB / 0.6387 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5915, allocations: 4 kB / 0.6387 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.5915, allocations: 4 kB / 0.6387 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.5917, allocations: 48.34 kB / 0.6387 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5917, allocations: 12.36 kB / 0.6387 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.5919, allocations: 20.05 kB / 0.6387 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.5919, allocations: 8 kB / 0.6388 GB, free: 15.98 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.0001199/0.592, allocations: 196.1 kB / 0.6389 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.5921, allocations: 31.75 kB / 0.639 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.5926, allocations: 291 kB / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5927, allocations: 0 / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5927, allocations: 0 / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5927, allocations: 0 / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.5931, allocations: 349 kB / 0.6396 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5931, allocations: 3.938 kB / 0.6396 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.5933, allocations: 23.98 kB / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5933, allocations: 0 / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5933, allocations: 0 / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.5933, allocations: 7.938 kB / 0.6396 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5933, allocations: 4.859 kB / 0.6396 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.5938, allocations: 283.1 kB / 0.6399 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.5939, allocations: 96.95 kB / 0.64 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.594, allocations: 15.89 kB / 0.64 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.5942, allocations: 30.05 kB / 0.64 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.5942, allocations: 11.98 kB / 0.64 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.5942, allocations: 0 / 0.64 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003314/0.5946, allocations: 307.1 kB / 0.6403 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5946, allocations: 0 / 0.6403 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004328/0.5989, allocations: 1.314 MB / 0.6416 GB, free: 12.96 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.007855/0.6068, allocations: 2.143 MB / 0.6437 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006236/0.6074, allocations: 189 kB / 0.6439 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6074, allocations: 4.188 kB / 0.6439 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6076, allocations: 43.91 kB / 0.6439 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.6085, allocations: 125.9 kB / 0.6441 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/0.6147, allocations: 3.394 MB / 0.6474 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.6151, allocations: 0.7678 MB / 0.6481 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002733/0.6154, allocations: 130.8 kB / 0.6482 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.6156, allocations: 103.4 kB / 0.6483 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.6156, allocations: 0 / 0.6483 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09797/0.7135, allocations: 52.1 MB / 0.6992 GB, free: 1.781 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.42, allocations: 16.02 kB / 0.6992 GB, free: 1.766 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)