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.0007594/0.0007594, allocations: 88.83 kB / 16.31 MB, free: 6.449 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.0007989/0.0007988, allocations: 178.7 kB / 17.21 MB, free: 6.32 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.662/1.662, allocations: 205.4 MB / 223.4 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4978/0.4978, allocations: 48.77 MB / 320.4 MB, free: 3.844 MB / 254.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.0005291/0.0005292, allocations: 18.95 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1269, allocations: 60.26 MB / 451.5 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.2464/0.3733, allocations: 25.73 MB / 477.3 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3889, allocations: 15.26 MB / 492.5 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.3892, allocations: 12.66 kB / 492.5 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.3897, allocations: 88.91 kB / 492.6 MB, free: 24.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.39, allocations: 150.2 kB / 492.8 MB, free: 24.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01891/0.4089, allocations: 5.146 MB / 497.9 MB, free: 21.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008189/0.4097, allocations: 498.8 kB / 498.4 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.41, allocations: 116.5 kB / 498.5 MB, free: 21.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.4154, allocations: 2.993 MB / 0.4897 GB, free: 20.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02044/0.4359, allocations: 10.98 MB / 0.5005 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.436, allocations: 12 kB / 0.5005 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.4523, allocations: 8.603 MB / 0.5089 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.4525, allocations: 43.78 kB / 0.5089 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.4526, allocations: 77.58 kB / 0.509 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.4592, allocations: 3.38 MB / 0.5123 GB, free: 4.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.296e-05/0.4593, allocations: 0 / 0.5123 GB, free: 4.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4593, allocations: 3.938 kB / 0.5123 GB, free: 4.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.4593, allocations: 0 / 0.5123 GB, free: 4.25 MB / 382.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.003068/0.4624, allocations: 1.084 MB / 0.5134 GB, free: 3.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4625, allocations: 8.031 kB / 0.5134 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.4625, allocations: 58.53 kB / 0.5134 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.4627, allocations: 56.31 kB / 0.5135 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.463, allocations: 267.4 kB / 0.5137 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.463, allocations: 16.56 kB / 0.5137 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.4631, allocations: 24 kB / 0.5138 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.4637, allocations: 334.2 kB / 0.5141 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4637, allocations: 0 / 0.5141 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.4637, allocations: 12 kB / 0.5141 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4637, allocations: 12 kB / 0.5141 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.4642, allocations: 225.4 kB / 0.5143 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.4655, allocations: 1.721 MB / 0.516 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.4659, allocations: 118.4 kB / 0.5161 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.466, allocations: 52.83 kB / 0.5162 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1114/0.5774, allocations: 64.61 MB / 0.5793 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5775, allocations: 35.11 kB / 0.5793 GB, free: 7.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.5775, allocations: 0 / 0.5793 GB, free: 7.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009701/0.5784, allocations: 269.4 kB / 0.5796 GB, free: 7.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.5785, allocations: 51.41 kB / 0.5796 GB, free: 7.402 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.5788, allocations: 288.4 kB / 0.5799 GB, free: 7.109 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5789, allocations: 29.64 kB / 0.5799 GB, free: 7.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.579, allocations: 179.4 kB / 0.5801 GB, free: 6.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.579, allocations: 31.55 kB / 0.5801 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.579, allocations: 12 kB / 0.5801 GB, free: 6.852 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5792, allocations: 330.8 kB / 0.5804 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.5793, allocations: 47.97 kB / 0.5805 GB, free: 6.473 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5795, allocations: 135.1 kB / 0.5806 GB, free: 6.301 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.5797, allocations: 67.84 kB / 0.5807 GB, free: 6.234 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5797, allocations: 0 / 0.5807 GB, free: 6.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003856/0.5801, allocations: 222.7 kB / 0.5809 GB, free: 6.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.5802, allocations: 175.7 kB / 0.5811 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5802, allocations: 4 kB / 0.5811 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5802, allocations: 4 kB / 0.5811 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.5804, allocations: 54.09 kB / 0.5811 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5804, allocations: 7.938 kB / 0.5811 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5806, allocations: 39.67 kB / 0.5812 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.5806, allocations: 11.95 kB / 0.5812 GB, free: 5.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.5807, allocations: 4 kB / 0.5812 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003132/0.581, allocations: 167.7 kB / 0.5813 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.581, allocations: 4 kB / 0.5813 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.581, allocations: 4 kB / 0.5813 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.5812, allocations: 48.28 kB / 0.5814 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5812, allocations: 12.31 kB / 0.5814 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.5813, allocations: 35.73 kB / 0.5814 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5813, allocations: 8 kB / 0.5814 GB, free: 5.402 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.5815, allocations: 213 kB / 0.5816 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.5815, allocations: 35.61 kB / 0.5817 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.5821, allocations: 300.4 kB / 0.582 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.5821, allocations: 3.984 kB / 0.582 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5821, allocations: 0 / 0.582 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5821, allocations: 4 kB / 0.582 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.5825, allocations: 341.1 kB / 0.5823 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5825, allocations: 0.5625 kB / 0.5823 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.5826, allocations: 31.97 kB / 0.5823 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5826, allocations: 3.953 kB / 0.5823 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5826, allocations: 4 kB / 0.5823 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5827, allocations: 5.188 kB / 0.5823 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5827, allocations: 0 / 0.5823 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.5831, allocations: 295 kB / 0.5826 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5832, allocations: 140.6 kB / 0.5828 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.5833, allocations: 7.953 kB / 0.5828 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.5835, allocations: 31.88 kB / 0.5828 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.5835, allocations: 4.062 kB / 0.5828 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5835, allocations: 4 kB / 0.5828 GB, free: 3.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.5839, allocations: 311.1 kB / 0.5831 GB, free: 3.602 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5839, allocations: 0 / 0.5831 GB, free: 3.602 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004016/0.5879, allocations: 1.3 MB / 0.5844 GB, free: 2.301 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006876/0.5948, allocations: 2.143 MB / 0.5865 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005744/0.5954, allocations: 196.1 kB / 0.5866 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.5954, allocations: 5.125 kB / 0.5867 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.5955, allocations: 51.91 kB / 0.5867 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.5964, allocations: 138.3 kB / 0.5868 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.6006, allocations: 2.052 MB / 0.5888 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.6009, allocations: 0.7716 MB / 0.5896 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.6013, allocations: 130 kB / 0.5897 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6014, allocations: 103.4 kB / 0.5898 GB, free: 12.59 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6014, allocations: 0 / 0.5898 GB, free: 12.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/0.9223, allocations: 52.67 MB / 0.6412 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.9225, allocations: 196.5 kB / 0.6414 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.423/6.346, allocations: 0 / 0.6414 GB, free: 135.3 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) Environment - environmentSimulation: