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.001405/0.001405, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001481/0.001481, allocations: 165.7 kB / 24.27 MB, free: 172 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.448/1.448, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.1475/0.1475, allocations: 19.73 MB / 280.8 MB, free: 9.281 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.613e-06/1.613e-06, allocations: 0 / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.422e-05, allocations: 6.25 kB / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04599/0.04602, allocations: 33.94 MB / 391.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.06696, allocations: 13.04 MB / 404.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.06723, allocations: 11.94 kB / 404.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.06775, allocations: 142.9 kB / 404.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.06824, allocations: 234.2 kB / 404.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01805/0.0863, allocations: 6.561 MB / 411.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009477/0.08725, allocations: 0.61 MB / 411.8 MB, free: 208 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.08762, allocations: 194.3 kB / 412 MB, free: 12 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1268/0.2145, allocations: 317.5 kB / 412.3 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.2147, allocations: 179.8 kB / 412.4 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.2148, allocations: 25.34 kB / 412.5 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.2288, allocations: 8.559 MB / 421 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.2289, allocations: 70.75 kB / 421.1 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.2292, allocations: 132.2 kB / 421.2 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.2401, allocations: 6.6 MB / 427.8 MB, free: 19.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2401, allocations: 1 kB / 427.8 MB, free: 19.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2401, allocations: 0 / 427.8 MB, free: 19.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2401, allocations: 0 / 427.8 MB, free: 19.14 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.003451/0.2436, allocations: 1.183 MB / 429 MB, free: 18.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2436, allocations: 10.69 kB / 429 MB, free: 18.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.2439, allocations: 92.72 kB / 429.1 MB, free: 18.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.2443, allocations: 272.9 kB / 429.4 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2444, allocations: 28.77 kB / 429.4 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.2444, allocations: 33.92 kB / 429.4 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.245, allocations: 352.2 kB / 429.8 MB, free: 17.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.245, allocations: 3.688 kB / 429.8 MB, free: 17.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.245, allocations: 14.75 kB / 429.8 MB, free: 17.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.245, allocations: 6.281 kB / 429.8 MB, free: 17.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.2455, allocations: 206.5 kB / 430 MB, free: 17.95 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2468, allocations: 1.121 MB / 431.1 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.2472, allocations: 172.7 kB / 431.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.2473, allocations: 53.92 kB / 431.3 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1103/0.3576, allocations: 35.09 MB / 466.4 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3576, allocations: 38.22 kB / 466.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.3576, allocations: 0 / 466.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001212/0.3589, allocations: 324.5 kB / 466.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3589, allocations: 55.41 kB / 466.8 MB, free: 4.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.3593, allocations: 293.8 kB / 467.1 MB, free: 4.695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3593, allocations: 32.14 kB / 467.2 MB, free: 4.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3595, allocations: 208 kB / 467.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.3595, allocations: 64.61 kB / 467.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.3596, allocations: 40.64 kB / 467.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3598, allocations: 341.1 kB / 467.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3599, allocations: 50.03 kB / 467.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3601, allocations: 96.03 kB / 467.9 MB, free: 3.949 MB / 346.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.000961/0.361, allocations: 290.2 kB / 468.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.361, allocations: 4 kB / 468.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004533/0.3615, allocations: 232.4 kB / 468.5 MB, free: 3.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3615, allocations: 8 kB / 468.5 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3615, allocations: 3.984 kB / 468.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.3617, allocations: 32.5 kB / 468.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3619, allocations: 43.36 kB / 468.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.3632, allocations: 1.26 MB / 469.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3633, allocations: 15.58 kB / 469.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3633, allocations: 11.84 kB / 469.8 MB, free: 2.141 MB / 346.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.0001727/0.3635, allocations: 147.7 kB / 470 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.3636, allocations: 39.44 kB / 470 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008462/0.3644, allocations: 0.6174 MB / 470.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.3645, allocations: 7.984 kB / 470.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3645, allocations: 1.078 kB / 470.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3645, allocations: 2.812 kB / 470.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.3659, allocations: 0.9999 MB / 471.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3659, allocations: 0 / 471.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3661, allocations: 35.39 kB / 471.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.3662, allocations: 24.84 kB / 471.7 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3663, allocations: 8 kB / 471.7 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.3674, allocations: 1.263 MB / 473 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3674, allocations: 2.938 kB / 473 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.3684, allocations: 0.6814 MB / 473.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3685, allocations: 43.67 kB / 473.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.3685, allocations: 5.422 kB / 473.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.3687, allocations: 4 kB / 473.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.3687, allocations: 23.31 kB / 473.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3687, allocations: 4 kB / 473.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.369, allocations: 211.1 kB / 473.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.369, allocations: 0 / 473.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003944/0.3729, allocations: 1.279 MB / 475.2 MB, free: 12.87 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.006196/0.3791, allocations: 1.601 MB / 476.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006733/0.3798, allocations: 297.7 kB / 477.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3798, allocations: 448 / 477.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.3801, allocations: 230.3 kB / 477.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.3809, allocations: 126.2 kB / 477.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3826, allocations: 0.8684 MB / 478.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3828, allocations: 212 kB / 478.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.383, allocations: 75.14 kB / 478.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.3831, allocations: 28.5 kB / 478.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.3831, allocations: 0 / 478.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of Templates: time 0.07636/0.4594, allocations: 48.7 MB / 0.515 GB, free: 8.965 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.390153949032538]