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.001769/0.001769, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002207/0.002207, allocations: 216 kB / 23.73 MB, free: 4.16 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1544/0.1544, allocations: 26.83 MB / 340.7 MB, free: 7.938 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.002216/0.002216, allocations: 67.83 kB / 477.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 60.48 MB / 0.5251 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03223/0.3676, allocations: 25.49 MB / 0.55 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.3889, allocations: 14.4 MB / 0.5641 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.3893, allocations: 7.938 kB / 0.5641 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.3898, allocations: 107.2 kB / 0.5642 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.3901, allocations: 158.8 kB / 0.5644 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02431/0.4144, allocations: 6.744 MB / 0.5709 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.4153, allocations: 446.4 kB / 0.5714 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.4156, allocations: 124.9 kB / 0.5715 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.4198, allocations: 1.839 MB / 0.5733 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/0.4332, allocations: 6.189 MB / 0.5793 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.266e-05/0.4333, allocations: 16 kB / 0.5793 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.4511, allocations: 8.564 MB / 0.5877 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.4512, allocations: 47.78 kB / 0.5877 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.4514, allocations: 123.4 kB / 0.5879 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.4645, allocations: 5.094 MB / 0.5928 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.4645, allocations: 7.984 kB / 0.5928 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4645, allocations: 0 / 0.5928 GB, free: 15.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.4645, allocations: 0 / 0.5928 GB, free: 15.25 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.003344/0.4679, allocations: 1.086 MB / 0.5939 GB, free: 14.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4679, allocations: 12.03 kB / 0.5939 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.4682, allocations: 52.72 kB / 0.594 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.4686, allocations: 214.9 kB / 0.5942 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.4686, allocations: 20.88 kB / 0.5942 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.4687, allocations: 19.94 kB / 0.5942 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.4694, allocations: 359.1 kB / 0.5946 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.4695, allocations: 4 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.4695, allocations: 12 kB / 0.5946 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.4695, allocations: 8 kB / 0.5946 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.4701, allocations: 217.4 kB / 0.5948 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.4719, allocations: 1.408 MB / 0.5962 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.4723, allocations: 114.4 kB / 0.5963 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4725, allocations: 48.77 kB / 0.5963 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1258/0.5983, allocations: 35.1 MB / 0.6306 GB, free: 8.348 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.5984, allocations: 38.55 kB / 0.6306 GB, free: 8.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.314e-06/0.5984, allocations: 0 / 0.6306 GB, free: 8.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.00111/0.5995, allocations: 245.5 kB / 0.6309 GB, free: 8.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5995, allocations: 51.41 kB / 0.6309 GB, free: 7.992 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.5998, allocations: 220.9 kB / 0.6311 GB, free: 7.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.5999, allocations: 29.7 kB / 0.6312 GB, free: 7.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.6, allocations: 199.9 kB / 0.6313 GB, free: 7.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.6001, allocations: 35.72 kB / 0.6314 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.6001, allocations: 45.66 kB / 0.6314 GB, free: 7.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.6003, allocations: 330.8 kB / 0.6317 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.6005, allocations: 48.83 kB / 0.6318 GB, free: 7.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.6007, allocations: 131.1 kB / 0.6319 GB, free: 6.898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.6011, allocations: 186.9 kB / 0.6321 GB, free: 6.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6011, allocations: 8 kB / 0.6321 GB, free: 6.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005028/0.6016, allocations: 205.5 kB / 0.6323 GB, free: 6.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6017, allocations: 8 kB / 0.6323 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6017, allocations: 7.984 kB / 0.6323 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6017, allocations: 4 kB / 0.6323 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.6019, allocations: 43.92 kB / 0.6324 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6019, allocations: 7.984 kB / 0.6324 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.6021, allocations: 27.83 kB / 0.6324 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.6021, allocations: 8 kB / 0.6324 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002277/0.6023, allocations: 144.2 kB / 0.6325 GB, free: 6.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001986/0.6025, allocations: 136.9 kB / 0.6327 GB, free: 6.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003412/0.6029, allocations: 192.6 kB / 0.6328 GB, free: 5.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.6029, allocations: 4 kB / 0.6328 GB, free: 5.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000432/0.6033, allocations: 209.2 kB / 0.633 GB, free: 5.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6033, allocations: 14.48 kB / 0.6331 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6033, allocations: 4 kB / 0.6331 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/0.6033, allocations: 4 kB / 0.6331 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.6035, allocations: 44.3 kB / 0.6331 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6035, allocations: 12.36 kB / 0.6331 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.6037, allocations: 23.89 kB / 0.6331 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.6037, allocations: 8 kB / 0.6332 GB, free: 5.477 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.0001429/0.6038, allocations: 196.1 kB / 0.6333 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.6039, allocations: 27.83 kB / 0.6334 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.6044, allocations: 302.7 kB / 0.6337 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6044, allocations: 0 / 0.6337 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6044, allocations: 7.938 kB / 0.6337 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6044, allocations: 4 kB / 0.6337 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.6048, allocations: 253 kB / 0.6339 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6048, allocations: 4 kB / 0.6339 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.605, allocations: 20.05 kB / 0.6339 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.605, allocations: 4 kB / 0.6339 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.605, allocations: 4 kB / 0.6339 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.605, allocations: 0 / 0.6339 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.605, allocations: 0 / 0.6339 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.6055, allocations: 283.2 kB / 0.6342 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.6056, allocations: 19.8 kB / 0.6342 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.6056, allocations: 11.89 kB / 0.6342 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.6058, allocations: 27.92 kB / 0.6343 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.6058, allocations: 3.984 kB / 0.6343 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.6058, allocations: 4 kB / 0.6343 GB, free: 4.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003007/0.6061, allocations: 259 kB / 0.6345 GB, free: 4.016 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6061, allocations: 4.062 kB / 0.6345 GB, free: 4.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003691/0.6098, allocations: 1.329 MB / 0.6358 GB, free: 2.68 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.006843/0.6167, allocations: 1.437 MB / 0.6372 GB, free: 1.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.6174, allocations: 181.2 kB / 0.6374 GB, free: 1.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6174, allocations: 7.938 kB / 0.6374 GB, free: 1.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.6175, allocations: 40.17 kB / 0.6374 GB, free: 1.012 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.6181, allocations: 67.38 kB / 0.6375 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.6193, allocations: 0.5739 MB / 0.6381 GB, free: 352 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.6194, allocations: 168.8 kB / 0.6382 GB, free: 168 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.6197, allocations: 119.8 kB / 0.6383 GB, free: 52 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.6197, allocations: 19.44 kB / 0.6384 GB, free: 32 kB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6197, allocations: 3.938 kB / 0.6384 GB, free: 28 kB / 478.1 MB Notification: Performance of Templates: time 0.07315/0.6929, allocations: 47.37 MB / 0.6846 GB, free: 0.6445 MB / 0.5137 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: 8.600456135347486] Failed to read output from testmodel.py, exit status != 0: 0.7021372690796852 0.7180194990000001 0.249786471 Calling exit ...