Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001422/0.001422, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00151/0.00151, allocations: 161.3 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8254/0.8254, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1651/0.1651, allocations: 36.34 MB / 275.4 MB, free: 10.73 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 353.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.068e-05, allocations: 5.828 kB / 353.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04309/0.04311, allocations: 37.9 MB / 391.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.05561, allocations: 14.39 MB / 406.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.05585, allocations: 11.94 kB / 406.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.0562, allocations: 150.8 kB / 406.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.05648, allocations: 230.3 kB / 406.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009975/0.06646, allocations: 6.54 MB / 413 MB, free: 8.316 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.06691, allocations: 0.6179 MB / 413.6 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.06714, allocations: 190.3 kB / 413.8 MB, free: 7.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.06739, allocations: 311.1 kB / 414.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.06757, allocations: 183.4 kB / 414.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.0676, allocations: 32 kB / 414.3 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009396/0.07699, allocations: 8.559 MB / 422.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.07705, allocations: 71.62 kB / 423 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.07715, allocations: 135.7 kB / 423.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006181/0.08333, allocations: 6.49 MB / 429.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.08334, allocations: 0 / 429.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.08334, allocations: 0 / 429.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.08335, allocations: 0 / 429.6 MB, free: 7.711 MB / 362.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.001792/0.08514, allocations: 1.291 MB / 430.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.08517, allocations: 12.03 kB / 430.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.08537, allocations: 88.58 kB / 431 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.08566, allocations: 268.5 kB / 431.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.08568, allocations: 25.03 kB / 431.3 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.08571, allocations: 28.31 kB / 431.3 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.08612, allocations: 328.4 kB / 431.6 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.08614, allocations: 7.938 kB / 431.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.08616, allocations: 12 kB / 431.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.08616, allocations: 4 kB / 431.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.08642, allocations: 146.8 kB / 431.8 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.08749, allocations: 1.343 MB / 433.1 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.0878, allocations: 147.1 kB / 433.3 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.08785, allocations: 31.67 kB / 433.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1704/0.2582, allocations: 33.62 MB / 466.9 MB, free: 50.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.2583, allocations: 37.39 kB / 467 MB, free: 50.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.544e-06/0.2583, allocations: 0 / 467 MB, free: 50.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009449/0.2592, allocations: 277 kB / 467.2 MB, free: 50.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.2592, allocations: 57.47 kB / 467.3 MB, free: 50.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.2595, allocations: 333.7 kB / 467.6 MB, free: 50.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2595, allocations: 28.77 kB / 467.6 MB, free: 50.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2596, allocations: 262.7 kB / 467.9 MB, free: 50.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.2596, allocations: 56.83 kB / 467.9 MB, free: 50.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.2597, allocations: 42.17 kB / 468 MB, free: 50.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.2597, allocations: 0.5141 MB / 468.5 MB, free: 49.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.2598, allocations: 27.92 kB / 468.5 MB, free: 49.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.2598, allocations: 99.75 kB / 468.6 MB, free: 49.35 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.0002717/0.2601, allocations: 178.3 kB / 468.8 MB, free: 49.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2601, allocations: 0 / 468.8 MB, free: 49.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002712/0.2604, allocations: 199.5 kB / 469 MB, free: 49.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2604, allocations: 10.97 kB / 469 MB, free: 49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2604, allocations: 0 / 469 MB, free: 49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.2606, allocations: 32.64 kB / 469 MB, free: 48.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.2607, allocations: 50.34 kB / 469.1 MB, free: 48.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/0.2613, allocations: 1.736 MB / 470.8 MB, free: 47.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2614, allocations: 20.19 kB / 470.8 MB, free: 47.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2615, allocations: 11.88 kB / 470.9 MB, free: 47.09 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.0001019/0.2616, allocations: 169.6 kB / 471 MB, free: 46.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.2616, allocations: 35 kB / 471.1 MB, free: 46.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.262, allocations: 431.2 kB / 471.5 MB, free: 46.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.262, allocations: 11.8 kB / 471.5 MB, free: 46.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.262, allocations: 0 / 471.5 MB, free: 46.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.262, allocations: 2.297 kB / 471.5 MB, free: 46.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.2628, allocations: 0.7721 MB / 472.3 MB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2628, allocations: 0 / 472.3 MB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2629, allocations: 42.59 kB / 472.3 MB, free: 45.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.263, allocations: 27.7 kB / 472.3 MB, free: 45.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.263, allocations: 7.938 kB / 472.3 MB, free: 45.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004627/0.2635, allocations: 1.733 MB / 474.1 MB, free: 43.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2635, allocations: 4.125 kB / 474.1 MB, free: 43.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.2638, allocations: 0.4977 MB / 474.6 MB, free: 43.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.2639, allocations: 47 kB / 474.6 MB, free: 43.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.2639, allocations: 3.688 kB / 474.6 MB, free: 43.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.264, allocations: 7.188 kB / 474.6 MB, free: 43.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2641, allocations: 15.41 kB / 474.6 MB, free: 43.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2641, allocations: 4 kB / 474.7 MB, free: 43.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2642, allocations: 233 kB / 474.9 MB, free: 43.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2642, allocations: 0 / 474.9 MB, free: 43.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002494/0.2667, allocations: 1.276 MB / 476.2 MB, free: 41.93 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.004028/0.2707, allocations: 1.591 MB / 477.7 MB, free: 40.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.271, allocations: 302.3 kB / 478 MB, free: 40.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2711, allocations: 0 / 478 MB, free: 40.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2712, allocations: 250.2 kB / 478.3 MB, free: 39.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.2718, allocations: 121.3 kB / 478.4 MB, free: 39.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2733, allocations: 0.8491 MB / 479.3 MB, free: 39.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.2733, allocations: 105.6 kB / 479.4 MB, free: 38.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.2735, allocations: 74.2 kB / 479.4 MB, free: 38.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.2735, allocations: 28.44 kB / 479.5 MB, free: 38.82 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2735, allocations: 0 / 479.5 MB, free: 38.82 MB / 362.7 MB Notification: Performance of Templates: time 0.04528/0.3188, allocations: 49.58 MB / 0.5166 GB, free: 5.34 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.952303186990321]