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.001737/0.001737, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.002117/0.002117, allocations: 210 kB / 24.48 MB, free: 3.938 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.15/0.15, allocations: 26.84 MB / 341.5 MB, free: 7.941 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.002089/0.002089, allocations: 63.91 kB / 478 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2993, allocations: 60.49 MB / 0.5259 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.0297/0.329, allocations: 25.47 MB / 0.5508 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0207/0.3497, allocations: 14.42 MB / 0.5648 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.35, allocations: 7.938 kB / 0.5648 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.3505, allocations: 107.2 kB / 0.5649 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.3509, allocations: 146.9 kB / 0.5651 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0196/0.3705, allocations: 6.747 MB / 0.5717 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006824/0.3711, allocations: 446.4 kB / 0.5721 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.3714, allocations: 124.9 kB / 0.5722 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.3753, allocations: 1.839 MB / 0.574 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.3883, allocations: 6.189 MB / 0.5801 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.549e-05/0.3884, allocations: 16 kB / 0.5801 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.4055, allocations: 8.56 MB / 0.5884 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.4056, allocations: 51.78 kB / 0.5885 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.4058, allocations: 123.5 kB / 0.5886 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4175, allocations: 5.106 MB / 0.5936 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4175, allocations: 0 / 0.5936 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4175, allocations: 0 / 0.5936 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4175, allocations: 7.875 kB / 0.5936 GB, free: 15.17 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.002936/0.4204, allocations: 1.086 MB / 0.5947 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4204, allocations: 8.031 kB / 0.5947 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.4207, allocations: 52.73 kB / 0.5947 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.4211, allocations: 210.9 kB / 0.5949 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4211, allocations: 20.81 kB / 0.5949 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.4212, allocations: 27.94 kB / 0.595 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.4219, allocations: 359.1 kB / 0.5953 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4219, allocations: 0 / 0.5953 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.422, allocations: 15.98 kB / 0.5953 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.422, allocations: 8 kB / 0.5953 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.4226, allocations: 209.5 kB / 0.5955 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.4244, allocations: 1.42 MB / 0.5969 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.4248, allocations: 106.5 kB / 0.597 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4249, allocations: 41.02 kB / 0.5971 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1308/0.5558, allocations: 35.11 MB / 0.6313 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5558, allocations: 30.56 kB / 0.6314 GB, free: 8.238 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.5558, allocations: 0 / 0.6314 GB, free: 8.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001079/0.5569, allocations: 241.4 kB / 0.6316 GB, free: 7.996 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.5569, allocations: 55.41 kB / 0.6317 GB, free: 7.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.5572, allocations: 216.9 kB / 0.6319 GB, free: 7.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.5572, allocations: 29.7 kB / 0.6319 GB, free: 7.676 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5574, allocations: 208 kB / 0.6321 GB, free: 7.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.5574, allocations: 31.73 kB / 0.6321 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.5575, allocations: 41.66 kB / 0.6322 GB, free: 7.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5577, allocations: 334.8 kB / 0.6325 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.5578, allocations: 52.83 kB / 0.6325 GB, free: 7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.5581, allocations: 127.1 kB / 0.6326 GB, free: 6.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.5585, allocations: 186.9 kB / 0.6328 GB, free: 6.613 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5585, allocations: 0 / 0.6328 GB, free: 6.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004883/0.559, allocations: 213.6 kB / 0.633 GB, free: 6.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.559, allocations: 10.97 kB / 0.633 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.559, allocations: 0 / 0.633 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.559, allocations: 4.375 kB / 0.633 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.5592, allocations: 59.84 kB / 0.6331 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5592, allocations: 4 kB / 0.6331 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.5594, allocations: 23.88 kB / 0.6331 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.5594, allocations: 12 kB / 0.6331 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002259/0.5596, allocations: 140.1 kB / 0.6333 GB, free: 6.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002417/0.5599, allocations: 140.8 kB / 0.6334 GB, free: 5.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003557/0.5602, allocations: 200.6 kB / 0.6336 GB, free: 5.723 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/0.5602, allocations: 0 / 0.6336 GB, free: 5.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004572/0.5607, allocations: 205.6 kB / 0.6338 GB, free: 5.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5607, allocations: 12 kB / 0.6338 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5607, allocations: 4 kB / 0.6338 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5607, allocations: 4 kB / 0.6338 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.5609, allocations: 47.91 kB / 0.6339 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5609, allocations: 8 kB / 0.6339 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.5611, allocations: 27.81 kB / 0.6339 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5611, allocations: 8 kB / 0.6339 GB, free: 5.406 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.0001696/0.5613, allocations: 192.1 kB / 0.6341 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.5613, allocations: 19.91 kB / 0.6341 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.5619, allocations: 306.8 kB / 0.6344 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5619, allocations: 0 / 0.6344 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5619, allocations: 0 / 0.6344 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5619, allocations: 3.984 kB / 0.6344 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.5623, allocations: 249 kB / 0.6346 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5623, allocations: 0 / 0.6346 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.5625, allocations: 39.91 kB / 0.6347 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5625, allocations: 0 / 0.6347 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5625, allocations: 0 / 0.6347 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5625, allocations: 7.984 kB / 0.6347 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5625, allocations: 0 / 0.6347 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.563, allocations: 271.2 kB / 0.6349 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.5631, allocations: 23.83 kB / 0.635 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.5631, allocations: 23.94 kB / 0.635 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.5633, allocations: 20 kB / 0.635 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.5634, allocations: 11.98 kB / 0.635 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5634, allocations: 4 kB / 0.635 GB, free: 4.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.5637, allocations: 259 kB / 0.6353 GB, free: 3.945 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5637, allocations: 0 / 0.6353 GB, free: 3.945 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00342/0.5671, allocations: 1.333 MB / 0.6366 GB, free: 2.609 MB / 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.005958/0.5731, allocations: 1.414 MB / 0.638 GB, free: 1.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.5737, allocations: 188.1 kB / 0.6381 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.5737, allocations: 4 kB / 0.6381 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.5738, allocations: 39.91 kB / 0.6382 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.5745, allocations: 89.41 kB / 0.6383 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.5756, allocations: 0.5909 MB / 0.6388 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.5757, allocations: 164.8 kB / 0.639 GB, free: 68 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.5758, allocations: 31.36 kB / 0.639 GB, free: 36 kB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5758, allocations: 0 / 0.639 GB, free: 36 kB / 478.1 MB Notification: Performance of Templates: time 0.04044/0.6162, allocations: 25.14 MB / 0.6636 GB, free: 6.867 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.812142397975549] Failed to read output from testmodel.py, exit status != 0: 0.6256300029344857 0.641065141 0.22026803499999995 Calling exit ...