Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001911/0.001911, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001968/0.001968, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1536/0.1536, allocations: 19.73 MB / 280.8 MB, free: 9.281 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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.068e-05, allocations: 5.406 kB / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2893/0.2893, allocations: 59.27 MB / 416.5 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3008, allocations: 10.25 MB / 426.7 MB, free: 16.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.3012, allocations: 11.94 kB / 426.7 MB, free: 16.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.3019, allocations: 265.3 kB / 427 MB, free: 16.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.3076, allocations: 2.407 MB / 429.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008958/0.3166, allocations: 3.266 MB / 432.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3176, allocations: 0.8945 MB / 433.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.318, allocations: 283.3 kB / 433.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.3185, allocations: 474.8 kB / 434.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.3189, allocations: 344.5 kB / 434.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.319, allocations: 34.31 kB / 434.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.3311, allocations: 7.161 MB / 441.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3313, allocations: 99.88 kB / 441.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.3316, allocations: 178.7 kB / 442.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.3425, allocations: 5.768 MB / 447.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3426, allocations: 0 / 447.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3426, allocations: 7.984 kB / 447.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3426, allocations: 0 / 447.9 MB, free: 11.71 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002631/0.3452, allocations: 1.456 MB / 449.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3452, allocations: 9.219 kB / 449.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.3461, allocations: 212.7 kB / 449.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.3465, allocations: 313.3 kB / 449.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3466, allocations: 28.34 kB / 449.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.3466, allocations: 41.33 kB / 449.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.3473, allocations: 0.5795 MB / 450.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3473, allocations: 384 / 450.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.3474, allocations: 18.09 kB / 450.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3474, allocations: 9.688 kB / 450.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.3479, allocations: 342.2 kB / 450.9 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.3496, allocations: 2.246 MB / 453.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.3501, allocations: 291.5 kB / 453.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.3503, allocations: 162.8 kB / 453.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06244/0.4127, allocations: 17.62 MB / 471.2 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007228/0.4135, allocations: 340.5 kB / 471.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.4135, allocations: 0 / 471.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.004004/0.4175, allocations: 1.57 MB / 473.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.4176, allocations: 140.5 kB / 473.2 MB, free: 4.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.4181, allocations: 446.7 kB / 473.7 MB, free: 3.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.4181, allocations: 33.7 kB / 473.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.4184, allocations: 319.3 kB / 474 MB, free: 3.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.4186, allocations: 113.1 kB / 474.1 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.4187, allocations: 99.62 kB / 474.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000338/0.4191, allocations: 0.5469 MB / 474.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.4193, allocations: 164.2 kB / 474.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.4197, allocations: 311.5 kB / 475.2 MB, free: 2.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.4204, allocations: 447 kB / 475.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4204, allocations: 6.562 kB / 475.7 MB, free: 1.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00121/0.4216, allocations: 0.6303 MB / 476.3 MB, free: 1.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.4217, allocations: 67.39 kB / 476.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4217, allocations: 4 kB / 476.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.423, allocations: 173.3 kB / 476.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.4232, allocations: 59.97 kB / 476.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.4247, allocations: 1.684 MB / 478.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.4249, allocations: 16.03 kB / 478.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.425, allocations: 23.94 kB / 478.3 MB, free: 14.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.4253, allocations: 274.9 kB / 478.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4254, allocations: 59.72 kB / 478.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.4274, allocations: 1.178 MB / 479.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.4274, allocations: 23.97 kB / 479.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4274, allocations: 0 / 479.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4274, allocations: 0 / 479.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.4282, allocations: 0.5449 MB / 480.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4282, allocations: 0 / 480.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.4284, allocations: 43.97 kB / 480.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.429, allocations: 203.2 kB / 480.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.4291, allocations: 16 kB / 480.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.4305, allocations: 1.724 MB / 482.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4305, allocations: 0 / 482.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.4326, allocations: 1.312 MB / 483.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.4328, allocations: 103.4 kB / 483.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.4328, allocations: 12 kB / 483.8 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.433, allocations: 12 kB / 483.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.4331, allocations: 23.95 kB / 483.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.4331, allocations: 19.98 kB / 483.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003355/0.4335, allocations: 279.1 kB / 484.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4335, allocations: 0 / 484.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003134/0.4366, allocations: 1.127 MB / 485.3 MB, free: 7.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005057/0.4417, allocations: 1.493 MB / 486.8 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.4431, allocations: 0.6787 MB / 487.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4431, allocations: 0 / 487.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000769/0.4439, allocations: 480.8 kB / 487.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4449, allocations: 179.8 kB / 488.1 MB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.4473, allocations: 1.349 MB / 489.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.4477, allocations: 313.5 kB / 489.7 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.4479, allocations: 90.47 kB / 489.8 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.448, allocations: 40.48 kB / 489.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.448, allocations: 0 / 489.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of Templates: time 0.06786/0.5158, allocations: 41.16 MB / 0.5186 GB, free: 10.19 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.486777732032351]