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.001466/0.001466, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001642/0.001642, allocations: 161.7 kB / 24.27 MB, free: 172 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.455/1.455, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.1508/0.1508, allocations: 19.74 MB / 280.8 MB, free: 9.309 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.164e-06/2.164e-06, allocations: 0 / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.046e-05, allocations: 2.312 kB / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1231/0.1231, allocations: 52.67 MB / 409.9 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1544/0.2775, allocations: 9.222 MB / 419.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.2778, allocations: 12.31 kB / 419.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.2785, allocations: 270.7 kB / 419.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005702/0.2842, allocations: 2.408 MB / 421.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00841/0.2927, allocations: 3.257 MB / 425.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2937, allocations: 0.898 MB / 426 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.2941, allocations: 250 kB / 426.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.2946, allocations: 488.1 kB / 426.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.295, allocations: 334.8 kB / 427 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.2951, allocations: 33.5 kB / 427 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.3076, allocations: 7.163 MB / 434.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3077, allocations: 100.3 kB / 434.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.308, allocations: 179.4 kB / 434.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008212/0.3162, allocations: 5.764 MB / 440.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3162, allocations: 0.5938 kB / 440.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3162, allocations: 5.688 kB / 440.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3162, allocations: 0 / 440.2 MB, free: 12.09 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.002388/0.3186, allocations: 1.327 MB / 441.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3186, allocations: 8.594 kB / 441.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/0.3196, allocations: 217.8 kB / 441.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.32, allocations: 302.2 kB / 442.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.32, allocations: 32.88 kB / 442.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.3201, allocations: 38.16 kB / 442.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.3209, allocations: 0.5635 MB / 442.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3209, allocations: 6.562 kB / 442.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.3209, allocations: 18.75 kB / 442.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3209, allocations: 8.781 kB / 442.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.3215, allocations: 372.5 kB / 443.1 MB, free: 10.49 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3231, allocations: 1.695 MB / 444.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.3237, allocations: 313.4 kB / 445.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.3238, allocations: 191 kB / 445.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05852/0.3824, allocations: 17.63 MB / 462.9 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.3832, allocations: 360.8 kB / 463.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.3832, allocations: 0 / 463.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.004468/0.3876, allocations: 1.742 MB / 465 MB, free: 7.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3878, allocations: 140.5 kB / 465.2 MB, free: 6.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.3882, allocations: 353.6 kB / 465.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.3883, allocations: 29.7 kB / 465.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.3885, allocations: 256.5 kB / 465.8 MB, free: 6.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3886, allocations: 121.5 kB / 465.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3888, allocations: 75.38 kB / 466 MB, free: 6.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.389, allocations: 358.7 kB / 466.3 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3893, allocations: 196.2 kB / 466.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.3897, allocations: 308.4 kB / 466.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.3904, allocations: 474.7 kB / 467.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3904, allocations: 0 / 467.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001348/0.3918, allocations: 0.7126 MB / 468 MB, free: 3.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.3919, allocations: 75.38 kB / 468.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3919, allocations: 0 / 468.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3932, allocations: 159.1 kB / 468.2 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.3934, allocations: 63.75 kB / 468.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.3947, allocations: 1.133 MB / 469.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.395, allocations: 17.27 kB / 469.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.395, allocations: 19.94 kB / 469.5 MB, free: 2.48 MB / 346.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.0003148/0.3954, allocations: 242 kB / 469.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3955, allocations: 63.77 kB / 469.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.398, allocations: 1.686 MB / 471.4 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.3981, allocations: 19.97 kB / 471.5 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3981, allocations: 0 / 471.5 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3981, allocations: 0 / 471.5 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.3989, allocations: 0.5966 MB / 472.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.3989, allocations: 8 kB / 472.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.3991, allocations: 47.34 kB / 472.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/0.3998, allocations: 256.2 kB / 472.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.3998, allocations: 19.73 kB / 472.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.4012, allocations: 1.354 MB / 473.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4012, allocations: 4.031 kB / 473.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.4039, allocations: 1.885 MB / 475.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.4041, allocations: 103.4 kB / 475.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.4042, allocations: 11.98 kB / 475.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4044, allocations: 12 kB / 475.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.4045, allocations: 29.58 kB / 475.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.4045, allocations: 16 kB / 475.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003019/0.4048, allocations: 251.2 kB / 476 MB, free: 11.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4048, allocations: 0 / 476 MB, free: 11.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003287/0.4081, allocations: 1.127 MB / 477.2 MB, free: 10.61 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.004805/0.4129, allocations: 1.486 MB / 478.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.4145, allocations: 0.8125 MB / 479.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4145, allocations: 0 / 479.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000892/0.4153, allocations: 0.5778 MB / 480 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/0.4163, allocations: 170 kB / 480.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.4188, allocations: 1.5 MB / 481.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4192, allocations: 317.3 kB / 482 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.4194, allocations: 98.36 kB / 482.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.4195, allocations: 32.5 kB / 482.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4195, allocations: 0 / 482.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of Templates: time 0.06453/0.484, allocations: 40.49 MB / 0.5104 GB, free: 13.3 MB / 410.7 MB " [Timeout remaining time 660] 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.569225328043103]