Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01544/0.01544, allocations: 107.4 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001803/0.001803, allocations: 186.9 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.906/1.906, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.18/2.18, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 15.98 kB / 0.587 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6137, allocations: 98.7 MB / 0.6833 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.1069/0.7207, allocations: 71.7 MB / 0.7534 GB, free: 6.586 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.242/0.9627, allocations: 143.4 MB / 0.8934 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00364/0.9664, allocations: 71.5 kB / 0.8934 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004193/0.9706, allocations: 0.9988 MB / 0.8944 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.9815, allocations: 2.808 MB / 0.8972 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.9935, allocations: 3.235 MB / 0.9003 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007691/1.001, allocations: 3.466 MB / 0.9037 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/1.005, allocations: 1.888 MB / 0.9055 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/1.009, allocations: 1.541 MB / 0.9071 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/1.011, allocations: 1.12 MB / 0.9081 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003879/1.011, allocations: 84 kB / 0.9082 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/1.016, allocations: 1.545 MB / 0.9097 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008381/1.017, allocations: 0.4942 MB / 0.9102 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009468/1.018, allocations: 0.5198 MB / 0.9107 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006121/1.024, allocations: 3.328 MB / 0.914 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.222e-06/1.024, allocations: 0 / 0.914 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.627e-06/1.024, allocations: 0 / 0.914 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.447e-05/1.024, allocations: 0 / 0.914 GB, free: 1.695 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.4861/1.51, allocations: 2.815 MB / 0.9167 GB, free: 216.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.51, allocations: 9.312 kB / 0.9167 GB, free: 216.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/1.515, allocations: 0.7192 MB / 0.9174 GB, free: 216.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005303/1.521, allocations: 1.924 MB / 0.9193 GB, free: 215.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005808/1.521, allocations: 208 kB / 0.9195 GB, free: 215.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/1.522, allocations: 190.4 kB / 0.9197 GB, free: 215.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006587/1.528, allocations: 2.146 MB / 0.9218 GB, free: 214.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/1.529, allocations: 5.75 kB / 0.9218 GB, free: 214.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/1.529, allocations: 74.41 kB / 0.9219 GB, free: 214.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/1.529, allocations: 51.61 kB / 0.9219 GB, free: 214.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007901/1.537, allocations: 2.207 MB / 0.9241 GB, free: 213.7 MB / 0.7292 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.01876/1.556, allocations: 8.901 MB / 0.9328 GB, free: 208 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/1.561, allocations: 1.569 MB / 0.9343 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006816/1.568, allocations: 3.182 MB / 0.9374 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002541/1.57, allocations: 0.8583 MB / 0.9382 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009999/1.571, allocations: 136.3 kB / 0.9384 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=121): time 5.892e-06/1.571, allocations: 3.188 kB / 0.9384 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121): time 0.009908/1.581, allocations: 2.544 MB / 0.9409 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/1.581, allocations: 167.6 kB / 0.941 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/1.585, allocations: 1.838 MB / 0.9428 GB, free: 201.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003274/1.585, allocations: 49.39 kB / 0.9429 GB, free: 201.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/1.586, allocations: 1.058 MB / 0.9439 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/1.587, allocations: 406.5 kB / 0.9443 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.587, allocations: 30.59 kB / 0.9443 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.587, allocations: 362.7 kB / 0.9447 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.589, allocations: 0.5954 MB / 0.9452 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/1.591, allocations: 1.017 MB / 0.9462 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/1.594, allocations: 0.7576 MB / 0.947 GB, free: 197.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.594, allocations: 2.688 kB / 0.947 GB, free: 197.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007246/1.601, allocations: 2.124 MB / 0.949 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008161/1.602, allocations: 4.169 MB / 0.9531 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/1.602, allocations: 16.59 kB / 0.9531 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.603, allocations: 216.6 kB / 0.9533 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.606, allocations: 371.6 kB / 0.9537 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/1.61, allocations: 3.609 MB / 0.9572 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/1.613, allocations: 187.4 kB / 0.9574 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/1.614, allocations: 80.19 kB / 0.9575 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.614, allocations: 7.938 kB / 0.9575 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006207/1.62, allocations: 1.863 MB / 0.9593 GB, free: 187.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/1.62, allocations: 10.06 kB / 0.9593 GB, free: 187.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/1.621, allocations: 229.1 kB / 0.9595 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.623, allocations: 351.1 kB / 0.9599 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/1.628, allocations: 3.614 MB / 0.9634 GB, free: 183.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.631, allocations: 180.5 kB / 0.9636 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/1.631, allocations: 73.97 kB / 0.9636 GB, free: 183.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 166 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * 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 4,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001528/1.633, allocations: 0.5758 MB / 0.9642 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/1.633, allocations: 212.3 kB / 0.9644 GB, free: 183.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/1.641, allocations: 2.096 MB / 0.9664 GB, free: 182.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/1.641, allocations: 19.92 kB / 0.9665 GB, free: 182.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-06/1.641, allocations: 7.938 kB / 0.9665 GB, free: 182.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005872/1.647, allocations: 1.555 MB / 0.968 GB, free: 181.3 MB / 0.7292 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.01132/1.658, allocations: 3.94 MB / 0.9718 GB, free: 178.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.658, allocations: 0 / 0.9718 GB, free: 178.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.66, allocations: 279.6 kB / 0.9721 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/1.661, allocations: 206.4 kB / 0.9723 GB, free: 177.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/1.662, allocations: 43.95 kB / 0.9723 GB, free: 177.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/1.668, allocations: 3.638 MB / 0.9759 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.812e-06/1.668, allocations: 3.953 kB / 0.9759 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.68, allocations: 2.704 MB / 0.9785 GB, free: 171.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.682, allocations: 0.5097 MB / 0.979 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000644/1.683, allocations: 28 kB / 0.9791 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.685, allocations: 189 kB / 0.9792 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/1.685, allocations: 109.1 kB / 0.9794 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.686, allocations: 59.95 kB / 0.9794 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002203/1.688, allocations: 1.236 MB / 0.9806 GB, free: 169 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.35e-07/1.688, allocations: 0 / 0.9806 GB, free: 169 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004389/1.692, allocations: 1.286 MB / 0.9819 GB, free: 167.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,onOffController.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTim1.tNext,onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * 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: 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 3,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002836/1.695, allocations: 1.01 MB / 0.9829 GB, free: 167.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008343/1.704, allocations: 3.143 MB / 0.9859 GB, free: 163.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.281e-06/1.704, allocations: 4 kB / 0.9859 GB, free: 163.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002814/1.706, allocations: 1.029 MB / 0.9869 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004742/1.711, allocations: 0.9296 MB / 0.9878 GB, free: 161.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.722, allocations: 4.97 MB / 0.9927 GB, free: 156.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.723, allocations: 1.636 MB / 0.9943 GB, free: 155.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004033/1.727, allocations: 0.6888 MB / 0.995 GB, free: 154.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/1.728, allocations: 207.3 kB / 0.9952 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.539e-06/1.728, allocations: 0 / 0.9952 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.1038/1.832, allocations: 45.01 MB / 1.039 GB, free: 109.8 MB / 0.7292 GB