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.0008839/0.0008839, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.000941/0.000941, allocations: 172.3 kB / 24.82 MB, free: 9.305 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.9438/0.9438, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.1048/0.1048, allocations: 19.75 MB / 281.6 MB, free: 9.113 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.262e-06/1.262e-06, allocations: 0 / 358.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.788e-05, allocations: 9.484 kB / 358.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.01719/0.01721, allocations: 21.49 MB / 379.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.03277, allocations: 14.15 MB / 394.1 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.03315, allocations: 11.88 kB / 394.1 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.0337, allocations: 123 kB / 394.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.03417, allocations: 234.3 kB / 394.5 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.04862, allocations: 6.564 MB / 401 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.04932, allocations: 0.6139 MB / 401.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.04964, allocations: 178.4 kB / 401.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.05006, allocations: 323.1 kB / 402.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.05032, allocations: 183.4 kB / 402.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.05036, allocations: 24 kB / 402.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.06121, allocations: 8.567 MB / 410.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.06128, allocations: 67.62 kB / 411 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.06142, allocations: 135.7 kB / 411.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1522/0.2136, allocations: 6.512 MB / 417.6 MB, free: 26.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2137, allocations: 4.125 kB / 417.6 MB, free: 26.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2137, allocations: 0 / 417.6 MB, free: 26.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2137, allocations: 0 / 417.6 MB, free: 26.65 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.005116/0.2188, allocations: 1.295 MB / 418.9 MB, free: 25.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.2188, allocations: 10.94 kB / 418.9 MB, free: 25.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.2191, allocations: 89.47 kB / 419 MB, free: 25.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2194, allocations: 268.9 kB / 419.3 MB, free: 25.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2195, allocations: 19.59 kB / 419.3 MB, free: 25.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.2195, allocations: 25.94 kB / 419.3 MB, free: 25.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.2201, allocations: 320 kB / 419.6 MB, free: 25.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.2201, allocations: 1.438 kB / 419.6 MB, free: 25.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.2201, allocations: 14.03 kB / 419.6 MB, free: 25.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2201, allocations: 6.969 kB / 419.6 MB, free: 25.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2204, allocations: 128.9 kB / 419.8 MB, free: 25.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2217, allocations: 1.285 MB / 421.1 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.222, allocations: 147 kB / 421.2 MB, free: 24.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.222, allocations: 29.77 kB / 421.2 MB, free: 24.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0504/0.2724, allocations: 30.87 MB / 452.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2724, allocations: 41.02 kB / 452.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.2724, allocations: 0 / 452.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007014/0.2731, allocations: 264.2 kB / 452.4 MB, free: 9.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.35e-05/0.2732, allocations: 51.41 kB / 452.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2733, allocations: 323.5 kB / 452.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2733, allocations: 29.7 kB / 452.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.2734, allocations: 269.8 kB / 453.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.2734, allocations: 57.23 kB / 453.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.2735, allocations: 52.75 kB / 453.2 MB, free: 9.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.2735, allocations: 0.512 MB / 453.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.2736, allocations: 15.98 kB / 453.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.2736, allocations: 105.3 kB / 453.8 MB, free: 8.398 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.000186/0.2738, allocations: 163.5 kB / 454 MB, free: 8.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2738, allocations: 0 / 454 MB, free: 8.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001837/0.274, allocations: 180.4 kB / 454.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.274, allocations: 4 kB / 454.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.274, allocations: 4 kB / 454.1 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.2741, allocations: 38.53 kB / 454.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.2742, allocations: 43.08 kB / 454.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005017/0.2747, allocations: 1.718 MB / 455.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2749, allocations: 24.61 kB / 456 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2749, allocations: 15.8 kB / 456 MB, free: 6.172 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 8.539e-05/0.2749, allocations: 160.3 kB / 456.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.275, allocations: 31.42 kB / 456.2 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.2753, allocations: 400.4 kB / 456.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2753, allocations: 7.984 kB / 456.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2753, allocations: 0 / 456.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2753, allocations: 0 / 456.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.2758, allocations: 0.708 MB / 457.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2758, allocations: 0 / 457.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.2759, allocations: 27.98 kB / 457.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.276, allocations: 26.95 kB / 457.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.276, allocations: 11.73 kB / 457.3 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003725/0.2764, allocations: 1.715 MB / 459 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.2764, allocations: 6.344 kB / 459.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2766, allocations: 471.4 kB / 459.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.2767, allocations: 43.62 kB / 459.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.2767, allocations: 7.562 kB / 459.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.2768, allocations: 7.375 kB / 459.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2768, allocations: 11.97 kB / 459.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2768, allocations: 7.344 kB / 459.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.571e-05/0.2769, allocations: 224 kB / 459.8 MB, free: 2.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2769, allocations: 4 kB / 459.8 MB, free: 2.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004501/0.2814, allocations: 1.28 MB / 461.1 MB, free: 1.156 MB / 330.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.006751/0.2881, allocations: 1.632 MB / 462.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.2885, allocations: 277.9 kB / 463 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2885, allocations: 448 / 463 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2887, allocations: 249.8 kB / 463.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.2892, allocations: 126.9 kB / 463.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2907, allocations: 0.8374 MB / 464.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.2908, allocations: 109.6 kB / 464.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.2909, allocations: 70.22 kB / 464.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.2911, allocations: 153.3 kB / 464.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2911, allocations: 0 / 464.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Templates: time 0.05943/0.3505, allocations: 56.3 MB / 0.5086 GB, free: 5.773 MB / 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.119268439244479]