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.001091/0.001091, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001347/0.001347, allocations: 162 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9148/0.9148, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 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.08282/0.08282, allocations: 19.73 MB / 281.5 MB, free: 9.344 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 357.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.813e-05, allocations: 6.25 kB / 358 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02437/0.02439, allocations: 28.27 MB / 386.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.0372, allocations: 15.93 MB / 402.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.03734, allocations: 7.938 kB / 402.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.0377, allocations: 115.2 kB / 402.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.03789, allocations: 150.7 kB / 402.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00974/0.04763, allocations: 6.843 MB / 409.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.04799, allocations: 466.1 kB / 409.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.04818, allocations: 129 kB / 409.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.0507, allocations: 1.913 MB / 411.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1336/0.1843, allocations: 6.183 MB / 417.9 MB, free: 20.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.1843, allocations: 17.03 kB / 418 MB, free: 20.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.1954, allocations: 8.579 MB / 426.5 MB, free: 20.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.415e-05/0.1955, allocations: 52.02 kB / 426.6 MB, free: 20.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1956, allocations: 98.14 kB / 426.7 MB, free: 20.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00715/0.2028, allocations: 6.478 MB / 433.2 MB, free: 19.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2028, allocations: 3.625 kB / 433.2 MB, free: 19.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2028, allocations: 2.938 kB / 433.2 MB, free: 19.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2028, allocations: 2.844 kB / 433.2 MB, free: 19.97 MB / 330.7 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.002032/0.2048, allocations: 1.177 MB / 434.4 MB, free: 19.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2048, allocations: 9.062 kB / 434.4 MB, free: 19.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.2051, allocations: 90.7 kB / 434.5 MB, free: 19.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.2053, allocations: 212.1 kB / 434.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2053, allocations: 17.66 kB / 434.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2053, allocations: 22.06 kB / 434.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.2058, allocations: 354.4 kB / 435 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2058, allocations: 6.312 kB / 435.1 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2058, allocations: 15.12 kB / 435.1 MB, free: 18.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2059, allocations: 6.812 kB / 435.1 MB, free: 18.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.2061, allocations: 144.5 kB / 435.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.207, allocations: 1.863 MB / 437.1 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2072, allocations: 96.48 kB / 437.2 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.2073, allocations: 16.66 kB / 437.2 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05548/0.2627, allocations: 35.08 MB / 472.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2628, allocations: 40.56 kB / 472.3 MB, free: 3.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.2628, allocations: 1.078 kB / 472.3 MB, free: 3.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005705/0.2633, allocations: 192.7 kB / 472.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2634, allocations: 55.39 kB / 472.6 MB, free: 3.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2636, allocations: 270.2 kB / 472.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2636, allocations: 29.7 kB / 472.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2637, allocations: 241.7 kB / 473.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.2637, allocations: 35.73 kB / 473.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.2637, allocations: 47.31 kB / 473.2 MB, free: 3.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2639, allocations: 0.5001 MB / 473.7 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.2639, allocations: 27.67 kB / 473.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.264, allocations: 141.7 kB / 473.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2641, allocations: 170.6 kB / 474 MB, free: 2.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2641, allocations: 5.531 kB / 474 MB, free: 2.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002335/0.2644, allocations: 171.3 kB / 474.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2644, allocations: 8 kB / 474.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2644, allocations: 4 kB / 474.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2644, allocations: 4 kB / 474.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2645, allocations: 39.36 kB / 474.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2646, allocations: 7.984 kB / 474.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.2646, allocations: 19.89 kB / 474.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2646, allocations: 12 kB / 474.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.569e-05/0.2647, allocations: 147.1 kB / 474.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.489e-05/0.2648, allocations: 156.3 kB / 474.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003692/0.2652, allocations: 193.7 kB / 474.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.2652, allocations: 0 / 474.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000176/0.2654, allocations: 167.6 kB / 474.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.2654, allocations: 15.97 kB / 474.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.2654, allocations: 4 kB / 474.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.2654, allocations: 4 kB / 474.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.2655, allocations: 47.06 kB / 475 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2655, allocations: 8 kB / 475 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.2655, allocations: 11.89 kB / 475 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.2655, allocations: 14.72 kB / 475 MB, free: 1.059 MB / 346.7 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 9.299e-05/0.2656, allocations: 283.5 kB / 475.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2657, allocations: 23.73 kB / 475.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2659, allocations: 214 kB / 475.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2659, allocations: 0 / 475.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2659, allocations: 0 / 475.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2659, allocations: 3.984 kB / 475.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2662, allocations: 248.4 kB / 475.8 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2662, allocations: 0 / 475.8 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.2662, allocations: 19.98 kB / 475.8 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2662, allocations: 3.938 kB / 475.8 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2662, allocations: 12 kB / 475.8 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2662, allocations: 0 / 475.8 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2662, allocations: 0 / 475.8 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.2665, allocations: 258.6 kB / 476.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.2665, allocations: 19.7 kB / 476.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.2665, allocations: 19.77 kB / 476.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.2666, allocations: 28.8 kB / 476.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.2666, allocations: 3.984 kB / 476.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2666, allocations: 4 kB / 476.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.2668, allocations: 267 kB / 476.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2668, allocations: 4.031 kB / 476.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002592/0.2694, allocations: 1.329 MB / 477.7 MB, free: 14.3 MB / 362.7 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.003513/0.2729, allocations: 1.6 MB / 479.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.2731, allocations: 139.4 kB / 479.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2731, allocations: 4 kB / 479.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.2732, allocations: 26.2 kB / 479.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2736, allocations: 102.6 kB / 479.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.2745, allocations: 0.5478 MB / 480.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.2746, allocations: 88.3 kB / 480.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.2747, allocations: 116.1 kB / 480.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.2748, allocations: 20.5 kB / 480.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2748, allocations: 0 / 480.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Templates: time 0.04253/0.3173, allocations: 48.23 MB / 0.5162 GB, free: 11.68 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8204777128994465]