Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.605/4.605, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002347/0.002347, allocations: 354.5 kB / 0.644 GB, free: 185.7 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.841/3.841, allocations: 410.7 MB / 1.112 GB, free: 5.965 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.001745/0.001745, allocations: 181.7 kB / 1.225 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005629, allocations: 12 kB / 1.348 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5641, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.07322/0.6374, allocations: 79.6 MB / 1.538 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.7921, allocations: 151.8 MB / 1.687 GB, free: 52.86 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.7954, allocations: 75.5 kB / 1.687 GB, free: 52.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.7984, allocations: 0.9199 MB / 1.688 GB, free: 51.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009286/0.8077, allocations: 2.937 MB / 1.691 GB, free: 48.92 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.8185, allocations: 3.44 MB / 1.694 GB, free: 45.55 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007721/0.8262, allocations: 6.845 MB / 1.701 GB, free: 38.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.8291, allocations: 1.969 MB / 1.703 GB, free: 36.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.832, allocations: 1.746 MB / 1.704 GB, free: 34.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.834, allocations: 1.598 MB / 1.706 GB, free: 33.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003088/0.8343, allocations: 88 kB / 1.706 GB, free: 33.23 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.8377, allocations: 1.349 MB / 1.707 GB, free: 31.88 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.8383, allocations: 0.5563 MB / 1.708 GB, free: 31.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.839, allocations: 0.5471 MB / 1.708 GB, free: 30.77 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.8428, allocations: 3.507 MB / 1.712 GB, free: 27.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.942e-06/0.8428, allocations: 0 / 1.712 GB, free: 27.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.951e-06/0.8428, allocations: 0 / 1.712 GB, free: 27.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.946e-05/0.8429, allocations: 0 / 1.712 GB, free: 27.25 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: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.00521/0.8481, allocations: 2.896 MB / 1.715 GB, free: 24.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8481, allocations: 8.031 kB / 1.715 GB, free: 24.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.8508, allocations: 492 kB / 1.715 GB, free: 23.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004291/0.8551, allocations: 2.122 MB / 1.717 GB, free: 21.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.8552, allocations: 151.7 kB / 1.717 GB, free: 21.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.8555, allocations: 196 kB / 1.717 GB, free: 21.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/0.8597, allocations: 2.133 MB / 1.719 GB, free: 19.03 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.8598, allocations: 3.906 kB / 1.719 GB, free: 19.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.86, allocations: 83.98 kB / 1.72 GB, free: 18.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.8601, allocations: 55.92 kB / 1.72 GB, free: 18.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004282/0.8644, allocations: 2.005 MB / 1.722 GB, free: 16.88 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.01254/0.8769, allocations: 8.316 MB / 1.73 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.8799, allocations: 1.326 MB / 1.731 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.8814, allocations: 0.6136 MB / 1.732 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005668/0.8871, allocations: 3.139 MB / 1.735 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.8887, allocations: 0.7668 MB / 1.735 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006678/0.8894, allocations: 142.6 kB / 1.736 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=127): time 4.412e-06/0.8895, allocations: 0 / 1.736 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127): time 0.005334/0.8948, allocations: 1.934 MB / 1.737 GB, free: 88 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5046/1.399, allocations: 271.7 kB / 1.738 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/1.403, allocations: 1.909 MB / 1.74 GB, free: 271 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/1.403, allocations: 57.64 kB / 1.74 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009904/1.404, allocations: 1.111 MB / 1.741 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/1.405, allocations: 434.1 kB / 1.741 GB, free: 270 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.405, allocations: 31.62 kB / 1.741 GB, free: 270 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.405, allocations: 362.2 kB / 1.741 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/1.406, allocations: 0.5344 MB / 1.742 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/1.408, allocations: 0.9688 MB / 1.743 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/1.41, allocations: 0.6568 MB / 1.744 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.41, allocations: 6.656 kB / 1.744 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004925/1.415, allocations: 1.825 MB / 1.745 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/1.415, allocations: 390.5 kB / 1.746 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/1.415, allocations: 11.22 kB / 1.746 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006832/1.416, allocations: 104.8 kB / 1.746 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.418, allocations: 370.1 kB / 1.746 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.42, allocations: 1.538 MB / 1.748 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.422, allocations: 161.1 kB / 1.748 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/1.423, allocations: 82.03 kB / 1.748 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.423, allocations: 4.188 kB / 1.748 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004224/1.427, allocations: 1.545 MB / 1.749 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/1.427, allocations: 12.27 kB / 1.749 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/1.428, allocations: 98.41 kB / 1.75 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.43, allocations: 357.3 kB / 1.75 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/1.432, allocations: 1.541 MB / 1.751 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/1.434, allocations: 154.3 kB / 1.752 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/1.434, allocations: 76.14 kB / 1.752 GB, free: 263.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 10 ($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 (195): * Single equations (assignments): 191 * 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.001419/1.436, allocations: 0.6139 MB / 1.752 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/1.436, allocations: 229.7 kB / 1.752 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/1.441, allocations: 1.82 MB / 1.754 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/1.441, allocations: 15.22 kB / 1.754 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.07e-06/1.441, allocations: 0.6875 kB / 1.754 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003708/1.445, allocations: 1.513 MB / 1.756 GB, free: 261.8 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 postOpt removeSimpleEquations (simulation): time 0.007982/1.453, allocations: 3.746 MB / 1.759 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/1.453, allocations: 0 / 1.759 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.455, allocations: 283.7 kB / 1.76 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005671/1.455, allocations: 88.39 kB / 1.76 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.455, allocations: 43.5 kB / 1.76 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/1.457, allocations: 1.548 MB / 1.761 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.688e-06/1.457, allocations: 7.75 kB / 1.761 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/1.463, allocations: 2.4 MB / 1.764 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.464, allocations: 0.4956 MB / 1.764 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/1.465, allocations: 32.67 kB / 1.764 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.466, allocations: 157.9 kB / 1.764 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/1.467, allocations: 108.8 kB / 1.764 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.467, allocations: 63.08 kB / 1.764 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002676/1.47, allocations: 1.277 MB / 1.766 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.05e-06/1.47, allocations: 0.5625 kB / 1.766 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004228/1.474, allocations: 1.328 MB / 1.767 GB, free: 254.6 MB / 0.8542 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.002814/1.477, allocations: 0.985 MB / 1.768 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005479/1.482, allocations: 2.513 MB / 1.77 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.482, allocations: 0 / 1.77 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.484, allocations: 0.8277 MB / 1.771 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/1.489, allocations: 1.069 MB / 1.772 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009044/1.499, allocations: 5.33 MB / 1.777 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.5, allocations: 1.708 MB / 1.779 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00353/1.503, allocations: 0.7131 MB / 1.78 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/1.504, allocations: 223.3 kB / 1.78 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.887e-06/1.504, allocations: 0 / 1.78 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.09059/1.595, allocations: 45.29 MB / 1.824 GB, free: 197.5 MB / 0.8542 GB