Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.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.000926/0.000926, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009435/0.0009435, allocations: 161 kB / 24.56 MB, free: 16 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 0.8834/0.8834, allocations: 177.1 MB / 205 MB, free: 5.621 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.08195/0.08195, allocations: 19.73 MB / 281.2 MB, free: 9.254 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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.577e-05, allocations: 6.25 kB / 358 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.01599/0.01601, allocations: 21.78 MB / 379.8 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.02729, allocations: 14.42 MB / 394.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.02747, allocations: 7.938 kB / 394.2 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.02784, allocations: 127 kB / 394.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.02812, allocations: 230.3 kB / 394.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009265/0.03738, allocations: 6.564 MB / 401.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.03784, allocations: 0.6101 MB / 401.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.03808, allocations: 190.3 kB / 401.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.03836, allocations: 319.1 kB / 402.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.03855, allocations: 191.4 kB / 402.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.03858, allocations: 24 kB / 402.4 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008863/0.04744, allocations: 8.567 MB / 411 MB, free: 1.406 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.04749, allocations: 67.62 kB / 411.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.04759, allocations: 139.7 kB / 411.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1239/0.1715, allocations: 6.512 MB / 417.7 MB, free: 26.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1715, allocations: 0 / 417.7 MB, free: 26.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1715, allocations: 0 / 417.7 MB, free: 26.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1715, allocations: 0 / 417.7 MB, free: 26.29 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003256/0.1748, allocations: 1.289 MB / 419 MB, free: 25.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1748, allocations: 10.16 kB / 419 MB, free: 25.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.175, allocations: 88.89 kB / 419.1 MB, free: 25.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1753, allocations: 268.3 kB / 419.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1753, allocations: 22.16 kB / 419.4 MB, free: 25.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.1753, allocations: 25.81 kB / 419.4 MB, free: 25.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.1757, allocations: 331.2 kB / 419.7 MB, free: 25.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1757, allocations: 1.812 kB / 419.7 MB, free: 25.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1757, allocations: 19.28 kB / 419.7 MB, free: 25.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1757, allocations: 7.062 kB / 419.7 MB, free: 25.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.176, allocations: 142.3 kB / 419.9 MB, free: 25.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.1769, allocations: 1.339 MB / 421.2 MB, free: 24.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1771, allocations: 147.6 kB / 421.4 MB, free: 24.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.1772, allocations: 33.97 kB / 421.4 MB, free: 24.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06816/0.2453, allocations: 35.08 MB / 456.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.2454, allocations: 44.39 kB / 456.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.2454, allocations: 1.406 kB / 456.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007091/0.2461, allocations: 274.3 kB / 456.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.2461, allocations: 58.5 kB / 456.8 MB, free: 5.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2463, allocations: 328.4 kB / 457.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2463, allocations: 31.2 kB / 457.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.2464, allocations: 263 kB / 457.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2464, allocations: 57.02 kB / 457.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.2465, allocations: 49.73 kB / 457.6 MB, free: 4.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.2465, allocations: 0.5111 MB / 458.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.2465, allocations: 23.42 kB / 458.1 MB, free: 4.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.2466, allocations: 103.1 kB / 458.2 MB, free: 3.953 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.2468, allocations: 177.3 kB / 458.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2468, allocations: 3.984 kB / 458.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002023/0.247, allocations: 194.5 kB / 458.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.247, allocations: 8 kB / 458.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.247, allocations: 2.188 kB / 458.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.2472, allocations: 31.89 kB / 458.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2473, allocations: 50.75 kB / 458.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004912/0.2478, allocations: 1.73 MB / 460.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.2479, allocations: 30.28 kB / 460.4 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2479, allocations: 7.984 kB / 460.4 MB, free: 1.688 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.248, allocations: 171.2 kB / 460.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.248, allocations: 34.92 kB / 460.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.2483, allocations: 428.9 kB / 461 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2483, allocations: 11.36 kB / 461.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2483, allocations: 0 / 461.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2483, allocations: 0 / 461.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.2489, allocations: 0.7773 MB / 461.8 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2489, allocations: 0 / 461.8 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.249, allocations: 35.55 kB / 461.9 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-05/0.249, allocations: 27.11 kB / 461.9 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2491, allocations: 0 / 461.9 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/0.2496, allocations: 1.743 MB / 463.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2496, allocations: 13.25 kB / 463.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.25, allocations: 0.4954 MB / 464.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.25, allocations: 42.95 kB / 464.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2501, allocations: 0 / 464.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.2501, allocations: 11.61 kB / 464.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2502, allocations: 11.27 kB / 464.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2502, allocations: 11.47 kB / 464.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.2503, allocations: 229.5 kB / 464.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2503, allocations: 0 / 464.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003433/0.2537, allocations: 1.287 MB / 465.7 MB, free: 12.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003516/0.2572, allocations: 1.593 MB / 467.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.2576, allocations: 299.2 kB / 467.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2576, allocations: 0 / 467.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.2577, allocations: 251 kB / 467.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2581, allocations: 138.5 kB / 468 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2595, allocations: 0.8414 MB / 468.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.2595, allocations: 105.6 kB / 468.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.2596, allocations: 73.48 kB / 469 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.2597, allocations: 28.5 kB / 469 MB, free: 9.379 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2597, allocations: 0 / 469 MB, free: 9.379 MB / 346.7 MB Notification: Performance of Templates: time 0.05027/0.31, allocations: 57.37 MB / 0.5141 GB, free: 180 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.899263703264296]