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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.387/1.387, allocations: 207.6 MB / 232.8 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3037/0.3037, allocations: 49.53 MB / 334.4 MB, free: 4.668 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 76.45 kB / 474.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 62.33 MB / 0.524 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3332/0.4789, allocations: 51.75 MB / 0.5745 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.503, allocations: 17.3 MB / 0.5914 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.5035, allocations: 9.406 kB / 0.5914 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008588/0.5044, allocations: 260.3 kB / 0.5917 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006834/0.5112, allocations: 2.386 MB / 0.594 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.5224, allocations: 3.241 MB / 0.5972 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.5239, allocations: 0.8498 MB / 0.598 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.5244, allocations: 246.8 kB / 0.5982 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008144/0.5253, allocations: 355.5 kB / 0.5986 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.5261, allocations: 386.3 kB / 0.5989 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.5262, allocations: 33.56 kB / 0.599 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01805/0.5442, allocations: 7.54 MB / 0.6063 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.5444, allocations: 106.5 kB / 0.6064 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.545, allocations: 252.5 kB / 0.6067 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.5611, allocations: 4.619 MB / 0.6112 GB, free: 13.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.5611, allocations: 0 / 0.6112 GB, free: 13.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5611, allocations: 0 / 0.6112 GB, free: 13.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.872e-05/0.5611, allocations: 0 / 0.6112 GB, free: 13.56 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.005742/0.5668, allocations: 1.41 MB / 0.6125 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.5669, allocations: 11.89 kB / 0.6126 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.5682, allocations: 148.5 kB / 0.6127 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.5691, allocations: 370.3 kB / 0.6131 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.5691, allocations: 29.03 kB / 0.6131 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.5692, allocations: 32.56 kB / 0.6131 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.5704, allocations: 487 kB / 0.6136 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.5705, allocations: 0 / 0.6136 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.5705, allocations: 16 kB / 0.6136 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5705, allocations: 8 kB / 0.6136 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.5712, allocations: 306.3 kB / 0.6139 GB, free: 10.63 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.003311/0.5745, allocations: 2.518 MB / 0.6164 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.5752, allocations: 263.8 kB / 0.6166 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.5754, allocations: 124.8 kB / 0.6167 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0695/0.6449, allocations: 32.58 MB / 0.6485 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008558/0.6458, allocations: 298.6 kB / 0.6488 GB, free: 2.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 3.356e-06/0.6458, allocations: 0 / 0.6488 GB, free: 2.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.004158/0.6499, allocations: 1.721 MB / 0.6505 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.65, allocations: 136.5 kB / 0.6506 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.6505, allocations: 409.8 kB / 0.651 GB, free: 244 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.6506, allocations: 37.64 kB / 0.6511 GB, free: 200 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.6508, allocations: 244.6 kB / 0.6513 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.6509, allocations: 115.1 kB / 0.6514 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6511, allocations: 70.03 kB / 0.6515 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6513, allocations: 358.8 kB / 0.6518 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.6515, allocations: 132.7 kB / 0.6519 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.6518, allocations: 220.6 kB / 0.6522 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.6524, allocations: 462.2 kB / 0.6526 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6524, allocations: 3.938 kB / 0.6526 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001166/0.6536, allocations: 0.6234 MB / 0.6532 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.6537, allocations: 75.3 kB / 0.6533 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6537, allocations: 3.75 kB / 0.6533 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.655, allocations: 159.5 kB / 0.6534 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.6553, allocations: 63.91 kB / 0.6535 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.6564, allocations: 1.136 MB / 0.6546 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.6566, allocations: 20.02 kB / 0.6546 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.6566, allocations: 12 kB / 0.6546 GB, free: 12.35 MB / 0.4981 GB 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.0003334/0.657, allocations: 249.1 kB / 0.6549 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.6571, allocations: 55.72 kB / 0.6549 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.6594, allocations: 1.566 MB / 0.6565 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.6594, allocations: 23.91 kB / 0.6565 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6594, allocations: 0 / 0.6565 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6594, allocations: 3.984 kB / 0.6565 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.6603, allocations: 0.7322 MB / 0.6572 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6603, allocations: 0 / 0.6572 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.6605, allocations: 47.92 kB / 0.6572 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.6611, allocations: 251.9 kB / 0.6575 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.6612, allocations: 15.98 kB / 0.6575 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.6623, allocations: 1.335 MB / 0.6588 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6623, allocations: 0 / 0.6588 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.6646, allocations: 1.696 MB / 0.6605 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.6648, allocations: 188.4 kB / 0.6606 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.6649, allocations: 12 kB / 0.6606 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.6651, allocations: 8 kB / 0.6607 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.6652, allocations: 23.97 kB / 0.6607 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.6652, allocations: 23.97 kB / 0.6607 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003269/0.6655, allocations: 279.1 kB / 0.661 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6655, allocations: 3.938 kB / 0.661 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003586/0.6691, allocations: 1.119 MB / 0.6621 GB, free: 4.527 MB / 0.4981 GB 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.004623/0.6738, allocations: 1.323 MB / 0.6634 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6752, allocations: 0.6733 MB / 0.664 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6752, allocations: 7.938 kB / 0.664 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.6759, allocations: 0.4939 MB / 0.6645 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.677, allocations: 186 kB / 0.6647 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.6795, allocations: 1.491 MB / 0.6661 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.6802, allocations: 0.9073 MB / 0.667 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.6804, allocations: 95.12 kB / 0.6671 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.6805, allocations: 39.42 kB / 0.6672 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.6805, allocations: 0 / 0.6672 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.06361/0.7441, allocations: 41.04 MB / 0.7072 GB, free: 6.102 MB / 0.545 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.218138734810054]