Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.294/2.294, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001668, allocations: 191.6 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 94.34 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004448, allocations: 14.69 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1995, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.1294/0.329, allocations: 72.41 MB / 0.9696 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.077/1.406, allocations: 141.9 MB / 1.108 GB, free: 26.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/1.41, allocations: 72.97 kB / 1.108 GB, free: 26.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004702/1.414, allocations: 0.9985 MB / 1.109 GB, free: 26.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/1.427, allocations: 2.81 MB / 1.112 GB, free: 26.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01536/1.442, allocations: 3.312 MB / 1.115 GB, free: 25.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.454, allocations: 3.677 MB / 1.119 GB, free: 25.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/1.459, allocations: 1.975 MB / 1.121 GB, free: 25.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006268/1.466, allocations: 1.576 MB / 1.122 GB, free: 25.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/1.471, allocations: 1.169 MB / 1.123 GB, free: 24.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/1.472, allocations: 86.72 kB / 1.123 GB, free: 24.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008047/1.48, allocations: 1.365 MB / 1.125 GB, free: 24.42 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001824/1.482, allocations: 0.531 MB / 1.125 GB, free: 24.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/1.483, allocations: 0.5437 MB / 1.126 GB, free: 24.08 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009255/1.493, allocations: 3.461 MB / 1.129 GB, free: 22.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.493, allocations: 0 / 1.129 GB, free: 22.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.446e-06/1.493, allocations: 0 / 1.129 GB, free: 22.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001195/1.493, allocations: 0 / 1.129 GB, free: 22.26 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.01082/1.504, allocations: 2.885 MB / 1.132 GB, free: 20.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.504, allocations: 10.06 kB / 1.132 GB, free: 20.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/1.509, allocations: 488.4 kB / 1.133 GB, free: 20.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/1.517, allocations: 2.046 MB / 1.135 GB, free: 19.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/1.517, allocations: 152.9 kB / 1.135 GB, free: 19.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000619/1.517, allocations: 202.7 kB / 1.135 GB, free: 19.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/1.525, allocations: 2.092 MB / 1.137 GB, free: 18.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.454e-05/1.525, allocations: 5.688 kB / 1.137 GB, free: 18.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004193/1.526, allocations: 85.62 kB / 1.137 GB, free: 18.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/1.526, allocations: 49.62 kB / 1.137 GB, free: 18.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009676/1.536, allocations: 1.999 MB / 1.139 GB, free: 18.05 MB / 0.698 GB 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.02605/1.562, allocations: 8.378 MB / 1.147 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/1.568, allocations: 1.309 MB / 1.148 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.58, allocations: 3.204 MB / 1.152 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003417/1.584, allocations: 0.7383 MB / 1.152 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001558/1.585, allocations: 145 kB / 1.152 GB, free: 10.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 8.776e-06/1.585, allocations: 0 / 1.152 GB, free: 10.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.01024/1.596, allocations: 1.92 MB / 1.154 GB, free: 10.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.596, allocations: 274.6 kB / 1.155 GB, free: 10.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00726/1.603, allocations: 1.96 MB / 1.156 GB, free: 9.504 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004489/1.604, allocations: 62.5 kB / 1.157 GB, free: 9.469 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/1.605, allocations: 1.11 MB / 1.158 GB, free: 8.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.006593/1.612, allocations: 434.6 kB / 1.158 GB, free: 8.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/1.612, allocations: 35.02 kB / 1.158 GB, free: 8.664 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.612, allocations: 366.1 kB / 1.158 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/1.615, allocations: 0.5024 MB / 1.159 GB, free: 8.262 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00922/1.624, allocations: 0.9547 MB / 1.16 GB, free: 7.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/1.627, allocations: 0.6413 MB / 1.16 GB, free: 7.566 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/1.627, allocations: 2.906 kB / 1.16 GB, free: 7.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01439/1.641, allocations: 1.766 MB / 1.162 GB, free: 7.125 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.007217/1.648, allocations: 4.063 MB / 1.166 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.517e-05/1.648, allocations: 10.56 kB / 1.166 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/1.65, allocations: 98.25 kB / 1.166 GB, free: 2.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009628/1.66, allocations: 367.1 kB / 1.167 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/1.666, allocations: 1.554 MB / 1.168 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/1.67, allocations: 166 kB / 1.168 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000382/1.671, allocations: 75.72 kB / 1.168 GB, free: 1.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.671, allocations: 4.875 kB / 1.168 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00654/1.677, allocations: 1.48 MB / 1.17 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/1.677, allocations: 12 kB / 1.17 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/1.678, allocations: 103 kB / 1.17 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.681, allocations: 351.5 kB / 1.17 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/1.684, allocations: 1.546 MB / 1.172 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/1.687, allocations: 150.8 kB / 1.172 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/1.687, allocations: 70.84 kB / 1.172 GB, free: 14.53 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001731/1.689, allocations: 0.6147 MB / 1.173 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007592/1.69, allocations: 229.2 kB / 1.173 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/1.697, allocations: 1.81 MB / 1.175 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/1.697, allocations: 14.69 kB / 1.175 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.697, allocations: 0 / 1.175 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004995/1.702, allocations: 1.502 MB / 1.176 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/1.713, allocations: 3.74 MB / 1.18 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.713, allocations: 1.859 kB / 1.18 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.716, allocations: 273.1 kB / 1.18 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009232/1.716, allocations: 86.98 kB / 1.18 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.717, allocations: 47.91 kB / 1.18 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/1.72, allocations: 1.563 MB / 1.182 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.72, allocations: 0 / 1.182 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008405/1.728, allocations: 2.448 MB / 1.184 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/1.73, allocations: 0.5111 MB / 1.185 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006548/1.731, allocations: 27.44 kB / 1.185 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/1.734, allocations: 159 kB / 1.185 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/1.734, allocations: 113 kB / 1.185 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.734, allocations: 59.02 kB / 1.185 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003079/1.737, allocations: 1.33 MB / 1.186 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/1.737, allocations: 0 / 1.186 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005349/1.743, allocations: 1.329 MB / 1.187 GB, free: 2.117 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/1.746, allocations: 1.032 MB / 1.188 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0077/1.754, allocations: 2.423 MB / 1.191 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.754, allocations: 8.062 kB / 1.191 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/1.756, allocations: 0.8269 MB / 1.192 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007773/1.764, allocations: 1.047 MB / 1.193 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.778, allocations: 5.308 MB / 1.198 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.78, allocations: 1.705 MB / 1.2 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0046/1.785, allocations: 0.7204 MB / 1.2 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009937/1.786, allocations: 227.2 kB / 1.2 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of SimCode: time 2.385e-06/1.786, allocations: 0 / 1.2 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of Templates: time 0.1278/1.913, allocations: 46.01 MB / 1.245 GB, free: 8.855 MB / 0.7761 GB