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.01055/0.01055, allocations: 220.2 kB / 15.17 MB, free: 6.004 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.001071/0.001071, allocations: 174.9 kB / 16.06 MB, free: 5.875 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 3.529/3.529, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.865/3.865, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 12 kB / 1.008 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4747, allocations: 98.72 MB / 1.104 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.09894/0.5736, allocations: 78.86 MB / 1.181 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.6851/1.259, allocations: 153.5 MB / 1.331 GB, free: 31.24 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/1.262, allocations: 74.69 kB / 1.331 GB, free: 31.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/1.265, allocations: 0.9126 MB / 1.332 GB, free: 30.95 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008862/1.273, allocations: 2.921 MB / 1.335 GB, free: 30.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01105/1.285, allocations: 3.31 MB / 1.338 GB, free: 30 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007745/1.292, allocations: 6.372 MB / 1.344 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/1.295, allocations: 1.877 MB / 1.346 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/1.299, allocations: 1.686 MB / 1.348 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/1.301, allocations: 1.531 MB / 1.349 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003553/1.301, allocations: 86.53 kB / 1.349 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/1.306, allocations: 1.501 MB / 1.351 GB, free: 26.49 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/1.306, allocations: 0.5183 MB / 1.351 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008057/1.307, allocations: 0.5192 MB / 1.352 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00473/1.312, allocations: 3.338 MB / 1.355 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.312, allocations: 0 / 1.355 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.113e-06/1.312, allocations: 0 / 1.355 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.683e-05/1.312, allocations: 0 / 1.355 GB, free: 24.41 MB / 0.6823 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.00549/1.317, allocations: 2.83 MB / 1.358 GB, free: 22.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/1.318, allocations: 10.53 kB / 1.358 GB, free: 22.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/1.322, allocations: 0.7206 MB / 1.358 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/1.327, allocations: 2.002 MB / 1.36 GB, free: 21.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000522/1.327, allocations: 213.2 kB / 1.361 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/1.328, allocations: 189.1 kB / 1.361 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/1.332, allocations: 2.164 MB / 1.363 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/1.332, allocations: 3.938 kB / 1.363 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/1.333, allocations: 80.84 kB / 1.363 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/1.333, allocations: 44.16 kB / 1.363 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006269/1.339, allocations: 2.218 MB / 1.365 GB, free: 20.09 MB / 0.6823 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.01553/1.355, allocations: 8.83 MB / 1.374 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/1.359, allocations: 1.603 MB / 1.375 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.361, allocations: 0.6678 MB / 1.376 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005905/1.367, allocations: 3.158 MB / 1.379 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/1.37, allocations: 0.8733 MB / 1.38 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008246/1.37, allocations: 136.7 kB / 1.38 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=121): time 4.939e-06/1.37, allocations: 0 / 1.38 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121): time 0.009596/1.38, allocations: 2.559 MB / 1.383 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/1.38, allocations: 169.6 kB / 1.383 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/1.383, allocations: 1.783 MB / 1.385 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/1.383, allocations: 55.14 kB / 1.385 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008402/1.384, allocations: 1.039 MB / 1.386 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/1.384, allocations: 407.9 kB / 1.386 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.385, allocations: 33.06 kB / 1.386 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.385, allocations: 366.7 kB / 1.386 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/1.387, allocations: 0.6228 MB / 1.387 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/1.389, allocations: 1.047 MB / 1.388 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/1.391, allocations: 0.7778 MB / 1.389 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.391, allocations: 4 kB / 1.389 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006364/1.397, allocations: 2.18 MB / 1.391 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001991/1.398, allocations: 450.6 kB / 1.391 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.398, allocations: 8 kB / 1.391 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/1.399, allocations: 230.6 kB / 1.392 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.401, allocations: 379 kB / 1.392 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/1.405, allocations: 3.581 MB / 1.395 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.408, allocations: 189.7 kB / 1.396 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.408, allocations: 82.7 kB / 1.396 GB, free: 15.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.408, allocations: 8 kB / 1.396 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006038/1.414, allocations: 1.925 MB / 1.398 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/1.414, allocations: 12 kB / 1.398 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/1.416, allocations: 226.7 kB / 1.398 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/1.418, allocations: 361 kB / 1.398 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/1.423, allocations: 3.582 MB / 1.402 GB, free: 9.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.426, allocations: 185.3 kB / 1.402 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/1.426, allocations: 77.58 kB / 1.402 GB, free: 9.762 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 174 * 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.001401/1.427, allocations: 0.5862 MB / 1.402 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/1.428, allocations: 213.4 kB / 1.403 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007047/1.435, allocations: 2.105 MB / 1.405 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/1.435, allocations: 16 kB / 1.405 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-06/1.435, allocations: 0 / 1.405 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00541/1.44, allocations: 1.563 MB / 1.406 GB, free: 6.402 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 postOpt removeSimpleEquations (simulation): time 0.01044/1.451, allocations: 3.879 MB / 1.41 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.199e-06/1.451, allocations: 4.031 kB / 1.41 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.453, allocations: 275.9 kB / 1.41 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/1.454, allocations: 214.6 kB / 1.41 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.454, allocations: 44.61 kB / 1.411 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/1.459, allocations: 3.612 MB / 1.414 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.477e-06/1.459, allocations: 3.984 kB / 1.414 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008807/1.468, allocations: 2.709 MB / 1.417 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.469, allocations: 0.4951 MB / 1.417 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/1.47, allocations: 29.73 kB / 1.417 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.472, allocations: 187.3 kB / 1.417 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/1.472, allocations: 99.23 kB / 1.417 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.472, allocations: 58.58 kB / 1.418 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002313/1.475, allocations: 1.197 MB / 1.419 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.34e-07/1.475, allocations: 0 / 1.419 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004345/1.479, allocations: 1.276 MB / 1.42 GB, free: 10.77 MB / 0.7136 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.002953/1.482, allocations: 0.9853 MB / 1.421 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009007/1.491, allocations: 3.219 MB / 1.424 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.954e-06/1.491, allocations: 0 / 1.424 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003248/1.494, allocations: 1.047 MB / 1.425 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005497/1.5, allocations: 0.9363 MB / 1.426 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/1.511, allocations: 4.996 MB / 1.431 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/1.513, allocations: 1.638 MB / 1.432 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004087/1.517, allocations: 0.6673 MB / 1.433 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/1.518, allocations: 213 kB / 1.433 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of SimCode: time 1.583e-06/1.518, allocations: 0 / 1.433 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.1043/1.622, allocations: 44.07 MB / 1.476 GB, free: 3.348 MB / 0.7605 GB