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.001693/0.001693, allocations: 77.16 kB / 21.27 MB, free: 0.5312 MB / 14.72 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.001917/0.001917, allocations: 161.8 kB / 24.54 MB, free: 3.832 MB / 14.72 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.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 9.285 MB / 190.1 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.1532/0.1532, allocations: 19.7 MB / 281 MB, free: 13.06 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.91 kB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4573, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.06927/0.5266, allocations: 46.67 MB / 0.5124 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.5492, allocations: 15.34 MB / 0.5274 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.5497, allocations: 15.88 kB / 0.5274 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.5507, allocations: 258.4 kB / 0.5277 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007936/0.5586, allocations: 2.38 MB / 0.53 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009956/0.5685, allocations: 3.205 MB / 0.5331 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.5702, allocations: 0.8638 MB / 0.534 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.5708, allocations: 237.1 kB / 0.5342 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000781/0.5716, allocations: 486.5 kB / 0.5347 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.5721, allocations: 374.5 kB / 0.535 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.5722, allocations: 32 kB / 0.5351 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01581/0.588, allocations: 7.141 MB / 0.542 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.5882, allocations: 95.56 kB / 0.5421 GB, free: 5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.5886, allocations: 219 kB / 0.5423 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.6003, allocations: 4.61 MB / 0.5468 GB, free: 168 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6003, allocations: 0 / 0.5468 GB, free: 168 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6003, allocations: 0 / 0.5468 GB, free: 168 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.6003, allocations: 0 / 0.5468 GB, free: 168 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003695/0.604, allocations: 1.327 MB / 0.5481 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.6041, allocations: 8.031 kB / 0.5481 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.6051, allocations: 156.5 kB / 0.5483 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006842/0.6057, allocations: 300.5 kB / 0.5486 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.6058, allocations: 25.03 kB / 0.5486 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.6059, allocations: 32.38 kB / 0.5486 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6069, allocations: 0.5665 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6069, allocations: 0 / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.607, allocations: 16 kB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.607, allocations: 8 kB / 0.5492 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.6077, allocations: 365.7 kB / 0.5496 GB, free: 13.23 MB / 462.1 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.00226/0.61, allocations: 1.676 MB / 0.5512 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.6106, allocations: 322.1 kB / 0.5515 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.6109, allocations: 192.1 kB / 0.5517 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06193/0.6728, allocations: 17.63 MB / 0.5689 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000817/0.6737, allocations: 366 kB / 0.5692 GB, free: 8.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.445e-06/0.6737, allocations: 0 / 0.5692 GB, free: 8.891 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004252/0.6779, allocations: 1.711 MB / 0.5709 GB, free: 7.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.678, allocations: 136.5 kB / 0.571 GB, free: 6.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.6785, allocations: 357.6 kB / 0.5714 GB, free: 6.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.6785, allocations: 29.7 kB / 0.5714 GB, free: 6.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.6787, allocations: 252.6 kB / 0.5717 GB, free: 6.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6789, allocations: 119 kB / 0.5718 GB, free: 6.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.679, allocations: 77.97 kB / 0.5718 GB, free: 6.066 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.6792, allocations: 354.7 kB / 0.5722 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.6795, allocations: 196.2 kB / 0.5724 GB, free: 5.508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.6798, allocations: 313.3 kB / 0.5727 GB, free: 5.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.6805, allocations: 474 kB / 0.5731 GB, free: 4.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6805, allocations: 0 / 0.5731 GB, free: 4.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00121/0.6817, allocations: 0.6886 MB / 0.5738 GB, free: 3.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-05/0.6818, allocations: 75.38 kB / 0.5739 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6818, allocations: 0 / 0.5739 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.6831, allocations: 157.8 kB / 0.574 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.6833, allocations: 67.91 kB / 0.5741 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.6844, allocations: 1.128 MB / 0.5752 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.6847, allocations: 23.92 kB / 0.5752 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.6847, allocations: 12 kB / 0.5752 GB, free: 2.387 MB / 478.1 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.0003104/0.685, allocations: 257.9 kB / 0.5755 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.6851, allocations: 43.77 kB / 0.5755 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.6874, allocations: 1.683 MB / 0.5772 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.6875, allocations: 19.97 kB / 0.5772 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.6875, allocations: 3.938 kB / 0.5772 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-06/0.6875, allocations: 7.984 kB / 0.5772 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.6882, allocations: 0.5842 MB / 0.5778 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.6882, allocations: 0 / 0.5778 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.6885, allocations: 47.91 kB / 0.5778 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/0.6891, allocations: 257.2 kB / 0.578 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.6892, allocations: 19.98 kB / 0.5781 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.6903, allocations: 1.351 MB / 0.5794 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6903, allocations: 3.984 kB / 0.5794 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.6928, allocations: 1.879 MB / 0.5812 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.693, allocations: 99.39 kB / 0.5813 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.6931, allocations: 15.98 kB / 0.5813 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.6933, allocations: 12.16 kB / 0.5813 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.6933, allocations: 27.91 kB / 0.5814 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.6934, allocations: 19.98 kB / 0.5814 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.6936, allocations: 247.2 kB / 0.5816 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6936, allocations: 0 / 0.5816 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003147/0.6968, allocations: 1.119 MB / 0.5827 GB, free: 10.5 MB / 494.1 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.00544/0.7022, allocations: 1.342 MB / 0.584 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.7037, allocations: 0.8131 MB / 0.5848 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7037, allocations: 4 kB / 0.5848 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.7045, allocations: 0.5756 MB / 0.5854 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.7054, allocations: 157.1 kB / 0.5855 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.708, allocations: 1.544 MB / 0.587 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.7083, allocations: 317.5 kB / 0.5873 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.7086, allocations: 86.81 kB / 0.5874 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.7087, allocations: 36.48 kB / 0.5875 GB, free: 5.477 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7087, allocations: 0 / 0.5875 GB, free: 5.477 MB / 494.1 MB Notification: Performance of Templates: time 0.06147/0.7701, allocations: 39.98 MB / 0.6265 GB, free: 13.57 MB / 0.5294 GB " [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=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.816887825960293] Failed to read output from testmodel.py, exit status != 0: 0.7793291669804603 1.095830073 0.19074663600000002 Calling exit ...