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.001281/0.001281, allocations: 93.06 kB / 16.3 MB, free: 6.457 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.00141/0.00141, allocations: 185.3 kB / 17.2 MB, free: 6.34 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.827/1.827, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3743/0.3743, allocations: 48.78 MB / 320.4 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.0008543/0.0008545, allocations: 16.81 kB / 391.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1043, allocations: 60.27 MB / 451.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02695/0.1313, allocations: 23.45 MB / 474.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0212/0.1525, allocations: 14.11 MB / 489.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.1529, allocations: 4 kB / 489.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.1534, allocations: 91.45 kB / 489.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1537, allocations: 155.5 kB / 489.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.1709, allocations: 5.205 MB / 494.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.1715, allocations: 288 kB / 494.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1718, allocations: 116.8 kB / 494.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/0.1768, allocations: 2.94 MB / 497.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.018/0.1949, allocations: 10.8 MB / 0.4967 GB, free: 244 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/0.195, allocations: 11.94 kB / 0.4967 GB, free: 232 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01736/0.2124, allocations: 8.795 MB / 0.5053 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2126, allocations: 35.84 kB / 0.5054 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.2127, allocations: 77.58 kB / 0.5054 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.2218, allocations: 3.38 MB / 0.5087 GB, free: 3.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2219, allocations: 0 / 0.5087 GB, free: 3.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.257e-06/0.2219, allocations: 0 / 0.5087 GB, free: 3.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2219, allocations: 0 / 0.5087 GB, free: 3.918 MB / 398.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.003989/0.2259, allocations: 1.092 MB / 0.5098 GB, free: 2.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2259, allocations: 8.031 kB / 0.5098 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.398e-05/0.226, allocations: 54.55 kB / 0.5099 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.2263, allocations: 63.48 kB / 0.5099 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.2267, allocations: 263.5 kB / 0.5102 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.2267, allocations: 16.56 kB / 0.5102 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.2268, allocations: 24 kB / 0.5102 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.2275, allocations: 334.2 kB / 0.5105 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2275, allocations: 4 kB / 0.5105 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.2276, allocations: 8 kB / 0.5105 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.2276, allocations: 11.94 kB / 0.5105 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.2282, allocations: 221.4 kB / 0.5108 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.2301, allocations: 1.71 MB / 0.5124 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.2306, allocations: 122.4 kB / 0.5125 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3646/0.5952, allocations: 64.6 MB / 0.5756 GB, free: 45.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.5953, allocations: 35.77 kB / 0.5757 GB, free: 45.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.657e-06/0.5953, allocations: 0 / 0.5757 GB, free: 45.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00144/0.5968, allocations: 275.6 kB / 0.5759 GB, free: 45.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5968, allocations: 51.41 kB / 0.576 GB, free: 45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.5974, allocations: 279.8 kB / 0.5762 GB, free: 44.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.5974, allocations: 27.27 kB / 0.5763 GB, free: 44.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5976, allocations: 177.3 kB / 0.5764 GB, free: 44.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.5976, allocations: 38.91 kB / 0.5765 GB, free: 44.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.5977, allocations: 2.5 kB / 0.5765 GB, free: 44.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5978, allocations: 337.7 kB / 0.5768 GB, free: 44.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.598, allocations: 50.34 kB / 0.5768 GB, free: 44.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.5983, allocations: 133.2 kB / 0.577 GB, free: 44.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.5986, allocations: 63.23 kB / 0.577 GB, free: 44.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5986, allocations: 2.625 kB / 0.577 GB, free: 44.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007177/0.5993, allocations: 231.2 kB / 0.5773 GB, free: 43.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003416/0.5997, allocations: 1.136 MB / 0.5784 GB, free: 42.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5997, allocations: 3.938 kB / 0.5784 GB, free: 42.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.5997, allocations: 4 kB / 0.5784 GB, free: 42.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.6001, allocations: 50.16 kB / 0.5784 GB, free: 42.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.6001, allocations: 9.906 kB / 0.5784 GB, free: 42.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.6004, allocations: 45.69 kB / 0.5785 GB, free: 42.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.6005, allocations: 9.75 kB / 0.5785 GB, free: 42.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6005, allocations: 4 kB / 0.5785 GB, free: 42.54 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005278/0.601, allocations: 162.3 kB / 0.5786 GB, free: 42.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6011, allocations: 4.688 kB / 0.5786 GB, free: 42.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.6011, allocations: 4 kB / 0.5786 GB, free: 42.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.6013, allocations: 49.91 kB / 0.5787 GB, free: 42.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6013, allocations: 7.938 kB / 0.5787 GB, free: 42.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.6016, allocations: 43.45 kB / 0.5787 GB, free: 42.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.6017, allocations: 8.875 kB / 0.5788 GB, free: 42.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.6019, allocations: 210.8 kB / 0.579 GB, free: 42.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.6019, allocations: 28.33 kB / 0.579 GB, free: 42.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.6027, allocations: 304.9 kB / 0.5793 GB, free: 41.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.6027, allocations: 4 kB / 0.5793 GB, free: 41.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6027, allocations: 3.844 kB / 0.5793 GB, free: 41.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6027, allocations: 3.938 kB / 0.5793 GB, free: 41.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.6032, allocations: 346.9 kB / 0.5796 GB, free: 41.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6033, allocations: 1.625 kB / 0.5796 GB, free: 41.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.6035, allocations: 27.98 kB / 0.5796 GB, free: 41.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.6035, allocations: 3.953 kB / 0.5796 GB, free: 41.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6035, allocations: 0 / 0.5796 GB, free: 41.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6035, allocations: 0 / 0.5796 GB, free: 41.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6035, allocations: 4 kB / 0.5796 GB, free: 41.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.6041, allocations: 299.2 kB / 0.5799 GB, free: 41.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.6043, allocations: 136.6 kB / 0.5801 GB, free: 41.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.6044, allocations: 7.953 kB / 0.5801 GB, free: 41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.6046, allocations: 31.88 kB / 0.5801 GB, free: 40.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.6047, allocations: 7.984 kB / 0.5801 GB, free: 40.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.6047, allocations: 0 / 0.5801 GB, free: 40.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.605, allocations: 311.2 kB / 0.5804 GB, free: 40.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.605, allocations: 0 / 0.5804 GB, free: 40.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004215/0.6093, allocations: 1.298 MB / 0.5817 GB, free: 39.46 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 (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.007891/0.6172, allocations: 2.138 MB / 0.5838 GB, free: 37.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.6179, allocations: 212 kB / 0.584 GB, free: 37.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6179, allocations: 0 / 0.584 GB, free: 37.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.618, allocations: 44.92 kB / 0.584 GB, free: 37.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008371/0.6189, allocations: 134.1 kB / 0.5841 GB, free: 37.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.6237, allocations: 3.849 MB / 0.5879 GB, free: 33.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.6239, allocations: 0.7811 MB / 0.5887 GB, free: 32.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000307/0.6242, allocations: 126.4 kB / 0.5888 GB, free: 32.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.6244, allocations: 111.4 kB / 0.5889 GB, free: 32.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6244, allocations: 0 / 0.5889 GB, free: 32.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/0.7043, allocations: 52.64 MB / 0.6403 GB, free: 11.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.7045, allocations: 192 kB / 0.6405 GB, free: 11.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.344, allocations: 64 / 0.6405 GB, free: 11.18 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/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: