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.00137/0.00137, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001589/0.001589, allocations: 210.1 kB / 24.49 MB, free: 4.148 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.961 MB / 206.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.1491/0.1491, allocations: 26.81 MB / 341.5 MB, free: 8.184 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.002061/0.002061, allocations: 75.89 kB / 478.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 60.47 MB / 0.5259 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05811/0.3939, allocations: 51.92 MB / 0.5766 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02399/0.4179, allocations: 17.3 MB / 0.5935 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005503/0.4185, allocations: 15.81 kB / 0.5936 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009739/0.4194, allocations: 266.4 kB / 0.5938 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007904/0.4273, allocations: 2.399 MB / 0.5962 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009883/0.4372, allocations: 3.265 MB / 0.5993 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.4387, allocations: 0.8599 MB / 0.6002 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006063/0.4394, allocations: 253 kB / 0.6004 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.4401, allocations: 342.8 kB / 0.6008 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007448/0.4408, allocations: 390.5 kB / 0.6011 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.4409, allocations: 36 kB / 0.6012 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.458, allocations: 7.566 MB / 0.6085 GB, free: 212 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.4582, allocations: 103.5 kB / 0.6086 GB, free: 108 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.4587, allocations: 258.7 kB / 0.6089 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.4713, allocations: 4.638 MB / 0.6134 GB, free: 11.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4713, allocations: 0 / 0.6134 GB, free: 11.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4713, allocations: 0 / 0.6134 GB, free: 11.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.4713, allocations: 0 / 0.6134 GB, free: 11.2 MB / 462.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.003586/0.4749, allocations: 1.337 MB / 0.6147 GB, free: 9.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.475, allocations: 8.031 kB / 0.6147 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4761, allocations: 160.4 kB / 0.6149 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.4768, allocations: 300.5 kB / 0.6152 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.4768, allocations: 29.02 kB / 0.6152 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.4769, allocations: 36.38 kB / 0.6152 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4779, allocations: 483 kB / 0.6157 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4779, allocations: 3.938 kB / 0.6157 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.4779, allocations: 12 kB / 0.6157 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.478, allocations: 11.98 kB / 0.6157 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.4787, allocations: 306.3 kB / 0.616 GB, free: 8.426 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.003048/0.4817, allocations: 2.464 MB / 0.6184 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.4824, allocations: 258.5 kB / 0.6187 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.4826, allocations: 128.8 kB / 0.6188 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06288/0.5455, allocations: 17.55 MB / 0.6359 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000729/0.5462, allocations: 307.2 kB / 0.6362 GB, free: 3.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.5462, allocations: 7.938 kB / 0.6362 GB, free: 3.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004109/0.5503, allocations: 1.567 MB / 0.6378 GB, free: 1.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5504, allocations: 140.5 kB / 0.6379 GB, free: 1.602 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.5509, allocations: 413.8 kB / 0.6383 GB, free: 1.184 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.551, allocations: 29.7 kB / 0.6383 GB, free: 1.148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5512, allocations: 244.5 kB / 0.6386 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5513, allocations: 119 kB / 0.6387 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.5514, allocations: 77.98 kB / 0.6387 GB, free: 0.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5516, allocations: 358.8 kB / 0.6391 GB, free: 356 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.5518, allocations: 132.7 kB / 0.6392 GB, free: 224 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.5522, allocations: 215.9 kB / 0.6394 GB, free: 15.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.5528, allocations: 470.2 kB / 0.6399 GB, free: 15.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5528, allocations: 0 / 0.6399 GB, free: 15.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001158/0.5539, allocations: 0.6151 MB / 0.6405 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.554, allocations: 82.31 kB / 0.6405 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.554, allocations: 4 kB / 0.6405 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.5552, allocations: 153.5 kB / 0.6407 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.5555, allocations: 63.91 kB / 0.6408 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.5566, allocations: 1.132 MB / 0.6419 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.5569, allocations: 23.92 kB / 0.6419 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.5569, allocations: 16 kB / 0.6419 GB, free: 13.29 MB / 494.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.0003588/0.5573, allocations: 253.2 kB / 0.6421 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.5574, allocations: 47.72 kB / 0.6422 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.5598, allocations: 1.615 MB / 0.6438 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.5598, allocations: 19.91 kB / 0.6438 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5598, allocations: 4 kB / 0.6438 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.5598, allocations: 3.984 kB / 0.6438 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/0.5607, allocations: 0.7157 MB / 0.6445 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5607, allocations: 0 / 0.6445 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.5609, allocations: 39.98 kB / 0.6445 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006528/0.5616, allocations: 264.2 kB / 0.6448 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.5616, allocations: 15.98 kB / 0.6448 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.5628, allocations: 1.351 MB / 0.6461 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5628, allocations: 0 / 0.6461 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.5651, allocations: 1.738 MB / 0.6478 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.5654, allocations: 111.3 kB / 0.6479 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.5655, allocations: 12 kB / 0.6479 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.5656, allocations: 16.09 kB / 0.6479 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.5657, allocations: 23.95 kB / 0.648 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.5658, allocations: 19.94 kB / 0.648 GB, free: 6.879 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.5661, allocations: 279.1 kB / 0.6483 GB, free: 6.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5661, allocations: 0 / 0.6483 GB, free: 6.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00296/0.5691, allocations: 1.123 MB / 0.6493 GB, free: 5.477 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.004914/0.574, allocations: 1.339 MB / 0.6507 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.5753, allocations: 0.6855 MB / 0.6513 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5753, allocations: 0 / 0.6513 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.5761, allocations: 0.5096 MB / 0.6518 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5771, allocations: 181.3 kB / 0.652 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5796, allocations: 1.549 MB / 0.6535 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.5802, allocations: 0.9151 MB / 0.6544 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5803, allocations: 31.44 kB / 0.6544 GB, free: 156 kB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5803, allocations: 0 / 0.6544 GB, free: 156 kB / 494.1 MB Notification: Performance of Templates: time 0.04603/0.6264, allocations: 29.23 MB / 0.683 GB, free: 2.922 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.427683365065604] Failed to read output from testmodel.py, exit status != 0: 0.6358885549707338 0.6516254840000001 0.17687201700000002 Calling exit ...