Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.557/4.557, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002473/0.002473, allocations: 355.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.793/3.793, allocations: 410.7 MB / 1.112 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001786, allocations: 189.3 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 15.98 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5574, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.2416/0.799, allocations: 214.7 MB / 1.67 GB, free: 69.49 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03365/0.8327, allocations: 24.59 MB / 1.694 GB, free: 44.88 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.8361, allocations: 83.5 kB / 1.695 GB, free: 44.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.839, allocations: 1.021 MB / 1.696 GB, free: 43.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.8497, allocations: 3.651 MB / 1.699 GB, free: 40.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.8606, allocations: 3.623 MB / 1.703 GB, free: 36.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008289/0.8689, allocations: 7.443 MB / 1.71 GB, free: 29.11 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/0.8721, allocations: 2.257 MB / 1.712 GB, free: 26.81 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.8752, allocations: 1.917 MB / 1.714 GB, free: 24.89 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.8773, allocations: 1.796 MB / 1.716 GB, free: 23.08 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.8777, allocations: 104 kB / 1.716 GB, free: 22.98 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00506/0.8828, allocations: 2.179 MB / 1.718 GB, free: 20.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006624/0.8834, allocations: 0.6691 MB / 1.719 GB, free: 20.12 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007051/0.8842, allocations: 0.6288 MB / 1.719 GB, free: 19.49 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004945/0.8891, allocations: 4.391 MB / 1.723 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.567e-06/0.8891, allocations: 0 / 1.723 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.427e-06/0.8892, allocations: 0 / 1.723 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.861e-05/0.8892, allocations: 0 / 1.723 GB, free: 15.09 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.006387/0.8956, allocations: 3.452 MB / 1.727 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8957, allocations: 12.03 kB / 1.727 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.8987, allocations: 0.6242 MB / 1.727 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.9035, allocations: 2.445 MB / 1.73 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.9036, allocations: 176.3 kB / 1.73 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.904, allocations: 227.9 kB / 1.73 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.9089, allocations: 2.475 MB / 1.733 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.9089, allocations: 11.94 kB / 1.733 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.9092, allocations: 92 kB / 1.733 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.9093, allocations: 56 kB / 1.733 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005295/0.9146, allocations: 2.401 MB / 1.735 GB, free: 2.797 MB / 0.8542 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.5207/1.435, allocations: 9.535 MB / 1.744 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/1.44, allocations: 1.829 MB / 1.746 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/1.442, allocations: 0.8239 MB / 1.747 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009242/1.452, allocations: 5.811 MB / 1.753 GB, free: 260 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002485/1.454, allocations: 0.9812 MB / 1.754 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008834/1.455, allocations: 158.4 kB / 1.754 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 5.057e-06/1.455, allocations: 0 / 1.754 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=157): time 0.01134/1.466, allocations: 3.066 MB / 1.757 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/1.467, allocations: 309.6 kB / 1.757 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/1.47, allocations: 2.362 MB / 1.759 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002213/1.471, allocations: 61.48 kB / 1.76 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.472, allocations: 1.289 MB / 1.761 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004563/1.472, allocations: 0.5291 MB / 1.761 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.472, allocations: 36.59 kB / 1.761 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.473, allocations: 383.2 kB / 1.762 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/1.475, allocations: 0.7329 MB / 1.762 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/1.477, allocations: 1.313 MB / 1.764 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/1.48, allocations: 0.8797 MB / 1.765 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.48, allocations: 3.969 kB / 1.765 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.006872/1.486, allocations: 2.463 MB / 1.767 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.487, allocations: 424.6 kB / 1.767 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/1.487, allocations: 15.64 kB / 1.767 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309/2.796, allocations: 193.6 MB / 1.956 GB, free: 59.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/2.798, allocations: 439.3 kB / 1.957 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/2.802, allocations: 2.818 MB / 1.96 GB, free: 55.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/2.805, allocations: 196.4 kB / 1.96 GB, free: 55.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/2.805, allocations: 101.3 kB / 1.96 GB, free: 55.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.684e-06/2.805, allocations: 5.094 kB / 1.96 GB, free: 55.31 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005754/2.811, allocations: 2.12 MB / 1.962 GB, free: 53.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/2.811, allocations: 12 kB / 1.962 GB, free: 53.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88/4.691, allocations: 193.6 MB / 2.151 GB, free: 301 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/4.693, allocations: 418.4 kB / 2.151 GB, free: 300.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/4.697, allocations: 2.824 MB / 2.154 GB, free: 297.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/4.7, allocations: 181.7 kB / 2.154 GB, free: 297.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/4.7, allocations: 91.14 kB / 2.154 GB, free: 297.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 11 (conFan.con1.y,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001627/4.701, allocations: 0.6958 MB / 2.155 GB, free: 297.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/4.702, allocations: 282 kB / 2.155 GB, free: 297.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006363/4.708, allocations: 2.373 MB / 2.158 GB, free: 294.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/4.708, allocations: 16 kB / 2.158 GB, free: 294.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.263e-06/4.708, allocations: 4 kB / 2.158 GB, free: 294.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005515/4.714, allocations: 1.98 MB / 2.16 GB, free: 292.8 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.00982/4.724, allocations: 4.681 MB / 2.164 GB, free: 288.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/4.724, allocations: 5.859 kB / 2.164 GB, free: 288.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/4.726, allocations: 315.6 kB / 2.165 GB, free: 287.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7281/5.454, allocations: 96.92 MB / 2.259 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003044/5.454, allocations: 51.92 kB / 2.259 GB, free: 190.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/5.457, allocations: 2.285 MB / 2.262 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.291e-06/5.457, allocations: 4.031 kB / 2.262 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00816/5.465, allocations: 3.164 MB / 2.265 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/5.467, allocations: 0.5791 MB / 2.265 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/5.467, allocations: 32 kB / 2.265 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/5.469, allocations: 191.5 kB / 2.265 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/5.47, allocations: 125.8 kB / 2.266 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/5.47, allocations: 71.95 kB / 2.266 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002595/5.472, allocations: 1.583 MB / 2.267 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.96e-07/5.472, allocations: 4 kB / 2.267 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004606/5.477, allocations: 1.658 MB / 2.269 GB, free: 180.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y) * 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 (172): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003302/5.48, allocations: 1.217 MB / 2.27 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007429/5.488, allocations: 3.274 MB / 2.273 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.17e-06/5.488, allocations: 4 kB / 2.273 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/5.49, allocations: 1.051 MB / 2.274 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006266/5.496, allocations: 1.223 MB / 2.275 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/5.508, allocations: 6.279 MB / 2.281 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/5.511, allocations: 1.901 MB / 2.283 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00585/5.516, allocations: 0.7785 MB / 2.284 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/5.518, allocations: 255.3 kB / 2.284 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.755e-06/5.518, allocations: 0 / 2.284 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.1159/5.634, allocations: 56.97 MB / 2.34 GB, free: 109.4 MB / 0.9323 GB