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.0009612/0.0009612, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009677/0.0009677, allocations: 174.6 kB / 24.92 MB, free: 9.211 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.9283/0.9283, allocations: 158.6 MB / 186.8 MB, free: 2.754 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.204/0.204, allocations: 36.34 MB / 275.4 MB, free: 10.55 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.553e-06/1.553e-06, allocations: 0 / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.205e-05, allocations: 3.438 kB / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.02212/0.02214, allocations: 21.63 MB / 326.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.03669, allocations: 14.35 MB / 341.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.03704, allocations: 15.88 kB / 341.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.03749, allocations: 119 kB / 341.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.03789, allocations: 230.3 kB / 341.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.05271, allocations: 5.892 MB / 347.5 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.05351, allocations: 0.6139 MB / 348.1 MB, free: 9.082 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.05387, allocations: 198.3 kB / 348.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.05428, allocations: 315.1 kB / 348.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.05453, allocations: 175.4 kB / 348.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.05456, allocations: 24 kB / 348.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/0.06973, allocations: 9.171 MB / 358 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.06985, allocations: 75.62 kB / 358 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.07012, allocations: 135.7 kB / 358.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.08478, allocations: 6.505 MB / 364.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.08479, allocations: 0 / 364.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08479, allocations: 0 / 364.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.08479, allocations: 0 / 364.7 MB, free: 8.469 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.003161/0.08796, allocations: 1.17 MB / 365.8 MB, free: 7.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.08799, allocations: 8.031 kB / 365.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.0882, allocations: 72.88 kB / 365.9 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.0885, allocations: 237.6 kB / 366.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.08851, allocations: 25.03 kB / 366.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.08855, allocations: 24.38 kB / 366.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.08894, allocations: 318.1 kB / 366.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.08896, allocations: 3.938 kB / 366.5 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.08897, allocations: 16 kB / 366.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.08898, allocations: 4 kB / 366.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.08919, allocations: 115.3 kB / 366.6 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.09017, allocations: 0.9469 MB / 367.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.09047, allocations: 126.4 kB / 367.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.0905, allocations: 20.84 kB / 367.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3818/0.4723, allocations: 116.5 MB / 484.3 MB, free: 127 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4723, allocations: 38.56 kB / 484.3 MB, free: 126.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/0.4723, allocations: 0 / 484.3 MB, free: 126.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007908/0.4731, allocations: 232.8 kB / 484.5 MB, free: 126.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.4731, allocations: 60.94 kB / 484.6 MB, free: 126.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.4733, allocations: 265.1 kB / 484.8 MB, free: 126.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.4733, allocations: 29.14 kB / 484.9 MB, free: 126.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.4734, allocations: 187.1 kB / 485.1 MB, free: 126.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.4735, allocations: 59.75 kB / 485.1 MB, free: 126.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.4735, allocations: 43 kB / 485.2 MB, free: 126.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.4736, allocations: 350 kB / 485.5 MB, free: 126 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.4736, allocations: 14.72 kB / 485.5 MB, free: 126 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.4737, allocations: 73.2 kB / 485.6 MB, free: 125.9 MB / 426.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.0002045/0.4739, allocations: 136.1 kB / 485.7 MB, free: 125.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4739, allocations: 1.641 kB / 485.7 MB, free: 125.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001994/0.4741, allocations: 146.6 kB / 485.9 MB, free: 125.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4741, allocations: 8.031 kB / 485.9 MB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4741, allocations: 4 kB / 485.9 MB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.4742, allocations: 26.58 kB / 485.9 MB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4744, allocations: 59.38 kB / 486 MB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005089/0.4749, allocations: 1.161 MB / 487.1 MB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.475, allocations: 19.84 kB / 487.1 MB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.475, allocations: 11.03 kB / 487.2 MB, free: 124.4 MB / 426.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 9.171e-05/0.4751, allocations: 120.6 kB / 487.3 MB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.4752, allocations: 25.22 kB / 487.3 MB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.4755, allocations: 419 kB / 487.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4755, allocations: 6.672 kB / 487.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4755, allocations: 1.312 kB / 487.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4756, allocations: 0 / 487.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.4762, allocations: 0.6242 MB / 488.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.4762, allocations: 0 / 488.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4764, allocations: 49.25 kB / 488.4 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.444e-05/0.4764, allocations: 32.47 kB / 488.4 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4764, allocations: 3.812 kB / 488.4 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004352/0.4769, allocations: 1.156 MB / 489.6 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4769, allocations: 0 / 489.6 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.4772, allocations: 428.7 kB / 490 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.4772, allocations: 38.38 kB / 490 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4773, allocations: 3.875 kB / 490 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4774, allocations: 8.797 kB / 490 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4774, allocations: 9.578 kB / 490.1 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4774, allocations: 7.75 kB / 490.1 MB, free: 121.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.4775, allocations: 107.1 kB / 490.2 MB, free: 121.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4775, allocations: 0 / 490.2 MB, free: 121.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003103/0.4806, allocations: 1.284 MB / 491.4 MB, free: 120.6 MB / 426.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.005977/0.4866, allocations: 1.685 MB / 493.1 MB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.487, allocations: 224 kB / 493.4 MB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.487, allocations: 4 kB / 493.4 MB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.4871, allocations: 178.4 kB / 493.5 MB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.4877, allocations: 132.3 kB / 493.7 MB, free: 118.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4891, allocations: 0.8039 MB / 494.5 MB, free: 118.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.4892, allocations: 107.4 kB / 494.6 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.4893, allocations: 69.45 kB / 494.6 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.4895, allocations: 122.8 kB / 494.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4895, allocations: 0 / 494.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of Templates: time 0.05688/0.5464, allocations: 55.15 MB / 0.537 GB, free: 63.25 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.477836097124964]