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.00104/0.00104, 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.001349/0.001349, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9073/0.9073, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.1867/0.1867, allocations: 36.34 MB / 275.4 MB, free: 10.54 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 2.234e-06/2.234e-06, allocations: 0.6094 kB / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.242e-05, allocations: 6.438 kB / 305.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.01945/0.01947, allocations: 21.58 MB / 326.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.03395, allocations: 14.37 MB / 341.2 MB, free: 72 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.03429, allocations: 7.938 kB / 341.2 MB, free: 64 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.03477, allocations: 123 kB / 341.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.03516, allocations: 226.3 kB / 341.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01705/0.05222, allocations: 6.575 MB / 348.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007692/0.05299, allocations: 0.6139 MB / 348.7 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.05332, allocations: 210.2 kB / 348.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.05373, allocations: 307.1 kB / 349.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.05395, allocations: 179.4 kB / 349.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.05398, allocations: 24 kB / 349.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.06652, allocations: 8.547 MB / 357.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.06661, allocations: 75.61 kB / 358 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.0668, allocations: 127.7 kB / 358.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.07865, allocations: 6.501 MB / 364.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.07866, allocations: 0 / 364.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.07866, allocations: 4 kB / 364.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.07867, allocations: 0 / 364.6 MB, free: 8.512 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.00306/0.08173, allocations: 1.166 MB / 365.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.08176, allocations: 8.031 kB / 365.8 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.08197, allocations: 80.8 kB / 365.9 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.0823, allocations: 237.7 kB / 366.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.08232, allocations: 21.03 kB / 366.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.08237, allocations: 28.38 kB / 366.2 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.08279, allocations: 310.1 kB / 366.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.0828, allocations: 7.922 kB / 366.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.08282, allocations: 15.81 kB / 366.5 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.08283, allocations: 4 kB / 366.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.08303, allocations: 115.3 kB / 366.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.08404, allocations: 0.9547 MB / 367.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.0843, allocations: 130.4 kB / 367.7 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.08433, allocations: 16.86 kB / 367.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3693/0.4536, allocations: 116.5 MB / 484.2 MB, free: 126.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4536, allocations: 48.89 kB / 484.3 MB, free: 126.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.4536, allocations: 0 / 484.3 MB, free: 126.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.000632/0.4543, allocations: 234.3 kB / 484.5 MB, free: 126.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.4543, allocations: 51.41 kB / 484.6 MB, free: 126.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4544, allocations: 272.1 kB / 484.8 MB, free: 126.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4545, allocations: 29.7 kB / 484.9 MB, free: 126.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.4545, allocations: 189.4 kB / 485 MB, free: 126 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4546, allocations: 54.5 kB / 485.1 MB, free: 126 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.4546, allocations: 46.72 kB / 485.1 MB, free: 125.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.4546, allocations: 343.3 kB / 485.5 MB, free: 125.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.4547, allocations: 19.09 kB / 485.5 MB, free: 125.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.4547, allocations: 73.83 kB / 485.6 MB, free: 125.5 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.0001893/0.4549, allocations: 133.9 kB / 485.7 MB, free: 125.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4549, allocations: 4 kB / 485.7 MB, free: 125.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001781/0.4551, allocations: 147.7 kB / 485.8 MB, free: 125.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4551, allocations: 4 kB / 485.9 MB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4551, allocations: 4 kB / 485.9 MB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.4553, allocations: 22.91 kB / 485.9 MB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.4554, allocations: 55.88 kB / 485.9 MB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005034/0.4559, allocations: 1.156 MB / 487.1 MB, free: 124 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.456, allocations: 17.47 kB / 487.1 MB, free: 124 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.456, allocations: 11.75 kB / 487.1 MB, free: 124 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 0.0001038/0.4561, allocations: 131.8 kB / 487.2 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4561, allocations: 22.78 kB / 487.3 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.4564, allocations: 402.8 kB / 487.7 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4564, allocations: 7.188 kB / 487.7 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.4564, allocations: 0 / 487.7 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4564, allocations: 4.734 kB / 487.7 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.457, allocations: 0.6312 MB / 488.3 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.457, allocations: 1 kB / 488.3 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.4571, allocations: 36.61 kB / 488.3 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-05/0.4572, allocations: 23.53 kB / 488.4 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4572, allocations: 3.875 kB / 488.4 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003528/0.4575, allocations: 1.156 MB / 489.5 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4575, allocations: 7.031 kB / 489.5 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4578, allocations: 431.3 kB / 490 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.4578, allocations: 35.36 kB / 490 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4578, allocations: 4 kB / 490 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.4579, allocations: 4.234 kB / 490 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.4579, allocations: 10.19 kB / 490 MB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.4579, allocations: 6.688 kB / 490 MB, free: 121.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.982e-05/0.458, allocations: 99.62 kB / 490.1 MB, free: 121.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.458, allocations: 0 / 490.1 MB, free: 121.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002869/0.4609, allocations: 1.284 MB / 491.4 MB, free: 120.2 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.004611/0.4655, allocations: 1.694 MB / 493.1 MB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004151/0.4659, allocations: 232.1 kB / 493.3 MB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.4659, allocations: 0 / 493.3 MB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.466, allocations: 177.9 kB / 493.5 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.4665, allocations: 134.3 kB / 493.6 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.468, allocations: 0.8055 MB / 494.4 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.8e-05/0.468, allocations: 108.6 kB / 494.5 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.4682, allocations: 72.27 kB / 494.6 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4683, allocations: 117.3 kB / 494.7 MB, free: 117.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/0.4683, allocations: 0 / 494.7 MB, free: 117.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05013/0.5185, allocations: 55.01 MB / 0.5368 GB, free: 63.11 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.539993229787797]