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.002197/0.002197, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002449/0.002449, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.542/1.542, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.1498/0.1498, allocations: 19.73 MB / 280.8 MB, free: 9.301 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.603e-06/1.603e-06, allocations: 0 / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.257e-05, allocations: 9.344 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.0384/0.03844, allocations: 28.19 MB / 385.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02438/0.06282, allocations: 15.93 MB / 401.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.06316, allocations: 7.938 kB / 401.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.0637, allocations: 111.2 kB / 401.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.06406, allocations: 158.7 kB / 401.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0198/0.08386, allocations: 6.836 MB / 408.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007722/0.08463, allocations: 462.2 kB / 408.9 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.08491, allocations: 125 kB / 409 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004902/0.08981, allocations: 1.913 MB / 410.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1886/0.2785, allocations: 6.183 MB / 417.1 MB, free: 20.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2786, allocations: 18.88 kB / 417.1 MB, free: 20.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.2948, allocations: 8.582 MB / 425.7 MB, free: 20.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.2949, allocations: 52.44 kB / 425.8 MB, free: 20.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2951, allocations: 99.41 kB / 425.9 MB, free: 20.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.3086, allocations: 6.542 MB / 432.4 MB, free: 19.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3086, allocations: 7.344 kB / 432.4 MB, free: 19.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3087, allocations: 0 / 432.4 MB, free: 19.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3087, allocations: 0 / 432.4 MB, free: 19.96 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.003407/0.3121, allocations: 1.196 MB / 433.6 MB, free: 19.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3121, allocations: 9.781 kB / 433.6 MB, free: 19.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.3124, allocations: 81.2 kB / 433.7 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3127, allocations: 216.1 kB / 433.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3128, allocations: 16.78 kB / 433.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.3128, allocations: 29.06 kB / 434 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.3134, allocations: 387.7 kB / 434.3 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3134, allocations: 3.594 kB / 434.3 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3134, allocations: 14.12 kB / 434.3 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3135, allocations: 5.375 kB / 434.4 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.314, allocations: 203.3 kB / 434.6 MB, free: 18.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3155, allocations: 1.942 MB / 436.5 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3158, allocations: 115.8 kB / 436.6 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.3159, allocations: 39.8 kB / 436.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1221/0.438, allocations: 35.08 MB / 471.7 MB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.4381, allocations: 41.39 kB / 471.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.4381, allocations: 4 kB / 471.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001015/0.4391, allocations: 236.6 kB / 472 MB, free: 3.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4392, allocations: 52.39 kB / 472.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.4395, allocations: 304.3 kB / 472.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4395, allocations: 25.7 kB / 472.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4397, allocations: 247.9 kB / 472.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.4398, allocations: 42.75 kB / 472.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.4399, allocations: 47.36 kB / 472.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.4402, allocations: 0.5079 MB / 473.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4403, allocations: 53.64 kB / 473.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4405, allocations: 155.9 kB / 473.4 MB, free: 2.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.4409, allocations: 213.1 kB / 473.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4409, allocations: 4 kB / 473.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004553/0.4414, allocations: 210.2 kB / 473.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4414, allocations: 8.062 kB / 473.8 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4414, allocations: 4 kB / 473.8 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4414, allocations: 4 kB / 473.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.4416, allocations: 51.25 kB / 473.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4416, allocations: 4 kB / 473.9 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4418, allocations: 15.89 kB / 473.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.4418, allocations: 12.88 kB / 473.9 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002382/0.442, allocations: 178.8 kB / 474.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002383/0.4423, allocations: 182.9 kB / 474.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003545/0.4426, allocations: 227.6 kB / 474.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.4426, allocations: 0 / 474.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004197/0.4431, allocations: 208.3 kB / 474.7 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4431, allocations: 12.03 kB / 474.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4431, allocations: 4 kB / 474.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.4431, allocations: 4 kB / 474.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4432, allocations: 47.44 kB / 474.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4433, allocations: 7.75 kB / 474.8 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.4434, allocations: 19.89 kB / 474.8 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.4434, allocations: 8 kB / 474.8 MB, free: 0.6016 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 0.0001957/0.4436, allocations: 283.5 kB / 475.1 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.4437, allocations: 23.84 kB / 475.1 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.4441, allocations: 242.3 kB / 475.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.4442, allocations: 0 / 475.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4442, allocations: 0 / 475.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4442, allocations: 0 / 475.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.4446, allocations: 278.6 kB / 475.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4446, allocations: 0 / 475.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.4447, allocations: 23.98 kB / 475.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4448, allocations: 7.938 kB / 475.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4448, allocations: 7.625 kB / 475.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4448, allocations: 0 / 475.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4448, allocations: 0 / 475.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.4456, allocations: 312.2 kB / 476 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.4456, allocations: 15.86 kB / 476 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.4457, allocations: 25.28 kB / 476 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.4459, allocations: 23.94 kB / 476 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.4459, allocations: 3.984 kB / 476 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4459, allocations: 8.031 kB / 476 MB, free: 15.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003607/0.4463, allocations: 307 kB / 476.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4463, allocations: 0 / 476.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004055/0.4503, allocations: 1.329 MB / 477.7 MB, free: 13.7 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.005862/0.4562, allocations: 1.602 MB / 479.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.4568, allocations: 199.7 kB / 479.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4568, allocations: 448 / 479.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4569, allocations: 46.77 kB / 479.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.4576, allocations: 92.56 kB / 479.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4586, allocations: 0.5357 MB / 480.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.4588, allocations: 168.8 kB / 480.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.4591, allocations: 113.5 kB / 480.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.4591, allocations: 28.5 kB / 480.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of SimCode: time 1.143e-06/0.4591, allocations: 6.906 kB / 480.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.07701/0.5361, allocations: 48.22 MB / 0.5163 GB, free: 10.93 MB / 410.7 MB " [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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.22513512603473]