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.001767/0.001767, allocations: 115.2 kB / 17.11 MB, free: 5.75 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.00196/0.00196, allocations: 199.8 kB / 18.06 MB, free: 4.848 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.52/1.52, allocations: 207.6 MB / 226.4 MB, free: 11.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2995/0.2995, allocations: 49.53 MB / 325.8 MB, free: 7.445 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.002138/0.002138, allocations: 75.88 kB / 462.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1348, allocations: 62.33 MB / 0.5121 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.2752/0.41, allocations: 27.81 MB / 0.5393 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01845/0.4285, allocations: 16.41 MB / 0.5553 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.4289, allocations: 7.625 kB / 0.5553 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.4295, allocations: 119.7 kB / 0.5554 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.4299, allocations: 151.6 kB / 0.5556 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02368/0.4536, allocations: 6.764 MB / 0.5622 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.4544, allocations: 444.1 kB / 0.5626 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.4547, allocations: 117.6 kB / 0.5627 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.4591, allocations: 1.844 MB / 0.5645 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0145/0.4736, allocations: 6.272 MB / 0.5706 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.4737, allocations: 18.56 kB / 0.5707 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.4923, allocations: 8.939 MB / 0.5794 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4924, allocations: 47.5 kB / 0.5794 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.4927, allocations: 148.6 kB / 0.5796 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.5075, allocations: 5.09 MB / 0.5845 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5075, allocations: 0 / 0.5845 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5075, allocations: 6.688 kB / 0.5845 GB, free: 14.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.5075, allocations: 0 / 0.5845 GB, free: 14.52 MB / 446.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.00443/0.512, allocations: 1.16 MB / 0.5857 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.512, allocations: 13.23 kB / 0.5857 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.48e-05/0.5121, allocations: 62.69 kB / 0.5858 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.5124, allocations: 46.58 kB / 0.5858 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.5129, allocations: 278.4 kB / 0.5861 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5129, allocations: 19.84 kB / 0.5861 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.513, allocations: 25.78 kB / 0.5861 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.5137, allocations: 330.7 kB / 0.5864 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.5137, allocations: 2.625 kB / 0.5864 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.5138, allocations: 9.906 kB / 0.5864 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5138, allocations: 5.375 kB / 0.5864 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.5143, allocations: 213.5 kB / 0.5866 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.5165, allocations: 1.711 MB / 0.5883 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.5169, allocations: 109.4 kB / 0.5884 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.517, allocations: 48.55 kB / 0.5885 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1389/0.6559, allocations: 64.26 MB / 0.6512 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.6559, allocations: 30.56 kB / 0.6512 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.835e-06/0.6559, allocations: 3.938 kB / 0.6512 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001194/0.6571, allocations: 257.2 kB / 0.6515 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.6572, allocations: 63.39 kB / 0.6516 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.6576, allocations: 284.5 kB / 0.6518 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.6576, allocations: 25.7 kB / 0.6518 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.6578, allocations: 187.6 kB / 0.652 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.6578, allocations: 27.75 kB / 0.6521 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/0.6579, allocations: 41.66 kB / 0.6521 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6581, allocations: 338.8 kB / 0.6524 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.6582, allocations: 52.83 kB / 0.6525 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.6584, allocations: 131.1 kB / 0.6526 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.6588, allocations: 190.9 kB / 0.6528 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6588, allocations: 2.25 kB / 0.6528 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004632/0.6593, allocations: 221.2 kB / 0.653 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6593, allocations: 8 kB / 0.653 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6593, allocations: 0 / 0.653 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.6593, allocations: 4 kB / 0.653 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.6595, allocations: 48.28 kB / 0.653 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.6595, allocations: 8 kB / 0.6531 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.6597, allocations: 31.78 kB / 0.6531 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.6598, allocations: 11.98 kB / 0.6531 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002222/0.66, allocations: 140 kB / 0.6532 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001992/0.6602, allocations: 136.8 kB / 0.6534 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003258/0.6605, allocations: 192.7 kB / 0.6535 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.6605, allocations: 0 / 0.6535 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004238/0.6609, allocations: 225.3 kB / 0.6538 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.661, allocations: 11.94 kB / 0.6538 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.661, allocations: 3.984 kB / 0.6538 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.661, allocations: 8.812 kB / 0.6538 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.6611, allocations: 43.91 kB / 0.6538 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6611, allocations: 4 kB / 0.6538 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.6613, allocations: 28.23 kB / 0.6539 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.6613, allocations: 15.98 kB / 0.6539 GB, free: 0.7305 MB / 0.4981 GB 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 0.0001265/0.6614, allocations: 192.1 kB / 0.654 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.6615, allocations: 23.86 kB / 0.6541 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.662, allocations: 288.7 kB / 0.6543 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6621, allocations: 8 kB / 0.6544 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6621, allocations: 0 / 0.6544 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6621, allocations: 0 / 0.6544 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.6625, allocations: 345.2 kB / 0.6547 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6625, allocations: 0 / 0.6547 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6627, allocations: 27.91 kB / 0.6547 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6627, allocations: 4 kB / 0.6547 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6627, allocations: 0 / 0.6547 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6627, allocations: 0 / 0.6547 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6627, allocations: 2.062 kB / 0.6547 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.6632, allocations: 283.1 kB / 0.655 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.6633, allocations: 101 kB / 0.6551 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.6634, allocations: 15.89 kB / 0.6551 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6636, allocations: 19.94 kB / 0.6551 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.6636, allocations: 12.05 kB / 0.6551 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6636, allocations: 4 kB / 0.6551 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003747/0.664, allocations: 307.1 kB / 0.6554 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.664, allocations: 0 / 0.6554 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004432/0.6684, allocations: 1.318 MB / 0.6567 GB, free: 13.71 MB / 0.5137 GB 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.006861/0.6753, allocations: 2.129 MB / 0.6588 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005988/0.6759, allocations: 197.5 kB / 0.659 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6759, allocations: 3.938 kB / 0.659 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.676, allocations: 44.17 kB / 0.659 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.6768, allocations: 125.8 kB / 0.6591 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/0.6822, allocations: 3.384 MB / 0.6625 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.6826, allocations: 0.7794 MB / 0.6632 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.6828, allocations: 122.8 kB / 0.6633 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.683, allocations: 107.4 kB / 0.6634 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.683, allocations: 0 / 0.6634 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.7835, allocations: 52.17 MB / 0.7144 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.43, allocations: 8.312 kB / 0.7144 GB, free: 2.324 MB / 0.5606 GB (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)