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.001802/0.001802, allocations: 79.19 kB / 21.27 MB, free: 388 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.002306/0.002306, allocations: 163.7 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.524/1.524, allocations: 177.2 MB / 204.9 MB, free: 9.258 MB / 190.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.1762/0.1762, allocations: 19.7 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.002136/0.002136, allocations: 71.91 kB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3902, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03952/0.4297, allocations: 25.39 MB / 0.4917 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.4541, allocations: 14.4 MB / 0.5057 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.4546, allocations: 7.938 kB / 0.5057 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.4553, allocations: 107.2 kB / 0.5058 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.4558, allocations: 147 kB / 0.506 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02639/0.4822, allocations: 6.759 MB / 0.5126 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.4832, allocations: 450.3 kB / 0.513 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.4835, allocations: 117 kB / 0.5131 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.4889, allocations: 1.928 MB / 0.515 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01728/0.5062, allocations: 6.209 MB / 0.5211 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5063, allocations: 16 kB / 0.5211 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02189/0.5282, allocations: 8.564 MB / 0.5294 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.5284, allocations: 47.78 kB / 0.5295 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.5287, allocations: 127.5 kB / 0.5296 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.5468, allocations: 5.09 MB / 0.5346 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5468, allocations: 0 / 0.5346 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5468, allocations: 0 / 0.5346 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.5468, 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.004667/0.5515, allocations: 1.09 MB / 0.5356 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5515, allocations: 12.03 kB / 0.5356 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.5518, allocations: 60.7 kB / 0.5357 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.5522, allocations: 203 kB / 0.5359 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5522, allocations: 20.88 kB / 0.5359 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.5523, allocations: 23.94 kB / 0.5359 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.553, allocations: 359.2 kB / 0.5363 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5531, allocations: 0 / 0.5363 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.5531, allocations: 12 kB / 0.5363 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5531, allocations: 19.98 kB / 0.5363 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.5537, allocations: 205.7 kB / 0.5365 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.5555, allocations: 1.417 MB / 0.5379 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.556, allocations: 114.5 kB / 0.538 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.5561, allocations: 44.83 kB / 0.538 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1206/0.6767, allocations: 35.11 MB / 0.5723 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/0.6768, allocations: 34.5 kB / 0.5724 GB, free: 5.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.6768, allocations: 0 / 0.5724 GB, free: 5.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001157/0.6779, allocations: 249.3 kB / 0.5726 GB, free: 5.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.678, allocations: 55.41 kB / 0.5727 GB, free: 5.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.6783, allocations: 213.7 kB / 0.5729 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.6783, allocations: 29.7 kB / 0.5729 GB, free: 5.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.6784, allocations: 200 kB / 0.5731 GB, free: 4.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.6785, allocations: 27.75 kB / 0.5731 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.6786, allocations: 42.03 kB / 0.5731 GB, free: 4.922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6787, allocations: 338.8 kB / 0.5735 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.6789, allocations: 48.83 kB / 0.5735 GB, free: 4.531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.6791, allocations: 127.1 kB / 0.5736 GB, free: 4.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.6795, allocations: 198.9 kB / 0.5738 GB, free: 4.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6795, allocations: 0 / 0.5738 GB, free: 4.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005047/0.68, allocations: 209.5 kB / 0.574 GB, free: 3.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6801, allocations: 12 kB / 0.574 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6801, allocations: 0 / 0.574 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6801, allocations: 4 kB / 0.574 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.6803, allocations: 47.91 kB / 0.5741 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.6803, allocations: 4 kB / 0.5741 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.6805, allocations: 27.88 kB / 0.5741 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.6805, allocations: 8 kB / 0.5741 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002298/0.6807, allocations: 136.1 kB / 0.5743 GB, free: 3.684 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003102/0.6811, allocations: 143.5 kB / 0.5744 GB, free: 3.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000366/0.6814, allocations: 200.5 kB / 0.5746 GB, free: 3.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.6814, allocations: 0 / 0.5746 GB, free: 3.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004714/0.6819, allocations: 213.3 kB / 0.5748 GB, free: 3.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6819, allocations: 8 kB / 0.5748 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6819, allocations: 4 kB / 0.5748 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.6819, allocations: 4 kB / 0.5748 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.6821, allocations: 43.97 kB / 0.5748 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.6821, allocations: 12 kB / 0.5749 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.6823, allocations: 24.22 kB / 0.5749 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.6823, allocations: 12 kB / 0.5749 GB, free: 2.938 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.0002448/0.6825, allocations: 196.8 kB / 0.5751 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.6826, allocations: 15.91 kB / 0.5751 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.6832, allocations: 302.7 kB / 0.5754 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6832, allocations: 3.984 kB / 0.5754 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6832, allocations: 0 / 0.5754 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6832, allocations: 4 kB / 0.5754 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.6836, allocations: 257 kB / 0.5756 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6836, allocations: 0 / 0.5756 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.6838, allocations: 23.98 kB / 0.5757 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6838, allocations: 0 / 0.5757 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6838, allocations: 0 / 0.5757 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6838, allocations: 4 kB / 0.5757 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6838, allocations: 3.938 kB / 0.5757 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.6844, allocations: 279.2 kB / 0.5759 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.6844, allocations: 23.88 kB / 0.576 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.6844, allocations: 15.83 kB / 0.576 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.6846, allocations: 23.94 kB / 0.576 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.6847, allocations: 3.984 kB / 0.576 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6847, allocations: 4 kB / 0.576 GB, free: 1.742 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.685, allocations: 263 kB / 0.5762 GB, free: 1.484 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.685, allocations: 0 / 0.5762 GB, free: 1.484 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004183/0.6892, allocations: 1.333 MB / 0.5775 GB, free: 152 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.00655/0.6957, allocations: 1.422 MB / 0.5789 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.6964, allocations: 193.1 kB / 0.5791 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6964, allocations: 0 / 0.5791 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.6965, allocations: 43.91 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.0005876/0.6971, allocations: 73.78 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.001101/0.6982, allocations: 0.5736 MB / 0.5798 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.6983, allocations: 164.8 kB / 0.58 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.6986, allocations: 117.4 kB / 0.5801 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.6987, allocations: 24.5 kB / 0.5801 GB, free: 13.49 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6987, allocations: 7.938 kB / 0.5801 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Templates: time 0.06826/0.7669, allocations: 46.93 MB / 0.6259 GB, free: 14.54 MB / 0.5294 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 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.301313666044734] Failed to read output from testmodel.py, exit status != 0: 0.7768445560941473 0.7924925429999999 0.242029984 Calling exit ...