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.006196/0.006201, allocations: 235.2 kB / 15.81 MB, free: 6.277 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.001737/0.001736, allocations: 179.7 kB / 16.69 MB, free: 5.449 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.719/3.719, allocations: 389.1 MB / 406.5 MB, free: 6.766 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.607/4.607, allocations: 472.3 MB / 0.9023 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005011, allocations: 16 kB / 1.008 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 98.71 MB / 1.105 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.7943/1.003, allocations: 78.85 MB / 1.182 GB, free: 215.1 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.2428/1.246, allocations: 153.5 MB / 1.331 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/1.249, allocations: 75.5 kB / 1.332 GB, free: 108.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/1.254, allocations: 0.9122 MB / 1.332 GB, free: 107.5 MB / 0.7917 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.0129/1.267, allocations: 2.914 MB / 1.335 GB, free: 104.6 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01306/1.28, allocations: 3.317 MB / 1.339 GB, free: 101.3 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01086/1.291, allocations: 6.375 MB / 1.345 GB, free: 94.96 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/1.295, allocations: 1.878 MB / 1.347 GB, free: 93.14 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004481/1.3, allocations: 1.684 MB / 1.348 GB, free: 91.45 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/1.303, allocations: 1.536 MB / 1.35 GB, free: 89.91 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007146/1.304, allocations: 84 kB / 1.35 GB, free: 89.82 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/1.309, allocations: 1.497 MB / 1.351 GB, free: 88.32 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.31, allocations: 0.5213 MB / 1.352 GB, free: 87.8 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/1.311, allocations: 0.5237 MB / 1.352 GB, free: 87.27 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005978/1.317, allocations: 3.33 MB / 1.356 GB, free: 83.94 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.317, allocations: 4 kB / 1.356 GB, free: 83.93 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.274e-06/1.317, allocations: 0 / 1.356 GB, free: 83.93 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001104/1.318, allocations: 3.469 kB / 1.356 GB, free: 83.93 MB / 0.7917 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.007727/1.325, allocations: 2.832 MB / 1.358 GB, free: 81.02 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.325, allocations: 12.03 kB / 1.358 GB, free: 81.01 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/1.332, allocations: 0.7224 MB / 1.359 GB, free: 80.29 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/1.338, allocations: 1.999 MB / 1.361 GB, free: 78.24 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007042/1.339, allocations: 203.6 kB / 1.361 GB, free: 78.04 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/1.339, allocations: 188 kB / 1.361 GB, free: 77.86 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006335/1.345, allocations: 2.171 MB / 1.363 GB, free: 75.59 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/1.346, allocations: 4 kB / 1.363 GB, free: 75.59 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/1.346, allocations: 72 kB / 1.364 GB, free: 75.52 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/1.346, allocations: 48 kB / 1.364 GB, free: 75.47 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007925/1.354, allocations: 2.222 MB / 1.366 GB, free: 73.25 MB / 0.7917 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.019/1.373, allocations: 8.836 MB / 1.374 GB, free: 64.01 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006347/1.379, allocations: 1.589 MB / 1.376 GB, free: 62.41 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/1.382, allocations: 0.6732 MB / 1.377 GB, free: 61.73 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007859/1.39, allocations: 3.158 MB / 1.38 GB, free: 58.32 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004372/1.394, allocations: 0.8759 MB / 1.381 GB, free: 57.43 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001798/1.396, allocations: 141.1 kB / 1.381 GB, free: 57.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=121): time 1.142e-05/1.396, allocations: 0 / 1.381 GB, free: 57.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=121): time 0.01881/1.415, allocations: 2.561 MB / 1.383 GB, free: 54.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/1.415, allocations: 167.2 kB / 1.383 GB, free: 54.46 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/1.42, allocations: 1.784 MB / 1.385 GB, free: 52.64 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004474/1.421, allocations: 53.7 kB / 1.385 GB, free: 52.58 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/1.422, allocations: 1.034 MB / 1.386 GB, free: 51.53 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007657/1.423, allocations: 414.1 kB / 1.387 GB, free: 51.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.423, allocations: 28 kB / 1.387 GB, free: 51.09 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.423, allocations: 369.8 kB / 1.387 GB, free: 50.73 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/1.427, allocations: 0.6285 MB / 1.388 GB, free: 50.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/1.432, allocations: 1.044 MB / 1.389 GB, free: 48.88 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/1.436, allocations: 0.7826 MB / 1.389 GB, free: 48.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.436, allocations: 4 kB / 1.389 GB, free: 48.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.0127/1.449, allocations: 2.175 MB / 1.391 GB, free: 45.88 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003254/1.449, allocations: 451.9 kB / 1.392 GB, free: 45.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/1.449, allocations: 8 kB / 1.392 GB, free: 45.28 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/1.452, allocations: 222.4 kB / 1.392 GB, free: 45.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.456, allocations: 375.4 kB / 1.392 GB, free: 44.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/1.464, allocations: 3.591 MB / 1.396 GB, free: 40.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005192/1.469, allocations: 193 kB / 1.396 GB, free: 40.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/1.469, allocations: 79.95 kB / 1.396 GB, free: 40.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.469, allocations: 4 kB / 1.396 GB, free: 40.54 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/1.48, allocations: 1.934 MB / 1.398 GB, free: 38.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/1.48, allocations: 8 kB / 1.398 GB, free: 38.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/1.483, allocations: 218.4 kB / 1.398 GB, free: 38.35 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/1.487, allocations: 367.4 kB / 1.399 GB, free: 37.99 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007043/1.494, allocations: 3.595 MB / 1.402 GB, free: 34.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.497, allocations: 183.5 kB / 1.402 GB, free: 33.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/1.498, allocations: 75.97 kB / 1.402 GB, free: 33.86 MB / 0.7917 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.00152/1.499, allocations: 0.5788 MB / 1.403 GB, free: 33.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/1.5, allocations: 209.4 kB / 1.403 GB, free: 33.06 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009426/1.509, allocations: 2.104 MB / 1.405 GB, free: 30.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00732/1.517, allocations: 1.563 MB / 1.407 GB, free: 29.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.517, allocations: 3.953 kB / 1.407 GB, free: 29.39 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.518, allocations: 0.4941 MB / 1.407 GB, free: 28.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005083/1.519, allocations: 26.16 kB / 1.407 GB, free: 28.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.522, allocations: 186.4 kB / 1.407 GB, free: 28.67 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/1.522, allocations: 101.2 kB / 1.408 GB, free: 28.57 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009247/1.532, allocations: 1.849 MB / 1.409 GB, free: 26.7 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009598/1.541, allocations: 2.648 MB / 1.412 GB, free: 24.04 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002724/1.544, allocations: 0.7012 MB / 1.413 GB, free: 23.34 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002324/1.546, allocations: 1.197 MB / 1.414 GB, free: 22.12 MB / 0.7917 GB Notification: Performance of Backend: time 1.483e-06/1.547, allocations: 0 / 1.414 GB, free: 22.12 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01493/1.561, allocations: 3.804 MB / 1.418 GB, free: 18.59 MB / 0.7917 GB Notification: Performance of SimCode: time 0.0184/1.58, allocations: 5.608 MB / 1.423 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of Templates: time 0.6749/2.255, allocations: 51.81 MB / 1.474 GB, free: 277 MB / 0.823 GB