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.001028/0.001028, allocations: 103.9 kB / 16.94 MB, free: 6.309 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.0009322/0.0009323, allocations: 187.4 kB / 17.87 MB, free: 5.391 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.152/1.152, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2402/0.2402, allocations: 48.84 MB / 319.9 MB, free: 11.09 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.001313/0.001313, allocations: 68.89 kB / 390.2 MB, free: 48.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08171, allocations: 59.16 MB / 449.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02642/0.1082, allocations: 27.65 MB / 477 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1253, allocations: 16.36 MB / 493.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.1256, allocations: 7.938 kB / 493.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1261, allocations: 123.1 kB / 493.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1264, allocations: 143 kB / 493.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01487/0.1413, allocations: 6.744 MB / 0.4887 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.1417, allocations: 438.5 kB / 0.4891 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.142, allocations: 152.8 kB / 0.4892 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.145, allocations: 1.835 MB / 0.491 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.1554, allocations: 6.254 MB / 0.4971 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.1555, allocations: 20 kB / 0.4972 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.1692, allocations: 8.837 MB / 0.5058 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.1693, allocations: 51.78 kB / 0.5058 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1695, allocations: 143.3 kB / 0.506 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007195/0.1767, allocations: 5.068 MB / 0.5109 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1767, allocations: 0 / 0.5109 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1767, allocations: 0 / 0.5109 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1767, allocations: 3.938 kB / 0.5109 GB, free: 15.52 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.002266/0.179, allocations: 1.135 MB / 0.512 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1791, allocations: 15.89 kB / 0.5121 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.1791, allocations: 62.66 kB / 0.5121 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.1794, allocations: 52.55 kB / 0.5122 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1797, allocations: 264.7 kB / 0.5124 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1797, allocations: 24.69 kB / 0.5124 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.1797, allocations: 16 kB / 0.5125 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.1803, allocations: 334.2 kB / 0.5128 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1804, allocations: 11.92 kB / 0.5128 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.1804, allocations: 8 kB / 0.5128 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1804, allocations: 8 kB / 0.5128 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.1809, allocations: 213.5 kB / 0.513 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1825, allocations: 1.706 MB / 0.5147 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.1829, allocations: 118.5 kB / 0.5148 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.183, allocations: 52.83 kB / 0.5148 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2413/0.4243, allocations: 63.95 MB / 0.5773 GB, free: 41.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4244, allocations: 41.41 kB / 0.5773 GB, free: 41.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.4244, allocations: 0.9375 kB / 0.5773 GB, free: 41.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000814/0.4252, allocations: 255.1 kB / 0.5776 GB, free: 41.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.4253, allocations: 51.41 kB / 0.5776 GB, free: 41.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4255, allocations: 283.6 kB / 0.5779 GB, free: 40.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4255, allocations: 30.02 kB / 0.5779 GB, free: 40.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.4256, allocations: 180.5 kB / 0.5781 GB, free: 40.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.4256, allocations: 36.47 kB / 0.5781 GB, free: 40.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.4257, allocations: 39.77 kB / 0.5782 GB, free: 40.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.4257, allocations: 337.6 kB / 0.5785 GB, free: 40.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.4258, allocations: 48.89 kB / 0.5785 GB, free: 40.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.426, allocations: 124.6 kB / 0.5787 GB, free: 40.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.4262, allocations: 186.7 kB / 0.5788 GB, free: 39.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4262, allocations: 8.719 kB / 0.5788 GB, free: 39.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003314/0.4266, allocations: 216.1 kB / 0.579 GB, free: 39.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4266, allocations: 8 kB / 0.5791 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4266, allocations: 4 kB / 0.5791 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4266, allocations: 4 kB / 0.5791 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4268, allocations: 50.19 kB / 0.5791 GB, free: 39.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4268, allocations: 4 kB / 0.5791 GB, free: 39.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.427, allocations: 36.2 kB / 0.5791 GB, free: 39.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.427, allocations: 10.81 kB / 0.5792 GB, free: 39.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001395/0.4271, allocations: 144.6 kB / 0.5793 GB, free: 39.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001187/0.4273, allocations: 129.5 kB / 0.5794 GB, free: 39.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002209/0.4275, allocations: 193.6 kB / 0.5796 GB, free: 39.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.4275, allocations: 9.172 kB / 0.5796 GB, free: 39.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003141/0.4278, allocations: 211 kB / 0.5798 GB, free: 38.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.4278, allocations: 8.438 kB / 0.5798 GB, free: 38.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.4279, allocations: 11.09 kB / 0.5798 GB, free: 38.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.4279, allocations: 4 kB / 0.5798 GB, free: 38.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.428, allocations: 50.16 kB / 0.5799 GB, free: 38.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.428, allocations: 8.688 kB / 0.5799 GB, free: 38.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4281, allocations: 16.58 kB / 0.5799 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4282, allocations: 11.94 kB / 0.5799 GB, free: 38.88 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.351e-05/0.4282, allocations: 191.5 kB / 0.5801 GB, free: 38.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4283, allocations: 27.62 kB / 0.5801 GB, free: 38.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.4287, allocations: 292.2 kB / 0.5804 GB, free: 38.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4287, allocations: 7.547 kB / 0.5804 GB, free: 38.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4287, allocations: 4.484 kB / 0.5804 GB, free: 38.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4287, allocations: 0 / 0.5804 GB, free: 38.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.429, allocations: 340.4 kB / 0.5807 GB, free: 38.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.429, allocations: 1.938 kB / 0.5807 GB, free: 38.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.4291, allocations: 31.97 kB / 0.5808 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4291, allocations: 0 / 0.5808 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4292, allocations: 4 kB / 0.5808 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4292, allocations: 3.938 kB / 0.5808 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4292, allocations: 0 / 0.5808 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.4295, allocations: 278.5 kB / 0.581 GB, free: 37.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.4296, allocations: 100.8 kB / 0.5811 GB, free: 37.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.4296, allocations: 17.06 kB / 0.5812 GB, free: 37.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4298, allocations: 27.91 kB / 0.5812 GB, free: 37.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.4298, allocations: 4 kB / 0.5812 GB, free: 37.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4298, allocations: 0 / 0.5812 GB, free: 37.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.43, allocations: 311.1 kB / 0.5815 GB, free: 37.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4301, allocations: 0 / 0.5815 GB, free: 37.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002427/0.4325, allocations: 1.304 MB / 0.5828 GB, free: 36.07 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.004186/0.4367, allocations: 2.113 MB / 0.5848 GB, free: 34.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.4371, allocations: 200.2 kB / 0.585 GB, free: 33.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4371, allocations: 0 / 0.585 GB, free: 33.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.4372, allocations: 42.12 kB / 0.5851 GB, free: 33.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.4378, allocations: 136.7 kB / 0.5852 GB, free: 33.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.441, allocations: 3.417 MB / 0.5885 GB, free: 30.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4411, allocations: 0.7775 MB / 0.5893 GB, free: 29.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.4413, allocations: 124.2 kB / 0.5894 GB, free: 29.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.4414, allocations: 107.4 kB / 0.5895 GB, free: 29.21 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4414, allocations: 0 / 0.5895 GB, free: 29.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06943/0.5109, allocations: 52.01 MB / 0.6403 GB, free: 9.129 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.85/10.36, allocations: 11.92 kB / 0.6403 GB, free: 9.117 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)