Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 75.2 kB / 21.28 MB, free: 384 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 164.4 kB / 24.53 MB, free: 3.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 177.2 MB / 204.9 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1405/0.1405, allocations: 19.71 MB / 281 MB, free: 13.04 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.89 kB / 417.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2562, allocations: 60.44 MB / 478.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03107/0.2873, allocations: 25.4 MB / 0.4917 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.3072, allocations: 14.41 MB / 0.5057 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.3074, allocations: 7.938 kB / 0.5057 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.3079, allocations: 107.2 kB / 0.5058 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.3082, allocations: 143 kB / 0.506 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01733/0.3255, allocations: 6.756 MB / 0.5126 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.3262, allocations: 450.3 kB / 0.513 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.3264, allocations: 120.9 kB / 0.5131 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.3312, allocations: 1.924 MB / 0.515 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.3466, allocations: 6.201 MB / 0.5211 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/0.3467, allocations: 20 kB / 0.5211 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/0.3626, allocations: 8.568 MB / 0.5294 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.3627, allocations: 47.78 kB / 0.5295 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3629, allocations: 123.5 kB / 0.5296 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.374, allocations: 5.098 MB / 0.5346 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.374, allocations: 0 / 0.5346 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.374, allocations: 0 / 0.5346 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.374, allocations: 0 / 0.5346 GB, free: 12.71 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.003088/0.3771, allocations: 1.09 MB / 0.5356 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3771, allocations: 8.031 kB / 0.5357 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.3774, allocations: 52.72 kB / 0.5357 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.3778, allocations: 211 kB / 0.5359 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3779, allocations: 16.88 kB / 0.5359 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.3779, allocations: 27.94 kB / 0.5359 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.3787, allocations: 359.2 kB / 0.5363 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3787, allocations: 0 / 0.5363 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.3787, allocations: 12 kB / 0.5363 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.3787, allocations: 4 kB / 0.5363 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.3793, allocations: 217.7 kB / 0.5365 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3812, allocations: 1.421 MB / 0.5379 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.3816, allocations: 114.5 kB / 0.538 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3817, allocations: 40.83 kB / 0.538 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1215/0.5032, allocations: 35.1 MB / 0.5723 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.5032, allocations: 38.55 kB / 0.5724 GB, free: 5.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.5032, allocations: 3.938 kB / 0.5724 GB, free: 5.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009643/0.5042, allocations: 241.4 kB / 0.5726 GB, free: 5.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5043, allocations: 55.41 kB / 0.5726 GB, free: 5.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5045, allocations: 217.7 kB / 0.5729 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.5045, allocations: 25.7 kB / 0.5729 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.5047, allocations: 196 kB / 0.5731 GB, free: 5.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.5047, allocations: 43.73 kB / 0.5731 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.5048, allocations: 42.03 kB / 0.5732 GB, free: 4.922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.505, allocations: 330.8 kB / 0.5735 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5051, allocations: 48.83 kB / 0.5735 GB, free: 4.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5053, allocations: 131.1 kB / 0.5736 GB, free: 4.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.5057, allocations: 190.9 kB / 0.5738 GB, free: 4.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5057, allocations: 0 / 0.5738 GB, free: 4.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004659/0.5061, allocations: 213.2 kB / 0.574 GB, free: 3.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5062, allocations: 4 kB / 0.574 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5062, allocations: 7.984 kB / 0.574 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5062, allocations: 4 kB / 0.574 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.5064, allocations: 52.28 kB / 0.5741 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5064, allocations: 4 kB / 0.5741 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.5066, allocations: 19.89 kB / 0.5741 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.5066, allocations: 8 kB / 0.5741 GB, free: 3.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002133/0.5068, allocations: 148.1 kB / 0.5743 GB, free: 3.684 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001878/0.507, allocations: 131.5 kB / 0.5744 GB, free: 3.512 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003328/0.5073, allocations: 200.6 kB / 0.5746 GB, free: 3.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.5073, allocations: 3.938 kB / 0.5746 GB, free: 3.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004183/0.5077, allocations: 209.5 kB / 0.5748 GB, free: 3.055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5077, allocations: 12.08 kB / 0.5748 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5078, allocations: 4 kB / 0.5748 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/0.5078, allocations: 4 kB / 0.5748 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.5079, allocations: 47.92 kB / 0.5748 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.5079, allocations: 8.047 kB / 0.5749 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.5081, allocations: 19.89 kB / 0.5749 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.5081, allocations: 16 kB / 0.5749 GB, free: 2.945 MB / 478.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.0001299/0.5082, allocations: 196.1 kB / 0.5751 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.5083, allocations: 15.91 kB / 0.5751 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.5088, allocations: 302.7 kB / 0.5754 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.5088, allocations: 4 kB / 0.5754 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5088, allocations: 0 / 0.5754 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5088, allocations: 0 / 0.5754 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.5092, allocations: 257 kB / 0.5756 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5092, allocations: 0 / 0.5756 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.5093, allocations: 27.98 kB / 0.5757 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5093, allocations: 0 / 0.5757 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.5093, allocations: 4 kB / 0.5757 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5093, allocations: 0 / 0.5757 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5094, allocations: 7.922 kB / 0.5757 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.5099, allocations: 275.2 kB / 0.5759 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.5099, allocations: 19.88 kB / 0.5759 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.5099, allocations: 15.83 kB / 0.576 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.5101, allocations: 31.98 kB / 0.576 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.5102, allocations: 7.984 kB / 0.576 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.5102, allocations: 4 kB / 0.576 GB, free: 1.742 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.5105, allocations: 259 kB / 0.5762 GB, free: 1.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5105, allocations: 0 / 0.5762 GB, free: 1.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003334/0.5138, allocations: 1.325 MB / 0.5775 GB, free: 164 kB / 478.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.004999/0.5188, allocations: 1.429 MB / 0.5789 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.5194, allocations: 196.3 kB / 0.5791 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5194, allocations: 0 / 0.5791 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5195, allocations: 39.92 kB / 0.5792 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.52, allocations: 74.53 kB / 0.5792 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5211, allocations: 0.6104 MB / 0.5798 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5212, allocations: 160.8 kB / 0.58 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.5213, allocations: 24.5 kB / 0.58 GB, free: 13.57 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.5213, allocations: 0 / 0.58 GB, free: 13.57 MB / 494.1 MB Notification: Performance of Templates: time 0.03882/0.5601, allocations: 25.16 MB / 0.6046 GB, free: 4.387 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.513513685204089] Failed to read output from testmodel.py, exit status != 0: 0.5689983649645001 0.583761151 0.206426469 Calling exit ...