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.001161/0.001161, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001266/0.001266, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.242/1.242, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2801/0.2801, 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.001576/0.001576, allocations: 73.05 kB / 390.2 MB, free: 48.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08643, allocations: 59.16 MB / 449.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.0312/0.1177, allocations: 27.64 MB / 477 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.1373, allocations: 16.36 MB / 493.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.1376, allocations: 7.938 kB / 493.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.1382, allocations: 119.1 kB / 493.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.1385, allocations: 151 kB / 493.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01846/0.157, allocations: 6.748 MB / 0.4886 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.1576, allocations: 442.5 kB / 0.4891 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.158, allocations: 140.8 kB / 0.4892 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.1624, allocations: 1.842 MB / 0.491 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01438/0.1768, allocations: 6.252 MB / 0.4971 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.1769, allocations: 20 kB / 0.4971 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01594/0.1929, allocations: 8.724 MB / 0.5056 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.193, allocations: 47.78 kB / 0.5057 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.1933, allocations: 139.3 kB / 0.5058 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.2055, allocations: 5.072 MB / 0.5108 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2056, allocations: 4 kB / 0.5108 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2056, allocations: 4 kB / 0.5108 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.2056, allocations: 0 / 0.5108 GB, free: 15.68 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.004064/0.2097, allocations: 1.135 MB / 0.5119 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2098, allocations: 11.89 kB / 0.5119 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.133e-05/0.2099, allocations: 58.72 kB / 0.5119 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.2102, allocations: 52.55 kB / 0.512 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.2105, allocations: 268.7 kB / 0.5123 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2105, allocations: 24.69 kB / 0.5123 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.2106, allocations: 24 kB / 0.5123 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/0.2113, allocations: 330.2 kB / 0.5126 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2113, allocations: 0 / 0.5126 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.2113, allocations: 15.94 kB / 0.5126 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2113, allocations: 7.938 kB / 0.5126 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.2119, allocations: 213.5 kB / 0.5128 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.214, allocations: 1.721 MB / 0.5145 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.2144, allocations: 122.4 kB / 0.5146 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2146, allocations: 48.77 kB / 0.5147 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2927/0.5073, allocations: 63.96 MB / 0.5771 GB, free: 41.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5073, allocations: 33.75 kB / 0.5772 GB, free: 41.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.915e-06/0.5073, allocations: 4 kB / 0.5772 GB, free: 41.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001048/0.5084, allocations: 252.7 kB / 0.5774 GB, free: 41.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.5084, allocations: 51.41 kB / 0.5775 GB, free: 41.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.5087, allocations: 285.4 kB / 0.5777 GB, free: 41.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5088, allocations: 32.39 kB / 0.5778 GB, free: 41.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.5089, allocations: 178.7 kB / 0.5779 GB, free: 41.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.5089, allocations: 31.23 kB / 0.578 GB, free: 41.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.509, allocations: 45.02 kB / 0.578 GB, free: 41.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.5091, allocations: 337.4 kB / 0.5783 GB, free: 40.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.5092, allocations: 49.77 kB / 0.5784 GB, free: 40.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.5094, allocations: 127.8 kB / 0.5785 GB, free: 40.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.5097, allocations: 184.7 kB / 0.5787 GB, free: 40.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5097, allocations: 4 kB / 0.5787 GB, free: 40.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004232/0.5101, allocations: 212.8 kB / 0.5789 GB, free: 40.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5101, allocations: 16.02 kB / 0.5789 GB, free: 40.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5102, allocations: 4 kB / 0.5789 GB, free: 40.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5102, allocations: 4 kB / 0.5789 GB, free: 40.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5104, allocations: 49.69 kB / 0.579 GB, free: 40.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.5104, allocations: 8.766 kB / 0.579 GB, free: 40.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.5106, allocations: 30.22 kB / 0.579 GB, free: 40.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.5106, allocations: 15.98 kB / 0.579 GB, free: 40.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001672/0.5108, allocations: 140.1 kB / 0.5791 GB, free: 40.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000135/0.5109, allocations: 133.9 kB / 0.5793 GB, free: 39.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002525/0.5112, allocations: 191.7 kB / 0.5795 GB, free: 39.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.5112, allocations: 4 kB / 0.5795 GB, free: 39.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003688/0.5116, allocations: 215.4 kB / 0.5797 GB, free: 39.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.5116, allocations: 8 kB / 0.5797 GB, free: 39.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5116, allocations: 4.438 kB / 0.5797 GB, free: 39.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.5116, allocations: 11.66 kB / 0.5797 GB, free: 39.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5118, allocations: 47.97 kB / 0.5797 GB, free: 39.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5118, allocations: 12.25 kB / 0.5797 GB, free: 39.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5119, allocations: 12.69 kB / 0.5798 GB, free: 39.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.512, allocations: 8 kB / 0.5798 GB, free: 39.36 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.561e-05/0.512, allocations: 194.1 kB / 0.58 GB, free: 39.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.5121, allocations: 27.62 kB / 0.58 GB, free: 39.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.5126, allocations: 296.2 kB / 0.5803 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5126, allocations: 3.938 kB / 0.5803 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5126, allocations: 8.688 kB / 0.5803 GB, free: 38.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5126, allocations: 0 / 0.5803 GB, free: 38.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.5129, allocations: 342.9 kB / 0.5806 GB, free: 38.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5129, allocations: 0 / 0.5806 GB, free: 38.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.5131, allocations: 27.98 kB / 0.5806 GB, free: 38.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5131, allocations: 5.234 kB / 0.5806 GB, free: 38.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5131, allocations: 0 / 0.5806 GB, free: 38.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5131, allocations: 3.938 kB / 0.5806 GB, free: 38.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5131, allocations: 0.6562 kB / 0.5806 GB, free: 38.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.5135, allocations: 276.5 kB / 0.5809 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.5136, allocations: 100.8 kB / 0.581 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.5137, allocations: 15.75 kB / 0.581 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5139, allocations: 23.92 kB / 0.581 GB, free: 37.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.5139, allocations: 7.984 kB / 0.581 GB, free: 37.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.5139, allocations: 5.562 kB / 0.581 GB, free: 37.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.5142, allocations: 311.1 kB / 0.5813 GB, free: 37.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5142, allocations: 0 / 0.5813 GB, free: 37.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002843/0.517, allocations: 1.3 MB / 0.5826 GB, free: 36.48 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.005936/0.523, allocations: 2.123 MB / 0.5847 GB, free: 34.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.5235, allocations: 201.5 kB / 0.5849 GB, free: 34.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5235, allocations: 0 / 0.5849 GB, free: 34.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5236, allocations: 43.06 kB / 0.5849 GB, free: 34.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.5244, allocations: 132 kB / 0.585 GB, free: 34.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.529, allocations: 3.414 MB / 0.5884 GB, free: 30.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.5292, allocations: 0.7775 MB / 0.5891 GB, free: 29.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.5294, allocations: 117.7 kB / 0.5892 GB, free: 29.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.5295, allocations: 111.4 kB / 0.5894 GB, free: 29.61 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5296, allocations: 0 / 0.5894 GB, free: 29.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/0.6585, allocations: 52.16 MB / 0.6403 GB, free: 9.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.6, allocations: 11.84 kB / 0.6403 GB, free: 9.328 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)