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.001198/0.001198, allocations: 113.4 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.001441/0.001441, allocations: 195 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.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3119/0.3119, allocations: 48.85 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.002826/0.002826, allocations: 67.91 kB / 450 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1563, allocations: 59.16 MB / 0.4973 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03001/0.1863, allocations: 27.64 MB / 0.5242 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3044/0.4908, allocations: 16.35 MB / 0.5402 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004779/0.4914, allocations: 4.062 kB / 0.5402 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006495/0.4921, allocations: 114.6 kB / 0.5403 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.4926, allocations: 147.2 kB / 0.5405 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0281/0.5207, allocations: 6.781 MB / 0.5471 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.5215, allocations: 443.3 kB / 0.5475 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.5218, allocations: 142.7 kB / 0.5477 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/0.5261, allocations: 1.841 MB / 0.5494 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01502/0.5411, allocations: 6.247 MB / 0.5555 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.5412, allocations: 18.56 kB / 0.5556 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02305/0.5643, allocations: 8.929 MB / 0.5643 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5645, allocations: 52.59 kB / 0.5643 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.5648, allocations: 138 kB / 0.5645 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.5808, allocations: 5.089 MB / 0.5694 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5809, allocations: 0 / 0.5694 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5809, allocations: 0 / 0.5694 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.5809, 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.00549/0.5864, allocations: 1.173 MB / 0.5706 GB, free: 10.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5865, allocations: 13.52 kB / 0.5706 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.5865, allocations: 62.73 kB / 0.5707 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.5868, allocations: 54.89 kB / 0.5707 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.5872, allocations: 266 kB / 0.571 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5872, allocations: 12.84 kB / 0.571 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.5873, allocations: 28.97 kB / 0.571 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.588, allocations: 334.4 kB / 0.5713 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.588, allocations: 7.875 kB / 0.5713 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.5881, allocations: 15.06 kB / 0.5713 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5881, allocations: 8.625 kB / 0.5714 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.5886, allocations: 202.8 kB / 0.5715 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.5905, allocations: 1.727 MB / 0.5732 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.5909, allocations: 111.9 kB / 0.5733 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.5911, allocations: 45.73 kB / 0.5734 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1316/0.7227, allocations: 64.26 MB / 0.6361 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.7228, allocations: 38.67 kB / 0.6362 GB, free: 2.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.7228, allocations: 0 / 0.6362 GB, free: 2.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001078/0.7239, allocations: 253.3 kB / 0.6364 GB, free: 2.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.7239, allocations: 51.41 kB / 0.6365 GB, free: 2.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.7243, allocations: 284.9 kB / 0.6367 GB, free: 2.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.7243, allocations: 29.7 kB / 0.6368 GB, free: 2.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7244, allocations: 186.7 kB / 0.6369 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.7245, allocations: 35.69 kB / 0.637 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.7246, allocations: 45.64 kB / 0.637 GB, free: 1.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7247, allocations: 334.8 kB / 0.6373 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.7248, allocations: 52.78 kB / 0.6374 GB, free: 1.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.725, allocations: 127.1 kB / 0.6375 GB, free: 1.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.7254, allocations: 186.9 kB / 0.6377 GB, free: 1.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7254, allocations: 4 kB / 0.6377 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004714/0.7259, allocations: 211.7 kB / 0.6379 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.7259, allocations: 11.94 kB / 0.6379 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7259, allocations: 4 kB / 0.6379 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.726, allocations: 4 kB / 0.6379 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.7262, allocations: 43.91 kB / 0.638 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.7262, allocations: 8.016 kB / 0.638 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.7264, allocations: 44.03 kB / 0.638 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.7264, allocations: 11.98 kB / 0.638 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002276/0.7267, allocations: 144 kB / 0.6381 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001739/0.7269, allocations: 132.8 kB / 0.6383 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003122/0.7272, allocations: 194.5 kB / 0.6385 GB, free: 288 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.7272, allocations: 7.938 kB / 0.6385 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004332/0.7276, allocations: 213.5 kB / 0.6387 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.7277, allocations: 8 kB / 0.6387 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7277, allocations: 4 kB / 0.6387 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.7277, allocations: 4 kB / 0.6387 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.7279, allocations: 43.97 kB / 0.6387 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.7279, allocations: 8.047 kB / 0.6387 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.7281, allocations: 23.88 kB / 0.6388 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.7281, allocations: 8 kB / 0.6388 GB, free: 15.96 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.0001245/0.7282, allocations: 201 kB / 0.639 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.7283, allocations: 27.81 kB / 0.639 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.7288, allocations: 287 kB / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7289, allocations: 0 / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7289, allocations: 0 / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7289, allocations: 0 / 0.6393 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.7293, allocations: 353.6 kB / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7293, allocations: 0 / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.7295, allocations: 23.98 kB / 0.6396 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.7295, allocations: 0 / 0.6396 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7295, allocations: 0.8438 kB / 0.6396 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7295, allocations: 3.938 kB / 0.6396 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7295, allocations: 0 / 0.6396 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.73, allocations: 294.9 kB / 0.6399 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.7301, allocations: 96.95 kB / 0.64 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.7302, allocations: 15.89 kB / 0.64 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.7304, allocations: 27.98 kB / 0.64 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.7304, allocations: 11.98 kB / 0.6401 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.7304, allocations: 0 / 0.6401 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003602/0.7308, allocations: 307.2 kB / 0.6403 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7308, allocations: 0 / 0.6403 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00552/0.7363, allocations: 1.318 MB / 0.6416 GB, free: 12.94 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.00929/0.7457, allocations: 2.13 MB / 0.6437 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.7464, allocations: 191.9 kB / 0.6439 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.7464, allocations: 0 / 0.6439 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.7465, allocations: 41.47 kB / 0.6439 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/0.7475, allocations: 134.7 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.007399/0.7549, allocations: 3.398 MB / 0.6474 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.7555, allocations: 0.7678 MB / 0.6481 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003245/0.7558, allocations: 138.7 kB / 0.6483 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.756, allocations: 103.4 kB / 0.6484 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/0.756, allocations: 0 / 0.6484 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.8564, allocations: 52.09 MB / 0.6992 GB, free: 1.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.28, allocations: 8.016 kB / 0.6992 GB, free: 1.762 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)