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.0009456/0.0009456, allocations: 103 kB / 16.51 MB, free: 6.645 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.0008998/0.0008998, allocations: 195.1 kB / 17.42 MB, free: 6.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.145/1.145, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2405/0.2405, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.001299/0.001299, allocations: 64.84 kB / 389.5 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08144, allocations: 59.16 MB / 448.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02635/0.1078, allocations: 28.55 MB / 477.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.1275, allocations: 17.86 MB / 495 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.1279, allocations: 7.938 kB / 495 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.1283, allocations: 87.48 kB / 495.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1286, allocations: 147 kB / 495.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.1425, allocations: 5.342 MB / 0.4889 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.1431, allocations: 0.557 MB / 0.4894 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.1434, allocations: 124.7 kB / 0.4895 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.1471, allocations: 1.815 MB / 0.4913 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.1597, allocations: 6.245 MB / 0.4974 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.1598, allocations: 12 kB / 0.4974 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.1732, allocations: 8.876 MB / 0.5061 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.1733, allocations: 43.78 kB / 0.5061 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.1735, allocations: 131.3 kB / 0.5062 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009412/0.1829, allocations: 5.107 MB / 0.5112 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1829, allocations: 3.984 kB / 0.5112 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1829, allocations: 0 / 0.5112 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1829, allocations: 0 / 0.5112 GB, free: 15 MB / 414.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.002384/0.1853, allocations: 1.133 MB / 0.5123 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1854, allocations: 12.03 kB / 0.5124 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.1854, allocations: 54.72 kB / 0.5124 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.1857, allocations: 52.55 kB / 0.5125 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1859, allocations: 264.7 kB / 0.5127 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1859, allocations: 20.69 kB / 0.5127 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.186, allocations: 20 kB / 0.5127 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.1866, allocations: 338.1 kB / 0.5131 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1866, allocations: 0 / 0.5131 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1867, allocations: 12 kB / 0.5131 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1867, allocations: 8 kB / 0.5131 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.1872, allocations: 221.5 kB / 0.5133 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1887, allocations: 1.71 MB / 0.515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.1891, allocations: 110.5 kB / 0.5151 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1892, allocations: 44.83 kB / 0.5151 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2473/0.4365, allocations: 63.97 MB / 0.5776 GB, free: 41.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.4366, allocations: 34.56 kB / 0.5776 GB, free: 41.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.4367, allocations: 0.7656 kB / 0.5776 GB, free: 41.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009181/0.4376, allocations: 256 kB / 0.5779 GB, free: 41.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.4376, allocations: 55.39 kB / 0.5779 GB, free: 41.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.4379, allocations: 286.9 kB / 0.5782 GB, free: 40.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4379, allocations: 29.7 kB / 0.5782 GB, free: 40.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.438, allocations: 180.1 kB / 0.5784 GB, free: 40.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.438, allocations: 36.19 kB / 0.5784 GB, free: 40.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.4381, allocations: 36.58 kB / 0.5785 GB, free: 40.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.4381, allocations: 340.7 kB / 0.5788 GB, free: 40.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4382, allocations: 49.52 kB / 0.5788 GB, free: 40.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4384, allocations: 127.1 kB / 0.579 GB, free: 40.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.4386, allocations: 189.8 kB / 0.5791 GB, free: 39.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4386, allocations: 4 kB / 0.5791 GB, free: 39.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003719/0.439, allocations: 205.2 kB / 0.5793 GB, free: 39.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.439, allocations: 8 kB / 0.5793 GB, free: 39.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4391, allocations: 4.375 kB / 0.5793 GB, free: 39.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4391, allocations: 9.688 kB / 0.5794 GB, free: 39.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.4393, allocations: 49.5 kB / 0.5794 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.4393, allocations: 11.41 kB / 0.5794 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.4395, allocations: 36.55 kB / 0.5794 GB, free: 39.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4395, allocations: 8 kB / 0.5795 GB, free: 39.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000153/0.4397, allocations: 144.1 kB / 0.5796 GB, free: 39.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001189/0.4398, allocations: 130 kB / 0.5797 GB, free: 39.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002238/0.44, allocations: 197.1 kB / 0.5799 GB, free: 39.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.44, allocations: 0 / 0.5799 GB, free: 39.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000334/0.4404, allocations: 220 kB / 0.5801 GB, free: 38.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.4404, allocations: 10.39 kB / 0.5801 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.4404, allocations: 4 kB / 0.5801 GB, free: 38.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.4404, allocations: 4.438 kB / 0.5801 GB, free: 38.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4405, allocations: 52.67 kB / 0.5802 GB, free: 38.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4406, allocations: 14.55 kB / 0.5802 GB, free: 38.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.4407, allocations: 18.38 kB / 0.5802 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4407, allocations: 15.98 kB / 0.5802 GB, free: 38.72 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.4408, allocations: 186.4 kB / 0.5804 GB, free: 38.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.4409, allocations: 27.62 kB / 0.5804 GB, free: 38.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.4413, allocations: 296.6 kB / 0.5807 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4413, allocations: 7.938 kB / 0.5807 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4413, allocations: 0 / 0.5807 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4413, allocations: 0 / 0.5807 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.4416, allocations: 339.7 kB / 0.581 GB, free: 37.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4416, allocations: 2.375 kB / 0.5811 GB, free: 37.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4417, allocations: 27.97 kB / 0.5811 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4418, allocations: 0 / 0.5811 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4418, allocations: 4 kB / 0.5811 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.4418, allocations: 3.938 kB / 0.5811 GB, free: 37.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4418, allocations: 0.6562 kB / 0.5811 GB, free: 37.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.4422, allocations: 280.1 kB / 0.5814 GB, free: 37.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.4422, allocations: 96.84 kB / 0.5814 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.4423, allocations: 23.69 kB / 0.5815 GB, free: 37.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.4425, allocations: 33.83 kB / 0.5815 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4425, allocations: 4 kB / 0.5815 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.4425, allocations: 4 kB / 0.5815 GB, free: 37.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.4427, allocations: 307.1 kB / 0.5818 GB, free: 37.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4427, allocations: 0 / 0.5818 GB, free: 37.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002659/0.4454, allocations: 1.3 MB / 0.5831 GB, free: 35.84 MB / 414.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 (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.005804/0.4512, allocations: 2.128 MB / 0.5851 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.4517, allocations: 193 kB / 0.5853 GB, free: 33.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4517, allocations: 384 / 0.5853 GB, free: 33.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.4518, allocations: 45.61 kB / 0.5854 GB, free: 33.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.4525, allocations: 132.9 kB / 0.5855 GB, free: 33.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.4566, allocations: 3.499 MB / 0.5889 GB, free: 29.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4567, allocations: 0.7697 MB / 0.5897 GB, free: 29.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.457, allocations: 133.9 kB / 0.5898 GB, free: 29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4571, allocations: 103.4 kB / 0.5899 GB, free: 28.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4571, allocations: 0 / 0.5899 GB, free: 28.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/0.5236, allocations: 51.78 MB / 0.6405 GB, free: 9.086 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.5238, allocations: 220.9 kB / 0.6407 GB, free: 8.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/4.996, allocations: 0 / 0.6407 GB, free: 8.82 MB / 446.1 MB (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/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)