Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, 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.001507/0.001507, allocations: 182.7 kB / 325.6 MB, free: 2.812 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.289/2.289, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001155/0.001155, allocations: 106 kB / 0.6811 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 14.41 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2057, allocations: 106.3 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.09233/0.2981, allocations: 72.42 MB / 0.9696 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9006/1.199, allocations: 141.9 MB / 1.108 GB, free: 26.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003786/1.203, allocations: 77.59 kB / 1.108 GB, free: 26.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004966/1.208, allocations: 0.9978 MB / 1.109 GB, free: 26.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/1.22, allocations: 2.808 MB / 1.112 GB, free: 25.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01478/1.235, allocations: 3.315 MB / 1.115 GB, free: 25.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008869/1.244, allocations: 3.681 MB / 1.119 GB, free: 25.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004857/1.248, allocations: 1.969 MB / 1.121 GB, free: 25.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007145/1.256, allocations: 1.577 MB / 1.122 GB, free: 25.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005377/1.261, allocations: 1.161 MB / 1.123 GB, free: 24.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/1.263, allocations: 91.44 kB / 1.123 GB, free: 24.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008473/1.271, allocations: 1.365 MB / 1.125 GB, free: 24.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001849/1.273, allocations: 0.5234 MB / 1.125 GB, free: 24.15 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/1.275, allocations: 0.5518 MB / 1.126 GB, free: 24.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009409/1.285, allocations: 3.464 MB / 1.129 GB, free: 22.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.285, allocations: 0 / 1.129 GB, free: 22.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.165e-06/1.285, allocations: 0 / 1.129 GB, free: 22.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001524/1.285, allocations: 0 / 1.129 GB, free: 22.2 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.00969/1.295, allocations: 2.887 MB / 1.132 GB, free: 20.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.295, allocations: 7.188 kB / 1.132 GB, free: 20.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/1.299, allocations: 489.2 kB / 1.133 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005909/1.305, allocations: 2.051 MB / 1.135 GB, free: 19.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/1.305, allocations: 153.8 kB / 1.135 GB, free: 19.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/1.305, allocations: 202.7 kB / 1.135 GB, free: 19.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/1.312, allocations: 2.088 MB / 1.137 GB, free: 18.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-05/1.312, allocations: 6.859 kB / 1.137 GB, free: 18.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/1.312, allocations: 83.5 kB / 1.137 GB, free: 18.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/1.312, allocations: 49.81 kB / 1.137 GB, free: 18.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008363/1.321, allocations: 2.001 MB / 1.139 GB, free: 17.99 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.02973/1.35, allocations: 8.376 MB / 1.147 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/1.357, allocations: 1.306 MB / 1.148 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009481/1.367, allocations: 3.203 MB / 1.152 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002308/1.369, allocations: 0.7436 MB / 1.152 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/1.37, allocations: 144.6 kB / 1.152 GB, free: 10.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 5.481e-06/1.37, allocations: 0 / 1.152 GB, free: 10.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.008192/1.379, allocations: 1.918 MB / 1.154 GB, free: 10.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/1.379, allocations: 279.4 kB / 1.155 GB, free: 9.984 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/1.383, allocations: 1.961 MB / 1.156 GB, free: 9.441 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000409/1.383, allocations: 53.05 kB / 1.157 GB, free: 9.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.384, allocations: 1.111 MB / 1.158 GB, free: 8.918 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/1.385, allocations: 442.1 kB / 1.158 GB, free: 8.605 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.385, allocations: 30 kB / 1.158 GB, free: 8.605 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.385, allocations: 365.6 kB / 1.158 GB, free: 8.281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.387, allocations: 0.4996 MB / 1.159 GB, free: 8.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/1.39, allocations: 0.9523 MB / 1.16 GB, free: 7.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/1.392, allocations: 0.644 MB / 1.16 GB, free: 7.512 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.392, allocations: 2.875 kB / 1.16 GB, free: 7.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006556/1.399, allocations: 1.76 MB / 1.162 GB, free: 7.074 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008167/1.399, allocations: 4.066 MB / 1.166 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.151e-05/1.4, allocations: 10.34 kB / 1.166 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.401, allocations: 101.5 kB / 1.166 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/1.404, allocations: 366.1 kB / 1.167 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/1.406, allocations: 1.55 MB / 1.168 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.41, allocations: 164 kB / 1.168 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003794/1.41, allocations: 76.23 kB / 1.168 GB, free: 1.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.41, allocations: 7 kB / 1.168 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005033/1.415, allocations: 1.483 MB / 1.17 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/1.415, allocations: 15.98 kB / 1.17 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009333/1.416, allocations: 101.1 kB / 1.17 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.419, allocations: 345 kB / 1.17 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/1.422, allocations: 1.548 MB / 1.172 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/1.425, allocations: 143.3 kB / 1.172 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/1.425, allocations: 78.41 kB / 1.172 GB, free: 14.43 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.001813/1.427, allocations: 0.612 MB / 1.173 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007277/1.428, allocations: 229.2 kB / 1.173 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007107/1.435, allocations: 1.807 MB / 1.175 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/1.435, allocations: 16 kB / 1.175 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.435, allocations: 0 / 1.175 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005207/1.44, allocations: 1.505 MB / 1.176 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.452, allocations: 3.736 MB / 1.18 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.452, allocations: 4 kB / 1.18 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.455, allocations: 275.3 kB / 1.18 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009198/1.456, allocations: 89.92 kB / 1.18 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/1.456, allocations: 39.59 kB / 1.18 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/1.459, allocations: 1.561 MB / 1.182 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.459, allocations: 8.047 kB / 1.182 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008661/1.468, allocations: 2.462 MB / 1.184 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.469, allocations: 0.5085 MB / 1.185 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005315/1.47, allocations: 31.69 kB / 1.185 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/1.473, allocations: 158 kB / 1.185 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/1.473, allocations: 104.2 kB / 1.185 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/1.474, allocations: 64.64 kB / 1.185 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00344/1.477, allocations: 1.326 MB / 1.186 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-07/1.477, allocations: 0 / 1.186 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006359/1.484, allocations: 1.333 MB / 1.187 GB, free: 2.008 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.003609/1.487, allocations: 1.023 MB / 1.188 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008515/1.496, allocations: 2.424 MB / 1.191 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.496, allocations: 4.188 kB / 1.191 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002903/1.499, allocations: 0.8181 MB / 1.192 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008565/1.507, allocations: 1.063 MB / 1.193 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.523, allocations: 5.303 MB / 1.198 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/1.525, allocations: 1.71 MB / 1.2 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00492/1.53, allocations: 0.7165 MB / 1.2 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.531, allocations: 226.5 kB / 1.2 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/1.531, allocations: 0 / 1.2 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.15/1.681, allocations: 46.02 MB / 1.245 GB, free: 8.762 MB / 0.7761 GB