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.001291/0.001291, allocations: 77.62 kB / 21.28 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.001393/0.001393, allocations: 159.4 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.301 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.1398/0.1398, allocations: 19.71 MB / 281 MB, free: 13.09 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.002338/0.002338, allocations: 67.91 kB / 417.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2852, allocations: 60.45 MB / 478.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05432/0.3395, allocations: 46.68 MB / 0.5124 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.3598, allocations: 15.34 MB / 0.5274 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.3602, allocations: 11.88 kB / 0.5274 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007687/0.361, allocations: 254.5 kB / 0.5277 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006657/0.3676, allocations: 2.38 MB / 0.53 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008654/0.3763, allocations: 3.205 MB / 0.5331 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3776, allocations: 0.8638 MB / 0.534 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.3781, allocations: 237.1 kB / 0.5342 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.3788, allocations: 490.5 kB / 0.5347 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.3793, allocations: 362.5 kB / 0.535 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.3793, allocations: 36 kB / 0.5351 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.3934, allocations: 7.141 MB / 0.542 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.3936, allocations: 103.5 kB / 0.5421 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.394, allocations: 207 kB / 0.5423 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.4051, allocations: 4.61 MB / 0.5468 GB, free: 192 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4051, allocations: 0 / 0.5468 GB, free: 192 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4051, allocations: 0 / 0.5468 GB, free: 192 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4051, allocations: 4 kB / 0.5468 GB, free: 188 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.003085/0.4082, allocations: 1.323 MB / 0.5481 GB, free: 14.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4082, allocations: 12.03 kB / 0.5481 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009589/0.4092, allocations: 156.4 kB / 0.5483 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.4097, allocations: 296.5 kB / 0.5486 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4098, allocations: 29.03 kB / 0.5486 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.4098, allocations: 32.38 kB / 0.5486 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.4108, allocations: 0.5665 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4108, allocations: 0 / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.4109, allocations: 16 kB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.4109, allocations: 11.98 kB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.4116, allocations: 365.7 kB / 0.5496 GB, free: 13.25 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.002228/0.4138, allocations: 1.676 MB / 0.5512 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.4145, allocations: 318.1 kB / 0.5515 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.4147, allocations: 204.1 kB / 0.5517 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06029/0.475, allocations: 17.63 MB / 0.5689 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007306/0.4757, allocations: 362 kB / 0.5692 GB, free: 8.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.235e-06/0.4757, allocations: 0 / 0.5692 GB, free: 8.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003975/0.4797, allocations: 1.711 MB / 0.5709 GB, free: 7.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4798, allocations: 136.5 kB / 0.571 GB, free: 6.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.4802, allocations: 357.6 kB / 0.5714 GB, free: 6.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.4803, allocations: 33.7 kB / 0.5714 GB, free: 6.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4805, allocations: 248.6 kB / 0.5717 GB, free: 6.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.4806, allocations: 119 kB / 0.5718 GB, free: 6.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.4807, allocations: 81.97 kB / 0.5719 GB, free: 6.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4809, allocations: 354.7 kB / 0.5722 GB, free: 5.727 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.4812, allocations: 200.2 kB / 0.5724 GB, free: 5.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.4816, allocations: 301.3 kB / 0.5727 GB, free: 5.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.4822, allocations: 482.1 kB / 0.5731 GB, free: 4.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4822, allocations: 0 / 0.5731 GB, free: 4.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001176/0.4833, allocations: 0.6886 MB / 0.5738 GB, free: 3.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/0.4834, allocations: 71.38 kB / 0.5739 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.4834, allocations: 4.25 kB / 0.5739 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.4847, allocations: 165.5 kB / 0.574 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.4849, allocations: 55.92 kB / 0.5741 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.4861, allocations: 1.136 MB / 0.5752 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.4863, allocations: 19.92 kB / 0.5752 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.4863, allocations: 20 kB / 0.5752 GB, free: 2.395 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.0002896/0.4866, allocations: 252.1 kB / 0.5755 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.4867, allocations: 39.77 kB / 0.5755 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.4892, allocations: 1.695 MB / 0.5772 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.4892, allocations: 19.97 kB / 0.5772 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4892, allocations: 3.938 kB / 0.5772 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4893, allocations: 3.984 kB / 0.5772 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.4899, allocations: 0.5842 MB / 0.5778 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4899, allocations: 0 / 0.5778 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4902, allocations: 51.91 kB / 0.5778 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006009/0.4908, allocations: 262.4 kB / 0.5781 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.4908, allocations: 12 kB / 0.5781 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.4921, allocations: 1.353 MB / 0.5794 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4921, allocations: 0 / 0.5794 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.4946, allocations: 1.879 MB / 0.5812 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4948, allocations: 99.39 kB / 0.5813 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.4949, allocations: 19.98 kB / 0.5813 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.495, allocations: 12 kB / 0.5814 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.4951, allocations: 23.89 kB / 0.5814 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.4951, allocations: 16 kB / 0.5814 GB, free: 11.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.4954, allocations: 247.2 kB / 0.5816 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4954, allocations: 0 / 0.5816 GB, free: 11.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002901/0.4983, allocations: 1.13 MB / 0.5827 GB, free: 10.51 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.003928/0.5022, allocations: 1.333 MB / 0.584 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.5036, allocations: 0.8248 MB / 0.5848 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5036, allocations: 0 / 0.5848 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.5044, allocations: 0.5717 MB / 0.5854 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.5052, allocations: 153.2 kB / 0.5855 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.5076, allocations: 1.582 MB / 0.5871 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5079, allocations: 309.5 kB / 0.5874 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.508, allocations: 36.48 kB / 0.5874 GB, free: 5.539 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.508, allocations: 3.938 kB / 0.5874 GB, free: 5.535 MB / 494.1 MB Notification: Performance of Templates: time 0.04518/0.5532, allocations: 29.14 MB / 0.6159 GB, free: 8.395 MB / 0.5137 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.066445169970393] Failed to read output from testmodel.py, exit status != 0: 0.5629968161229044 0.5779695020000001 0.16937848500000002 Calling exit ...