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.001156/0.001156, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001172/0.001172, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.179/1.179, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2426/0.2426, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001334/0.001335, allocations: 64.86 kB / 389.6 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07462/0.07596, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02402/0.1, allocations: 27.81 MB / 476.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.1164, allocations: 16.52 MB / 493.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.1167, allocations: 7.938 kB / 493.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1172, allocations: 95.41 kB / 493.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1174, allocations: 143 kB / 493.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.1319, allocations: 5.935 MB / 499.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.1325, allocations: 442.5 kB / 499.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.1327, allocations: 136.8 kB / 499.9 MB, free: 6.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.1358, allocations: 1.839 MB / 0.49 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009944/0.1458, allocations: 6.256 MB / 0.4961 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.1458, allocations: 20 kB / 0.4961 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.1583, allocations: 8.821 MB / 0.5047 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1584, allocations: 51.78 kB / 0.5047 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1586, allocations: 135.3 kB / 0.5049 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008464/0.1671, allocations: 5.123 MB / 0.5099 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1671, allocations: 0 / 0.5099 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1671, allocations: 0 / 0.5099 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1671, allocations: 0 / 0.5099 GB, free: 456 kB / 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.002412/0.1695, allocations: 1.131 MB / 0.511 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1696, allocations: 11.89 kB / 0.511 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.1696, allocations: 58.73 kB / 0.5111 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.1699, allocations: 56.53 kB / 0.5111 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1701, allocations: 264.8 kB / 0.5114 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1702, allocations: 16.69 kB / 0.5114 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.1702, allocations: 24 kB / 0.5114 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.1708, allocations: 338.1 kB / 0.5117 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1708, allocations: 0 / 0.5117 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1709, allocations: 15.98 kB / 0.5117 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1709, allocations: 7.938 kB / 0.5117 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.1714, allocations: 213.5 kB / 0.5119 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1729, allocations: 1.714 MB / 0.5136 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.1733, allocations: 114.5 kB / 0.5137 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1734, allocations: 48.83 kB / 0.5138 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2431/0.4165, allocations: 63.96 MB / 0.5762 GB, free: 43.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4166, allocations: 38.56 kB / 0.5763 GB, free: 43.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.866e-06/0.4166, allocations: 0 / 0.5763 GB, free: 43.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008123/0.4174, allocations: 254.5 kB / 0.5765 GB, free: 42.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.4174, allocations: 51.41 kB / 0.5766 GB, free: 42.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.4177, allocations: 286.9 kB / 0.5768 GB, free: 42.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.4177, allocations: 25.7 kB / 0.5769 GB, free: 42.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.4177, allocations: 185.5 kB / 0.577 GB, free: 42.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4178, allocations: 40.11 kB / 0.5771 GB, free: 42.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.4178, allocations: 37.7 kB / 0.5771 GB, free: 42.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.4179, allocations: 338 kB / 0.5774 GB, free: 41.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.418, allocations: 48.83 kB / 0.5775 GB, free: 41.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4181, allocations: 133.7 kB / 0.5776 GB, free: 41.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.4184, allocations: 187.2 kB / 0.5778 GB, free: 41.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4184, allocations: 0 / 0.5778 GB, free: 41.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003365/0.4187, allocations: 218.1 kB / 0.578 GB, free: 41.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4188, allocations: 4 kB / 0.578 GB, free: 41.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4188, allocations: 4 kB / 0.578 GB, free: 41.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4188, allocations: 4.516 kB / 0.578 GB, free: 41.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.419, allocations: 51.38 kB / 0.5781 GB, free: 41.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.419, allocations: 13.03 kB / 0.5781 GB, free: 41.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.4192, allocations: 33.8 kB / 0.5781 GB, free: 41.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4192, allocations: 11.98 kB / 0.5781 GB, free: 41.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001439/0.4194, allocations: 144.2 kB / 0.5783 GB, free: 40.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001161/0.4195, allocations: 128.9 kB / 0.5784 GB, free: 40.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002213/0.4197, allocations: 195.1 kB / 0.5786 GB, free: 40.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.4197, allocations: 0 / 0.5786 GB, free: 40.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003299/0.42, allocations: 222 kB / 0.5788 GB, free: 40.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.4201, allocations: 12.06 kB / 0.5788 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.4201, allocations: 0 / 0.5788 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.4201, allocations: 8 kB / 0.5788 GB, free: 40.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4202, allocations: 46.19 kB / 0.5788 GB, free: 40.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4202, allocations: 11.12 kB / 0.5788 GB, free: 40.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4204, allocations: 19.78 kB / 0.5789 GB, free: 40.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4204, allocations: 15.28 kB / 0.5789 GB, free: 40.27 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 5.749e-05/0.4205, allocations: 195.7 kB / 0.5791 GB, free: 40.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.4205, allocations: 31.62 kB / 0.5791 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.4209, allocations: 283.8 kB / 0.5794 GB, free: 39.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4209, allocations: 5.688 kB / 0.5794 GB, free: 39.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4209, allocations: 0 / 0.5794 GB, free: 39.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4209, allocations: 3.984 kB / 0.5794 GB, free: 39.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.4212, allocations: 340.8 kB / 0.5797 GB, free: 39.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4212, allocations: 0 / 0.5797 GB, free: 39.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4213, allocations: 27.97 kB / 0.5797 GB, free: 39.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4214, allocations: 0 / 0.5797 GB, free: 39.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4214, allocations: 4 kB / 0.5797 GB, free: 39.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4214, allocations: 7.938 kB / 0.5797 GB, free: 39.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4214, allocations: 3.844 kB / 0.5797 GB, free: 39.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.4217, allocations: 269.9 kB / 0.58 GB, free: 39.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.4218, allocations: 96.84 kB / 0.5801 GB, free: 38.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.4218, allocations: 19.75 kB / 0.5801 GB, free: 38.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.422, allocations: 32.66 kB / 0.5801 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.4221, allocations: 4 kB / 0.5801 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4221, allocations: 4 kB / 0.5802 GB, free: 38.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.4223, allocations: 312.9 kB / 0.5805 GB, free: 38.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4223, allocations: 0 / 0.5805 GB, free: 38.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00248/0.4248, allocations: 1.303 MB / 0.5817 GB, free: 37.38 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.004455/0.4292, allocations: 2.119 MB / 0.5838 GB, free: 35.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.4297, allocations: 204.4 kB / 0.584 GB, free: 35.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4297, allocations: 0 / 0.584 GB, free: 35.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.61e-05/0.4298, allocations: 47.47 kB / 0.584 GB, free: 35.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.4305, allocations: 131.6 kB / 0.5842 GB, free: 35.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.4337, allocations: 3.495 MB / 0.5876 GB, free: 31.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.4338, allocations: 0.7814 MB / 0.5883 GB, free: 30.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.4341, allocations: 125.3 kB / 0.5885 GB, free: 30.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.4342, allocations: 107.4 kB / 0.5886 GB, free: 30.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4342, allocations: 0 / 0.5886 GB, free: 30.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/0.4978, allocations: 52 MB / 0.6393 GB, free: 10.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.4981, allocations: 225 kB / 0.6396 GB, free: 10.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.533/5.031, allocations: 0 / 0.6396 GB, free: 10.11 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)