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.0009291/0.0009291, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001463/0.001463, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9319/0.9319, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.09518/0.09518, allocations: 19.74 MB / 281.6 MB, free: 9.156 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.934e-06/1.934e-06, allocations: 1.594 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.547e-05, allocations: 4.422 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.01867/0.01868, allocations: 21.68 MB / 326.9 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.03099, allocations: 14.37 MB / 341.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.03119, allocations: 7.938 kB / 341.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.0316, allocations: 115 kB / 341.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.0319, allocations: 238.2 kB / 341.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01331/0.04521, allocations: 6.6 MB / 348.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008583/0.04607, allocations: 0.6178 MB / 348.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.04636, allocations: 186.4 kB / 349 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.04672, allocations: 315.1 kB / 349.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.04694, allocations: 175.4 kB / 349.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.04697, allocations: 32 kB / 349.5 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.05844, allocations: 8.56 MB / 358.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.05851, allocations: 67.62 kB / 358.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.05865, allocations: 139.7 kB / 358.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008729/0.06738, allocations: 6.513 MB / 364.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.06739, allocations: 0 / 364.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.06739, allocations: 0 / 364.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.06739, allocations: 0 / 364.8 MB, free: 2.508 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.001883/0.06928, allocations: 1.178 MB / 366 MB, free: 1.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.06931, allocations: 12.03 kB / 366 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.06948, allocations: 84.75 kB / 366 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.06974, allocations: 241.6 kB / 366.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.06976, allocations: 21.03 kB / 366.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.0698, allocations: 24.38 kB / 366.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.07014, allocations: 314.1 kB / 366.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.07015, allocations: 7.938 kB / 366.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.07017, allocations: 12 kB / 366.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.07017, allocations: 4 kB / 366.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.07034, allocations: 115.3 kB / 366.8 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.07145, allocations: 0.943 MB / 367.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.07168, allocations: 130.3 kB / 367.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.07171, allocations: 18.23 kB / 367.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3344/0.4062, allocations: 116.7 MB / 484.6 MB, free: 96.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4062, allocations: 34.56 kB / 484.6 MB, free: 96.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.4062, allocations: 0 / 484.6 MB, free: 96.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004786/0.4067, allocations: 236.7 kB / 484.8 MB, free: 96.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/0.4067, allocations: 58.69 kB / 484.9 MB, free: 96.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4068, allocations: 267.7 kB / 485.2 MB, free: 95.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4068, allocations: 33.52 kB / 485.2 MB, free: 95.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.4069, allocations: 190.5 kB / 485.4 MB, free: 95.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.4069, allocations: 56.47 kB / 485.4 MB, free: 95.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.4069, allocations: 42.22 kB / 485.5 MB, free: 95.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.407, allocations: 343.6 kB / 485.8 MB, free: 95.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.407, allocations: 15.98 kB / 485.8 MB, free: 95.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.407, allocations: 78.83 kB / 485.9 MB, free: 95.15 MB / 410.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.0001544/0.4072, allocations: 137.2 kB / 486 MB, free: 95.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4072, allocations: 4 kB / 486 MB, free: 95 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001271/0.4073, allocations: 143.5 kB / 486.2 MB, free: 94.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.4073, allocations: 4 kB / 486.2 MB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4073, allocations: 4.625 kB / 486.2 MB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.272e-05/0.4074, allocations: 25.06 kB / 486.2 MB, free: 94.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.4075, allocations: 49.69 kB / 486.3 MB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003493/0.4079, allocations: 1.167 MB / 487.4 MB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.4079, allocations: 23.06 kB / 487.5 MB, free: 93.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.408, allocations: 8 kB / 487.5 MB, free: 93.57 MB / 410.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 6.812e-05/0.408, allocations: 120.7 kB / 487.6 MB, free: 93.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.408, allocations: 19.97 kB / 487.6 MB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.4083, allocations: 414.7 kB / 488 MB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4083, allocations: 7.984 kB / 488 MB, free: 93.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.4083, allocations: 3.938 kB / 488 MB, free: 93.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4083, allocations: 2.953 kB / 488 MB, free: 93.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.4088, allocations: 0.6282 MB / 488.6 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4088, allocations: 0 / 488.6 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.4089, allocations: 31.92 kB / 488.7 MB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.175e-05/0.4089, allocations: 22.97 kB / 488.7 MB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4089, allocations: 6.453 kB / 488.7 MB, free: 92.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003011/0.4092, allocations: 1.166 MB / 489.9 MB, free: 91.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4092, allocations: 0 / 489.9 MB, free: 91.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.4094, allocations: 418.5 kB / 490.3 MB, free: 90.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.4095, allocations: 43.12 kB / 490.3 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.4095, allocations: 10.38 kB / 490.3 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.4095, allocations: 0 / 490.3 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.4096, allocations: 16.36 kB / 490.4 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4096, allocations: 11.94 kB / 490.4 MB, free: 90.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.4096, allocations: 100.3 kB / 490.5 MB, free: 90.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.4096, allocations: 0 / 490.5 MB, free: 90.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00245/0.4121, allocations: 1.294 MB / 491.8 MB, free: 89.38 MB / 410.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.003578/0.4157, allocations: 1.697 MB / 493.5 MB, free: 87.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.416, allocations: 217.7 kB / 493.7 MB, free: 87.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.416, allocations: 7.5 kB / 493.7 MB, free: 87.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4161, allocations: 184.6 kB / 493.9 MB, free: 87.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.4166, allocations: 115.5 kB / 494 MB, free: 87.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4178, allocations: 0.8055 MB / 494.8 MB, free: 86.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/0.4178, allocations: 105.6 kB / 494.9 MB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.4179, allocations: 73.16 kB / 494.9 MB, free: 86.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.418, allocations: 127.2 kB / 495.1 MB, free: 86.27 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.418, allocations: 0 / 495.1 MB, free: 86.27 MB / 410.7 MB Notification: Performance of Templates: time 0.05029/0.4683, allocations: 55.12 MB / 0.5373 GB, free: 31.38 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: 5.422228729818016]