Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001818/0.001818, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001663/0.001663, allocations: 209.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3251/0.3251, allocations: 49.62 MB / 336.4 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002508/0.002508, allocations: 71.91 kB / 476.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1203, allocations: 62.43 MB / 0.5266 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2637/0.384, allocations: 46.73 MB / 0.5723 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.4064, allocations: 15.4 MB / 0.5873 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.407, allocations: 10.12 kB / 0.5873 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.4079, allocations: 259.6 kB / 0.5876 GB, free: 480 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006929/0.4148, allocations: 2.361 MB / 0.5899 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.4253, allocations: 3.198 MB / 0.593 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.4268, allocations: 0.8569 MB / 0.5938 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/0.4274, allocations: 234.1 kB / 0.5941 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008131/0.4282, allocations: 358.7 kB / 0.5944 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008479/0.4291, allocations: 374.4 kB / 0.5948 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4292, allocations: 36.2 kB / 0.5948 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.4441, allocations: 7.13 MB / 0.6018 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.4443, allocations: 99.56 kB / 0.6018 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.4449, allocations: 211 kB / 0.6021 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.4582, allocations: 4.595 MB / 0.6065 GB, free: 3.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4582, allocations: 0 / 0.6065 GB, free: 3.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4582, allocations: 3.938 kB / 0.6065 GB, free: 3.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.4582, allocations: 4 kB / 0.6065 GB, free: 3.066 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.003541/0.4618, allocations: 1.331 MB / 0.6078 GB, free: 1.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4618, allocations: 8.031 kB / 0.6079 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.4629, allocations: 152.5 kB / 0.608 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.4636, allocations: 304.5 kB / 0.6083 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.4636, allocations: 29.03 kB / 0.6083 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.4637, allocations: 32.56 kB / 0.6083 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.4648, allocations: 0.5665 MB / 0.6089 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4649, allocations: 0 / 0.6089 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.4649, allocations: 12 kB / 0.6089 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4649, allocations: 8 kB / 0.6089 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.4657, allocations: 369.7 kB / 0.6093 GB, free: 128 kB / 446.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.002654/0.4683, allocations: 1.667 MB / 0.6109 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.469, allocations: 313.9 kB / 0.6112 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.4693, allocations: 196.3 kB / 0.6114 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06565/0.535, allocations: 16.9 MB / 0.6279 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/0.5358, allocations: 362 kB / 0.6282 GB, free: 12.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/0.5358, allocations: 7.938 kB / 0.6282 GB, free: 12.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004542/0.5403, allocations: 1.716 MB / 0.6299 GB, free: 10.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5404, allocations: 136.5 kB / 0.6301 GB, free: 10.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.541, allocations: 357.6 kB / 0.6304 GB, free: 10.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.541, allocations: 29.7 kB / 0.6304 GB, free: 10.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.5412, allocations: 252.6 kB / 0.6307 GB, free: 9.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5413, allocations: 115.1 kB / 0.6308 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.5415, allocations: 74.02 kB / 0.6308 GB, free: 9.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5417, allocations: 354.7 kB / 0.6312 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.5419, allocations: 196.1 kB / 0.6314 GB, free: 9.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.5424, allocations: 320.8 kB / 0.6317 GB, free: 8.789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.5431, allocations: 470.1 kB / 0.6321 GB, free: 8.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5431, allocations: 0 / 0.6321 GB, free: 8.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001261/0.5443, allocations: 0.6886 MB / 0.6328 GB, free: 7.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.5444, allocations: 75.38 kB / 0.6329 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5444, allocations: 3.938 kB / 0.6329 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.5456, allocations: 165.1 kB / 0.633 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.5459, allocations: 63.97 kB / 0.6331 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.547, allocations: 1.124 MB / 0.6342 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.5473, allocations: 27.86 kB / 0.6342 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.5473, allocations: 12 kB / 0.6342 GB, free: 6.02 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.0003762/0.5477, allocations: 257.3 kB / 0.6345 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5478, allocations: 51.7 kB / 0.6345 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5503, allocations: 1.672 MB / 0.6362 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.5503, allocations: 19.97 kB / 0.6362 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.5503, allocations: 0 / 0.6362 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5503, allocations: 7.938 kB / 0.6362 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.5512, allocations: 0.6035 MB / 0.6368 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5512, allocations: 0 / 0.6368 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.5514, allocations: 46.78 kB / 0.6368 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007032/0.5521, allocations: 256.2 kB / 0.6371 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.5522, allocations: 19.98 kB / 0.6371 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.5533, allocations: 1.359 MB / 0.6384 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5533, allocations: 0 / 0.6384 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.556, allocations: 1.862 MB / 0.6402 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.5562, allocations: 99.45 kB / 0.6403 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.5563, allocations: 8 kB / 0.6403 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5565, allocations: 16.14 kB / 0.6403 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.5566, allocations: 27.91 kB / 0.6404 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.5567, allocations: 19.98 kB / 0.6404 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003315/0.557, allocations: 243.2 kB / 0.6406 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.557, allocations: 0 / 0.6406 GB, free: 15.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003297/0.5603, allocations: 1.119 MB / 0.6417 GB, free: 14.14 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.005805/0.5661, allocations: 1.329 MB / 0.643 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.5678, allocations: 0.8132 MB / 0.6438 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5678, allocations: 4 kB / 0.6438 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.5687, allocations: 0.5715 MB / 0.6444 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5697, allocations: 157.7 kB / 0.6445 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.5726, allocations: 1.551 MB / 0.646 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.573, allocations: 317.3 kB / 0.6463 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.5733, allocations: 86.88 kB / 0.6464 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.5734, allocations: 35.44 kB / 0.6464 GB, free: 9.125 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5734, allocations: 4 kB / 0.6465 GB, free: 9.121 MB / 494.1 MB Notification: Performance of Templates: time 0.06715/0.6405, allocations: 40.72 MB / 0.6862 GB, free: 316 kB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.00506798736751] Failed to read output from testmodel.py, exit status != 0: 0.6505910810083151 0.666335668 0.204500289 Calling exit ...