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.0009371/0.0009371, 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.0008775/0.0008775, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.8921/0.8921, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.09235/0.09235, allocations: 19.74 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.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.473e-06/1.473e-06, allocations: 0 / 358 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.624e-05, allocations: 6.25 kB / 358 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.02678/0.0268, allocations: 38.03 MB / 396 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.04051, allocations: 14.39 MB / 410.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.04076, allocations: 15.88 kB / 410.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.04122, allocations: 142.9 kB / 410.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.04158, allocations: 230.3 kB / 410.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1358/0.1774, allocations: 6.545 MB / 417.3 MB, free: 17.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.178, allocations: 0.6158 MB / 417.9 MB, free: 17.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.1783, allocations: 189.4 kB / 418.1 MB, free: 17.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.1787, allocations: 319.4 kB / 418.4 MB, free: 17.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1789, allocations: 187.8 kB / 418.6 MB, free: 17.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1789, allocations: 26.06 kB / 418.6 MB, free: 17.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.1901, allocations: 8.565 MB / 427.2 MB, free: 17.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.1902, allocations: 66.67 kB / 427.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.1904, allocations: 145.8 kB / 427.4 MB, free: 17.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009407/0.1998, allocations: 6.517 MB / 433.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1998, allocations: 3.406 kB / 433.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1998, allocations: 0 / 433.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1998, allocations: 0 / 433.9 MB, free: 15.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.002212/0.202, allocations: 1.289 MB / 435.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2021, allocations: 13.28 kB / 435.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.2023, allocations: 82.23 kB / 435.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.2025, allocations: 272.3 kB / 435.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2026, allocations: 23.12 kB / 435.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.2026, allocations: 32.3 kB / 435.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.203, allocations: 324.9 kB / 435.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.203, allocations: 3.188 kB / 435.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.203, allocations: 15.11 kB / 436 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.203, allocations: 11.94 kB / 436 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2033, allocations: 144.2 kB / 436.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.2042, allocations: 1.328 MB / 437.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2045, allocations: 152.1 kB / 437.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.2045, allocations: 37.84 kB / 437.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05578/0.2603, allocations: 35.08 MB / 472.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2604, allocations: 37.39 kB / 472.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.2604, allocations: 0 / 472.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007929/0.2612, allocations: 282.5 kB / 473 MB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.2612, allocations: 55.41 kB / 473.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.2614, allocations: 326.3 kB / 473.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2614, allocations: 29.7 kB / 473.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2616, allocations: 268.5 kB / 473.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2616, allocations: 51.53 kB / 473.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.2616, allocations: 43.38 kB / 473.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2618, allocations: 0.5156 MB / 474.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.2618, allocations: 23.98 kB / 474.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.2619, allocations: 104.5 kB / 474.4 MB, free: 13.48 MB / 362.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.0002651/0.2622, allocations: 178 kB / 474.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2622, allocations: 0 / 474.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002387/0.2624, allocations: 194.8 kB / 474.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2624, allocations: 8 kB / 474.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2624, allocations: 0 / 474.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.2626, allocations: 34.67 kB / 474.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2627, allocations: 39.97 kB / 474.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008449/0.2635, allocations: 1.751 MB / 476.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.2636, allocations: 15.89 kB / 476.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2636, allocations: 8 kB / 476.6 MB, free: 11.12 MB / 362.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 0.0001102/0.2637, allocations: 173.8 kB / 476.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.2638, allocations: 39.75 kB / 476.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.2642, allocations: 433 kB / 477.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.2642, allocations: 3.984 kB / 477.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2642, allocations: 4 kB / 477.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2642, allocations: 0 / 477.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.2649, allocations: 0.7749 MB / 478.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2649, allocations: 3.984 kB / 478.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.265, allocations: 39.45 kB / 478.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-05/0.2651, allocations: 27.7 kB / 478.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2651, allocations: 4 kB / 478.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/0.2659, allocations: 1.74 MB / 479.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2659, allocations: 4 kB / 479.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.2663, allocations: 0.5036 MB / 480.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.2663, allocations: 43.62 kB / 480.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2663, allocations: 4 kB / 480.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.2664, allocations: 4 kB / 480.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2664, allocations: 15.97 kB / 480.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2664, allocations: 4 kB / 480.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.2666, allocations: 231 kB / 480.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2666, allocations: 0 / 480.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002582/0.2692, allocations: 1.286 MB / 482 MB, free: 5.625 MB / 362.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.00398/0.2731, allocations: 1.594 MB / 483.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.2735, allocations: 295.3 kB / 483.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2735, allocations: 0 / 483.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2736, allocations: 253 kB / 484.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.2741, allocations: 123.5 kB / 484.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.2755, allocations: 0.8496 MB / 485.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.652e-05/0.2756, allocations: 113.4 kB / 485.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.2757, allocations: 69.31 kB / 485.2 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.2758, allocations: 32.5 kB / 485.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.2758, allocations: 0 / 485.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of Templates: time 0.05148/0.3272, allocations: 49.66 MB / 0.5224 GB, free: 0.832 MB / 410.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: 4.879946053959429]