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.YorkCalc.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.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008868/0.008868, allocations: 107.6 kB / 15.06 MB, free: 5.559 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.001095/0.001095, allocations: 179.8 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.812/1.812, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.255/2.255, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 15.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5722, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.1061/0.6783, allocations: 72.71 MB / 0.7543 GB, free: 5.555 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.2199/0.8982, allocations: 145.1 MB / 0.896 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/0.9023, allocations: 79.44 kB / 0.8961 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004496/0.9069, allocations: 1.073 MB / 0.8971 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.9185, allocations: 2.929 MB / 0.9 GB, free: 64 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01376/0.9322, allocations: 3.614 MB / 0.9035 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008447/0.9407, allocations: 3.795 MB / 0.9072 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.9451, allocations: 2.119 MB / 0.9093 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.9494, allocations: 1.67 MB / 0.9109 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.9522, allocations: 1.295 MB / 0.9122 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005867/0.9529, allocations: 103.9 kB / 0.9123 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005702/0.9586, allocations: 1.818 MB / 0.9141 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.9597, allocations: 0.5681 MB / 0.9146 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.9608, allocations: 0.582 MB / 0.9152 GB, free: 432 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.5709/1.532, allocations: 3.729 MB / 0.9188 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.991e-06/1.532, allocations: 0 / 0.9188 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.748e-06/1.532, allocations: 0 / 0.9188 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001217/1.532, allocations: 0.9375 kB / 0.9188 GB, free: 34.53 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.008748/1.541, allocations: 3.181 MB / 0.9219 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.541, allocations: 9.094 kB / 0.9219 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/1.547, allocations: 0.8193 MB / 0.9227 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/1.553, allocations: 2.118 MB / 0.9248 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/1.553, allocations: 230.6 kB / 0.925 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/1.554, allocations: 212.1 kB / 0.9252 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007378/1.561, allocations: 2.478 MB / 0.9276 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.736e-05/1.562, allocations: 5 kB / 0.9276 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/1.562, allocations: 92.91 kB / 0.9277 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/1.562, allocations: 54.47 kB / 0.9278 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007906/1.57, allocations: 2.503 MB / 0.9302 GB, free: 31.71 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.0204/1.59, allocations: 10.48 MB / 0.9405 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005773/1.596, allocations: 1.869 MB / 0.9423 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009584/1.606, allocations: 5.353 MB / 0.9475 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00292/1.609, allocations: 1.013 MB / 0.9485 GB, free: 23.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/1.61, allocations: 156.5 kB / 0.9487 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=144): time 6.714e-06/1.61, allocations: 0 / 0.9487 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=144): time 0.01045/1.621, allocations: 2.793 MB / 0.9514 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/1.621, allocations: 174.1 kB / 0.9516 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/1.625, allocations: 2.089 MB / 0.9536 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003947/1.625, allocations: 59.02 kB / 0.9536 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.626, allocations: 1.185 MB / 0.9548 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/1.627, allocations: 492.4 kB / 0.9553 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/1.627, allocations: 33.12 kB / 0.9553 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.627, allocations: 378 kB / 0.9557 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/1.629, allocations: 0.7583 MB / 0.9564 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/1.632, allocations: 1.341 MB / 0.9577 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/1.635, allocations: 0.9399 MB / 0.9586 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/1.635, allocations: 4.312 kB / 0.9586 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00786/1.643, allocations: 2.548 MB / 0.9611 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/1.644, allocations: 5.246 MB / 0.9662 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/1.644, allocations: 13.03 kB / 0.9663 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.645, allocations: 186.8 kB / 0.9664 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/1.648, allocations: 466.8 kB / 0.9669 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/1.653, allocations: 3.607 MB / 0.9704 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/1.656, allocations: 214.2 kB / 0.9706 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/1.656, allocations: 96.25 kB / 0.9707 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.656, allocations: 7.656 kB / 0.9707 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007014/1.663, allocations: 2.254 MB / 0.9729 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.664, allocations: 15.66 kB / 0.9729 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.665, allocations: 174 kB / 0.9731 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/1.667, allocations: 452.8 kB / 0.9735 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/1.671, allocations: 3.605 MB / 0.977 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/1.675, allocations: 201.2 kB / 0.9772 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/1.675, allocations: 91.78 kB / 0.9773 GB, free: 8.586 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001703/1.677, allocations: 0.6415 MB / 0.978 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006188/1.677, allocations: 250.7 kB / 0.9782 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008055/1.685, allocations: 2.458 MB / 0.9806 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/1.686, allocations: 18.38 kB / 0.9806 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.571e-06/1.686, allocations: 0 / 0.9806 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006046/1.692, allocations: 1.815 MB / 0.9824 GB, free: 7.848 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.01266/1.704, allocations: 4.584 MB / 0.9869 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.704, allocations: 1.812 kB / 0.9869 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.707, allocations: 339.7 kB / 0.9872 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/1.708, allocations: 165.5 kB / 0.9873 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/1.708, allocations: 49.16 kB / 0.9874 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/1.712, allocations: 3.053 MB / 0.9904 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.292e-06/1.712, allocations: 0 / 0.9904 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.722, allocations: 3.278 MB / 0.9936 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.724, allocations: 0.5693 MB / 0.9941 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006535/1.725, allocations: 31.03 kB / 0.9942 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/1.728, allocations: 211.7 kB / 0.9944 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/1.728, allocations: 120.3 kB / 0.9945 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/1.728, allocations: 71.91 kB / 0.9945 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002853/1.731, allocations: 1.394 MB / 0.9959 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.83e-07/1.731, allocations: 3.094 kB / 0.9959 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005785/1.737, allocations: 1.46 MB / 0.9973 GB, free: 1.926 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (tow.vol.dynBal.U,vol.dynBal.U,conFan.I.y,conFan.D.x) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,onOffController.y) * Number of discrete states: 3 (onOffController.y,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003298/1.74, allocations: 1.092 MB / 0.9984 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.751, allocations: 3.724 MB / 1.002 GB, free: 352 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.751, allocations: 2.531 kB / 1.002 GB, free: 352 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00337/1.754, allocations: 1.213 MB / 1.003 GB, free: 15.96 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/1.76, allocations: 1.023 MB / 1.004 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/1.774, allocations: 5.783 MB / 1.01 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/1.776, allocations: 1.773 MB / 1.012 GB, free: 11.35 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.005194/1.782, allocations: 0.7599 MB / 1.012 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.783, allocations: 241.4 kB / 1.013 GB, free: 10.91 MB / 0.7449 GB Notification: Performance of SimCode: time 1.721e-06/1.783, allocations: 4 kB / 1.013 GB, free: 10.91 MB / 0.7449 GB Notification: Performance of Templates: time 0.1652/1.948, allocations: 50.35 MB / 1.062 GB, free: 14.44 MB / 0.7917 GB