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.006118/0.006123, allocations: 240.5 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.002016/0.002017, allocations: 184.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 4.158/4.158, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.129/4.129, allocations: 472.3 MB / 0.9024 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.000498, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1759, allocations: 98.73 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.7431/0.919, allocations: 79.9 MB / 1.183 GB, free: 42.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.3622/1.281, allocations: 155.3 MB / 1.334 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005659/1.287, allocations: 87.38 kB / 1.334 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007584/1.295, allocations: 0.9859 MB / 1.335 GB, free: 14.36 MB / 0.698 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.01967/1.314, allocations: 3.01 MB / 1.338 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02409/1.338, allocations: 3.678 MB / 1.342 GB, free: 7.695 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01791/1.356, allocations: 6.811 MB / 1.349 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007451/1.364, allocations: 2.108 MB / 1.351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/1.37, allocations: 1.82 MB / 1.352 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/1.374, allocations: 1.699 MB / 1.354 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008477/1.375, allocations: 100 kB / 1.354 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007471/1.382, allocations: 1.793 MB / 1.356 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/1.384, allocations: 0.5835 MB / 1.356 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/1.385, allocations: 0.5782 MB / 1.357 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008475/1.394, allocations: 3.746 MB / 1.361 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.394, allocations: 0 / 1.361 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.935e-06/1.394, allocations: 0 / 1.361 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001323/1.394, allocations: 3.938 kB / 1.361 GB, free: 4.371 MB / 0.7136 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.01023/1.404, allocations: 3.189 MB / 1.364 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.44e-05/1.404, allocations: 12.02 kB / 1.364 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007924/1.412, allocations: 0.8234 MB / 1.365 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007456/1.42, allocations: 2.182 MB / 1.367 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008549/1.421, allocations: 233.5 kB / 1.367 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008009/1.422, allocations: 216 kB / 1.367 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008894/1.43, allocations: 2.502 MB / 1.37 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/1.431, allocations: 3.938 kB / 1.37 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/1.431, allocations: 91.95 kB / 1.37 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-05/1.431, allocations: 56 kB / 1.37 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/1.442, allocations: 2.513 MB / 1.372 GB, free: 8.23 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.02727/1.469, allocations: 10.43 MB / 1.382 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/1.478, allocations: 1.886 MB / 1.384 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003905/1.481, allocations: 0.8388 MB / 1.385 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/1.496, allocations: 5.358 MB / 1.39 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00452/1.5, allocations: 1.022 MB / 1.391 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001304/1.502, allocations: 150.4 kB / 1.391 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=144): time 7.664e-06/1.502, allocations: 0 / 1.391 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144): time 0.01579/1.518, allocations: 2.806 MB / 1.394 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.518, allocations: 179.5 kB / 1.394 GB, free: 496 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/1.523, allocations: 2.04 MB / 1.396 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004636/1.523, allocations: 57.7 kB / 1.396 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.525, allocations: 1.187 MB / 1.398 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008861/1.526, allocations: 0.4891 MB / 1.398 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.526, allocations: 36 kB / 1.398 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.526, allocations: 381.8 kB / 1.398 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003723/1.53, allocations: 0.7808 MB / 1.399 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004626/1.535, allocations: 1.359 MB / 1.4 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/1.539, allocations: 0.9774 MB / 1.401 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/1.539, allocations: 4 kB / 1.401 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01194/1.551, allocations: 2.609 MB / 1.404 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005003/1.551, allocations: 0.5167 MB / 1.404 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/1.551, allocations: 12 kB / 1.404 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/1.553, allocations: 181.5 kB / 1.405 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.558, allocations: 467.3 kB / 1.405 GB, free: 4.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/1.564, allocations: 3.577 MB / 1.409 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.568, allocations: 216.4 kB / 1.409 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005588/1.569, allocations: 103.8 kB / 1.409 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.569, allocations: 8 kB / 1.409 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009893/1.579, allocations: 2.313 MB / 1.411 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/1.579, allocations: 12 kB / 1.411 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/1.581, allocations: 174 kB / 1.411 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.585, allocations: 455.3 kB / 1.412 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/1.591, allocations: 3.588 MB / 1.415 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.595, allocations: 201.9 kB / 1.415 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/1.596, allocations: 95.95 kB / 1.416 GB, free: 9.594 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 11 ($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,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 218 * 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.001991/1.598, allocations: 0.6331 MB / 1.416 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007802/1.599, allocations: 248.9 kB / 1.416 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.611, allocations: 2.473 MB / 1.419 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01275/1.624, allocations: 1.824 MB / 1.421 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/1.624, allocations: 0 / 1.421 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.626, allocations: 0.5561 MB / 1.421 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009708/1.627, allocations: 31.95 kB / 1.421 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004187/1.632, allocations: 207.6 kB / 1.421 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/1.632, allocations: 113.8 kB / 1.422 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01161/1.644, allocations: 2.171 MB / 1.424 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01311/1.657, allocations: 3.196 MB / 1.427 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003749/1.661, allocations: 0.8745 MB / 1.428 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00321/1.664, allocations: 1.35 MB / 1.429 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of Backend: time 9.72e-07/1.664, allocations: 0 / 1.429 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01691/1.681, allocations: 4.343 MB / 1.433 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01823/1.699, allocations: 6.313 MB / 1.439 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of Templates: time 0.7879/2.487, allocations: 58.58 MB / 1.497 GB, free: 267 MB / 0.823 GB