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.000943/0.000943, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.00242, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001054/0.001054, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002414, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9313/0.9313, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08368/1.015, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.08264/0.08264, allocations: 19.8 MB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01195/0.09459, allocations: 7.553 MB / 271.5 MB, free: 3.355 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_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 9.12e-07/9.12e-07, allocations: 0 / 272.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.651e-05, allocations: 5.828 kB / 272.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.1263/0.1263, allocations: 21.8 MB / 294.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.138, allocations: 14.45 MB / 309.1 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.1382, allocations: 11.94 kB / 309.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1385, allocations: 122.9 kB / 309.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1387, allocations: 234.3 kB / 309.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.1494, allocations: 5.89 MB / 315.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.1499, allocations: 0.6218 MB / 316 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1501, allocations: 202.3 kB / 316.2 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.1504, allocations: 365.1 kB / 316.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1506, allocations: 175.4 kB / 316.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1506, allocations: 24 kB / 316.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00971/0.1603, allocations: 9.196 MB / 325.9 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.1604, allocations: 55.75 kB / 326 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.832e-05/0.1605, allocations: 115.8 kB / 326.1 MB, free: 8.289 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005493/0.166, allocations: 4.865 MB / 330.9 MB, free: 3.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.166, allocations: 0 / 330.9 MB, free: 3.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.166, allocations: 3.938 kB / 330.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.166, allocations: 4 kB / 330.9 MB, free: 3.406 MB / 314.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.001708/0.1677, allocations: 1.605 MB / 332.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.515e-05/0.1677, allocations: 8.031 kB / 332.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1679, allocations: 76.86 kB / 332.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1681, allocations: 251 kB / 332.9 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1682, allocations: 21.03 kB / 332.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.1682, allocations: 28.33 kB / 332.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1685, allocations: 310.1 kB / 333.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1685, allocations: 11.88 kB / 333.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1685, allocations: 8 kB / 333.2 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1685, allocations: 8 kB / 333.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1687, allocations: 115.3 kB / 333.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.1695, allocations: 0.9392 MB / 334.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.1697, allocations: 126.4 kB / 334.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.1698, allocations: 20.84 kB / 334.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3091/0.4789, allocations: 116.7 MB / 451.2 MB, free: 112 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4789, allocations: 41.3 kB / 451.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/0.4789, allocations: 0 / 451.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005088/0.4794, allocations: 235.4 kB / 451.4 MB, free: 111.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.211e-05/0.4795, allocations: 56.28 kB / 451.5 MB, free: 111.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4796, allocations: 265.2 kB / 451.8 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.4796, allocations: 29.39 kB / 451.8 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.4796, allocations: 190.8 kB / 452 MB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.4797, allocations: 50.3 kB / 452 MB, free: 111.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.4797, allocations: 49.91 kB / 452.1 MB, free: 111.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.158e-05/0.4797, allocations: 343.8 kB / 452.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.4797, allocations: 18.98 kB / 452.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.4798, allocations: 79.81 kB / 452.5 MB, free: 110.8 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.0001437/0.4799, allocations: 140.6 kB / 452.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4799, allocations: 3.188 kB / 452.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001317/0.4801, allocations: 143.2 kB / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.4801, allocations: 8 kB / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4801, allocations: 0 / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.986e-05/0.4802, allocations: 32.33 kB / 452.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4803, allocations: 58.38 kB / 452.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000344/0.4806, allocations: 1.16 MB / 454 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.4807, allocations: 20.16 kB / 454.1 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4807, allocations: 6.875 kB / 454.1 MB, free: 109.2 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.456e-05/0.4808, allocations: 134.6 kB / 454.2 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4808, allocations: 19.98 kB / 454.2 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.481, allocations: 400.1 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4811, allocations: 4 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4811, allocations: 3.984 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4811, allocations: 2.906 kB / 454.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.4815, allocations: 0.6337 MB / 455.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4815, allocations: 0 / 455.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4816, allocations: 48.2 kB / 455.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.4816, allocations: 44.19 kB / 455.3 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.588e-05/0.4817, allocations: 24.12 kB / 455.4 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4817, allocations: 6.938 kB / 455.4 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002688/0.4819, allocations: 1.155 MB / 456.5 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4819, allocations: 0 / 456.5 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4821, allocations: 434.1 kB / 457 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4822, allocations: 8.812 kB / 457 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.4822, allocations: 0 / 457 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.4823, allocations: 16.11 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-06/0.4823, allocations: 4 kB / 457 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.4823, allocations: 106.6 kB / 457.1 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.4823, allocations: 4.062 kB / 457.1 MB, free: 106.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001664/0.484, allocations: 1.289 MB / 458.4 MB, free: 105 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.002752/0.4867, allocations: 1.723 MB / 460.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.4869, allocations: 220.6 kB / 460.3 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4869, allocations: 4 kB / 460.3 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.487, allocations: 195.6 kB / 460.5 MB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4874, allocations: 0.8331 MB / 461.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.4915, allocations: 0.7952 MB / 462.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.4915, allocations: 115.3 kB / 462.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.4916, allocations: 67.56 kB / 462.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.4918, allocations: 128.8 kB / 462.4 MB, free: 101 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4918, allocations: 0 / 462.4 MB, free: 101 MB / 410.7 MB Notification: Performance of Templates: time 0.02932/0.5211, allocations: 44.91 MB / 0.4955 GB, free: 56.41 MB / 410.7 MB " [Timeout remaining time 659] 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.139092375524342]