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.001548/0.001548, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001943/0.001943, allocations: 211.1 kB / 24.48 MB, free: 3.863 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.1521/0.1521, allocations: 26.84 MB / 341.5 MB, free: 7.996 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.002109/0.002109, allocations: 71.89 kB / 478 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2823, allocations: 60.48 MB / 0.5259 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05028/0.3326, allocations: 46.89 MB / 0.5717 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.3531, allocations: 15.38 MB / 0.5867 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004729/0.3535, allocations: 11.88 kB / 0.5867 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.3543, allocations: 262.5 kB / 0.587 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.3615, allocations: 2.382 MB / 0.5893 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009093/0.3706, allocations: 3.209 MB / 0.5924 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.372, allocations: 0.8599 MB / 0.5933 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.3724, allocations: 237 kB / 0.5935 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.3729, allocations: 358.7 kB / 0.5938 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.3735, allocations: 366.5 kB / 0.5942 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.3735, allocations: 36 kB / 0.5942 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.3878, allocations: 7.137 MB / 0.6012 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3879, allocations: 99.56 kB / 0.6013 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.3883, allocations: 218.9 kB / 0.6015 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.3989, allocations: 4.61 MB / 0.606 GB, free: 2.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3989, allocations: 0 / 0.606 GB, free: 2.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3989, allocations: 0 / 0.606 GB, free: 2.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3989, allocations: 0 / 0.606 GB, free: 2.594 MB / 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.002976/0.4019, allocations: 1.323 MB / 0.6073 GB, free: 1.223 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4019, allocations: 8.031 kB / 0.6073 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/0.4028, allocations: 160.5 kB / 0.6074 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.4034, allocations: 304.5 kB / 0.6077 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.4035, allocations: 25.03 kB / 0.6077 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.4035, allocations: 36.31 kB / 0.6078 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.4045, allocations: 0.5626 MB / 0.6083 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4045, allocations: 0 / 0.6083 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.4046, allocations: 16 kB / 0.6083 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4046, allocations: 8 kB / 0.6084 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.4053, allocations: 369.7 kB / 0.6087 GB, free: 15.65 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.002204/0.4075, allocations: 1.671 MB / 0.6103 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.4081, allocations: 318.2 kB / 0.6106 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.4084, allocations: 200.1 kB / 0.6108 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06425/0.4726, allocations: 17.62 MB / 0.628 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007448/0.4734, allocations: 364.1 kB / 0.6284 GB, free: 11.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.4734, allocations: 0 / 0.6284 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003941/0.4773, allocations: 1.711 MB / 0.6301 GB, free: 9.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4774, allocations: 140.5 kB / 0.6302 GB, free: 9.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.4778, allocations: 357.6 kB / 0.6305 GB, free: 8.984 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.4779, allocations: 29.7 kB / 0.6306 GB, free: 8.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.4781, allocations: 256.5 kB / 0.6308 GB, free: 8.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4782, allocations: 115.1 kB / 0.6309 GB, free: 8.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4783, allocations: 77.97 kB / 0.631 GB, free: 8.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4785, allocations: 354.7 kB / 0.6313 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.4788, allocations: 196.1 kB / 0.6315 GB, free: 7.938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.4792, allocations: 308.9 kB / 0.6318 GB, free: 7.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.4798, allocations: 474.2 kB / 0.6323 GB, free: 7.074 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4798, allocations: 0 / 0.6323 GB, free: 7.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00119/0.481, allocations: 0.6926 MB / 0.6329 GB, free: 6.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.481, allocations: 78.03 kB / 0.633 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4811, allocations: 4 kB / 0.633 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.4823, allocations: 161.5 kB / 0.6332 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.4825, allocations: 59.92 kB / 0.6332 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.4836, allocations: 1.128 MB / 0.6343 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4838, allocations: 23.95 kB / 0.6344 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.4839, allocations: 12 kB / 0.6344 GB, free: 4.816 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.0003022/0.4842, allocations: 253.1 kB / 0.6346 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.4843, allocations: 43.77 kB / 0.6347 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.4866, allocations: 1.673 MB / 0.6363 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.4866, allocations: 19.97 kB / 0.6363 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4866, allocations: 3.938 kB / 0.6363 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4866, allocations: 4.031 kB / 0.6363 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.4873, allocations: 0.5914 MB / 0.6369 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4873, allocations: 4 kB / 0.6369 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.4876, allocations: 43.91 kB / 0.6369 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006024/0.4882, allocations: 268.1 kB / 0.6372 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.4882, allocations: 19.98 kB / 0.6372 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.4893, allocations: 1.347 MB / 0.6385 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4893, allocations: 0 / 0.6385 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.4917, allocations: 1.878 MB / 0.6404 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4919, allocations: 99.45 kB / 0.6405 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.492, allocations: 11.98 kB / 0.6405 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4921, allocations: 12 kB / 0.6405 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.4922, allocations: 27.89 kB / 0.6405 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.4923, allocations: 16 kB / 0.6405 GB, free: 14.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.4925, allocations: 247.2 kB / 0.6408 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4925, allocations: 0 / 0.6408 GB, free: 14.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002939/0.4955, allocations: 1.123 MB / 0.6418 GB, free: 12.94 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.004475/0.4999, allocations: 1.336 MB / 0.6432 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.5014, allocations: 0.8166 MB / 0.644 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5014, allocations: 4 kB / 0.644 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.5022, allocations: 0.572 MB / 0.6445 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.5031, allocations: 153.2 kB / 0.6447 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.5055, allocations: 1.588 MB / 0.6462 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5059, allocations: 309.5 kB / 0.6465 GB, free: 8.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.506, allocations: 39.42 kB / 0.6465 GB, free: 7.969 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.506, allocations: 0 / 0.6465 GB, free: 7.969 MB / 494.1 MB Notification: Performance of Templates: time 0.04347/0.5494, allocations: 29.12 MB / 0.675 GB, free: 10.84 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.125351776950993] Failed to read output from testmodel.py, exit status != 0: 0.5581831819145009 0.5730846110000001 0.170865384 Calling exit ...