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: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 108.9 kB / 17.74 MB, free: 5.188 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.001026/0.001026, allocations: 188.3 kB / 18.67 MB, free: 4.266 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.455/1.455, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3014/0.3014, allocations: 48.85 MB / 320.7 MB, free: 11 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.001698/0.001698, allocations: 67.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1387, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03325/0.172, allocations: 27.64 MB / 0.5254 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3041/0.4762, allocations: 16.35 MB / 0.5414 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.4767, allocations: 3.281 kB / 0.5414 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.4775, allocations: 116.8 kB / 0.5415 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.478, allocations: 149.7 kB / 0.5416 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02928/0.5073, allocations: 6.768 MB / 0.5482 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009444/0.5083, allocations: 439.4 kB / 0.5486 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.5087, allocations: 143.1 kB / 0.5488 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.5138, allocations: 1.846 MB / 0.5506 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01645/0.5303, allocations: 6.25 MB / 0.5567 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.5304, allocations: 18.97 kB / 0.5567 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02406/0.5545, allocations: 8.926 MB / 0.5654 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.5547, allocations: 46.38 kB / 0.5655 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.555, allocations: 140.3 kB / 0.5656 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.5736, allocations: 5.076 MB / 0.5706 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.5736, allocations: 1.906 kB / 0.5706 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5736, allocations: 7.938 kB / 0.5706 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.5737, allocations: 0 / 0.5706 GB, free: 11.61 MB / 430.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.005095/0.5788, allocations: 1.132 MB / 0.5717 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5788, allocations: 11.7 kB / 0.5717 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.5792, allocations: 49.47 kB / 0.5717 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.5798, allocations: 264.1 kB / 0.572 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.5798, allocations: 23.75 kB / 0.572 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.5799, allocations: 29.42 kB / 0.572 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.5807, allocations: 326.4 kB / 0.5723 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.5807, allocations: 6.812 kB / 0.5723 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.5807, allocations: 9.5 kB / 0.5724 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5807, allocations: 14.98 kB / 0.5724 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.5814, allocations: 207.1 kB / 0.5726 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.5835, allocations: 1.712 MB / 0.5742 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.5839, allocations: 115.4 kB / 0.5743 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.584, allocations: 43.48 kB / 0.5744 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1381/0.7221, allocations: 64.24 MB / 0.6371 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.7222, allocations: 42.69 kB / 0.6372 GB, free: 3.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.915e-06/0.7222, allocations: 0 / 0.6372 GB, free: 3.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001155/0.7234, allocations: 253.1 kB / 0.6374 GB, free: 2.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.7235, allocations: 55.41 kB / 0.6375 GB, free: 2.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.7239, allocations: 292.4 kB / 0.6377 GB, free: 2.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.7239, allocations: 25.7 kB / 0.6378 GB, free: 2.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.7241, allocations: 183.4 kB / 0.6379 GB, free: 2.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.7241, allocations: 34.44 kB / 0.638 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.7242, allocations: 41.66 kB / 0.638 GB, free: 2.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7244, allocations: 342.8 kB / 0.6383 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.7245, allocations: 52.83 kB / 0.6384 GB, free: 1.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.7247, allocations: 115.1 kB / 0.6385 GB, free: 1.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.7251, allocations: 190.9 kB / 0.6387 GB, free: 1.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.7251, allocations: 0.875 kB / 0.6387 GB, free: 1.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000493/0.7256, allocations: 217 kB / 0.6389 GB, free: 1.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7256, allocations: 7.906 kB / 0.6389 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7256, allocations: 4 kB / 0.6389 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.7256, allocations: 4 kB / 0.6389 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.7259, allocations: 48.34 kB / 0.639 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.7259, allocations: 16 kB / 0.639 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.7262, allocations: 39.52 kB / 0.639 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.7262, allocations: 12.62 kB / 0.639 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002139/0.7264, allocations: 140.9 kB / 0.6392 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000193/0.7266, allocations: 136.8 kB / 0.6393 GB, free: 0.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000345/0.727, allocations: 204.2 kB / 0.6395 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.727, allocations: 0 / 0.6395 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004332/0.7274, allocations: 213.2 kB / 0.6397 GB, free: 300 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.7275, allocations: 4 kB / 0.6397 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7275, allocations: 4 kB / 0.6397 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/0.7275, allocations: 4 kB / 0.6397 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.7276, allocations: 51.91 kB / 0.6397 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.7277, allocations: 4 kB / 0.6397 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.7279, allocations: 20.2 kB / 0.6398 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.7279, allocations: 12 kB / 0.6398 GB, free: 200 kB / 494.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 0.0001633/0.7281, allocations: 202.5 kB / 0.64 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.7281, allocations: 23.72 kB / 0.64 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.7287, allocations: 283.1 kB / 0.6403 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7287, allocations: 0 / 0.6403 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.7287, allocations: 8.094 kB / 0.6403 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7288, allocations: 3.938 kB / 0.6403 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.7293, allocations: 335.7 kB / 0.6406 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7293, allocations: 3.984 kB / 0.6406 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.7294, allocations: 27.98 kB / 0.6406 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7294, allocations: 0 / 0.6406 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.7294, allocations: 0 / 0.6406 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7295, allocations: 4 kB / 0.6406 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7295, allocations: 0 / 0.6406 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.73, allocations: 278.9 kB / 0.6409 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7301, allocations: 112.7 kB / 0.641 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.7302, allocations: 11.84 kB / 0.641 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7304, allocations: 19.97 kB / 0.641 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.7304, allocations: 7.891 kB / 0.641 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.7304, allocations: 8.938 kB / 0.641 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003532/0.7308, allocations: 315.1 kB / 0.6413 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7308, allocations: 0 / 0.6413 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005675/0.7365, allocations: 1.304 MB / 0.6426 GB, free: 13.2 MB / 0.4981 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.00973/0.7462, allocations: 1.407 MB / 0.644 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.747, allocations: 197 kB / 0.6442 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.747, allocations: 0 / 0.6442 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.7472, allocations: 35.98 kB / 0.6442 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/0.7482, allocations: 133.9 kB / 0.6443 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.7494, allocations: 0.5942 MB / 0.6449 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.7499, allocations: 0.7678 MB / 0.6457 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.75, allocations: 31.42 kB / 0.6457 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.75, allocations: 0 / 0.6457 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.04615/0.7962, allocations: 25.37 MB / 0.6705 GB, free: 0.707 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)