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.FixedApproachDryBulb.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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004311/0.004316, allocations: 233.5 kB / 15.8 MB, free: 6.32 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.00117/0.00117, allocations: 181.3 kB / 16.69 MB, free: 5.473 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.896/3.896, allocations: 389.1 MB / 406.5 MB, free: 11.87 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 3.781/3.781, allocations: 472.3 MB / 0.9024 GB, free: 18.8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004926, allocations: 12.94 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 98.72 MB / 1.105 GB, free: 10.71 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.7038/0.9166, allocations: 78.76 MB / 1.182 GB, free: 29.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2435/1.16, allocations: 151.8 MB / 1.33 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/1.164, allocations: 75.5 kB / 1.33 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00473/1.169, allocations: 0.9122 MB / 1.331 GB, free: 7.406 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.01244/1.181, allocations: 2.911 MB / 1.334 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01478/1.196, allocations: 3.277 MB / 1.337 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01202/1.208, allocations: 6.309 MB / 1.343 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/1.213, allocations: 1.858 MB / 1.345 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005285/1.218, allocations: 1.668 MB / 1.346 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/1.222, allocations: 1.509 MB / 1.348 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008491/1.223, allocations: 84 kB / 1.348 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/1.229, allocations: 1.505 MB / 1.349 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/1.231, allocations: 0.5096 MB / 1.35 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/1.232, allocations: 0.512 MB / 1.35 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007586/1.24, allocations: 3.308 MB / 1.354 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/1.24, allocations: 0 / 1.354 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/1.24, allocations: 7.938 kB / 1.354 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001301/1.24, allocations: 3.938 kB / 1.354 GB, free: 15.88 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.009057/1.249, allocations: 2.791 MB / 1.356 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.249, allocations: 11.98 kB / 1.356 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006839/1.256, allocations: 0.7069 MB / 1.357 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/1.263, allocations: 1.977 MB / 1.359 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/1.264, allocations: 211.5 kB / 1.359 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/1.266, allocations: 187.9 kB / 1.359 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007864/1.274, allocations: 2.111 MB / 1.361 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/1.274, allocations: 4 kB / 1.361 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/1.274, allocations: 72 kB / 1.362 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.928e-05/1.274, allocations: 48 kB / 1.362 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009078/1.283, allocations: 2.195 MB / 1.364 GB, free: 5.367 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.02259/1.306, allocations: 8.507 MB / 1.372 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006958/1.313, allocations: 1.481 MB / 1.373 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/1.316, allocations: 0.6479 MB / 1.374 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008005/1.324, allocations: 3.118 MB / 1.377 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003554/1.328, allocations: 0.8527 MB / 1.378 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001099/1.329, allocations: 118.8 kB / 1.378 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=118): time 5.951e-06/1.329, allocations: 0 / 1.378 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=118): time 0.01231/1.341, allocations: 2.337 MB / 1.38 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.341, allocations: 171.2 kB / 1.381 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/1.345, allocations: 1.776 MB / 1.382 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003935/1.346, allocations: 53.7 kB / 1.382 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.347, allocations: 1.022 MB / 1.383 GB, free: 488 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007916/1.348, allocations: 398.2 kB / 1.384 GB, free: 84 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/1.348, allocations: 35.94 kB / 1.384 GB, free: 48 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.348, allocations: 357.9 kB / 1.384 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/1.352, allocations: 0.6168 MB / 1.385 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/1.356, allocations: 1.019 MB / 1.386 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/1.36, allocations: 0.7592 MB / 1.386 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/1.36, allocations: 7.984 kB / 1.386 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.00888/1.369, allocations: 2.085 MB / 1.388 GB, free: 11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004087/1.369, allocations: 445.6 kB / 1.389 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.369, allocations: 8 kB / 1.389 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/1.371, allocations: 141.6 kB / 1.389 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/1.374, allocations: 371.9 kB / 1.389 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/1.378, allocations: 2.136 MB / 1.391 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.381, allocations: 188.4 kB / 1.392 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/1.382, allocations: 75.95 kB / 1.392 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.382, allocations: 4 kB / 1.392 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007501/1.389, allocations: 1.832 MB / 1.394 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/1.389, allocations: 15.94 kB / 1.394 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.391, allocations: 146.1 kB / 1.394 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/1.394, allocations: 359.4 kB / 1.394 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/1.397, allocations: 2.133 MB / 1.396 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/1.401, allocations: 191.3 kB / 1.396 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/1.401, allocations: 71.97 kB / 1.396 GB, free: 2.43 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (177): * Single equations (assignments): 172 * 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: 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 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001687/1.403, allocations: 0.5747 MB / 1.397 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000709/1.404, allocations: 213.5 kB / 1.397 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009327/1.413, allocations: 1.988 MB / 1.399 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007143/1.42, allocations: 1.472 MB / 1.4 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.42, allocations: 0 / 1.4 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.422, allocations: 0.4903 MB / 1.401 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/1.423, allocations: 24 kB / 1.401 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.426, allocations: 179.7 kB / 1.401 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/1.426, allocations: 89.17 kB / 1.401 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009129/1.435, allocations: 1.791 MB / 1.403 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01061/1.446, allocations: 2.589 MB / 1.406 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003049/1.449, allocations: 0.6934 MB / 1.406 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002955/1.452, allocations: 1.189 MB / 1.407 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of Backend: time 1.573e-06/1.452, allocations: 0 / 1.407 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.466, allocations: 3.503 MB / 1.411 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of SimCode: time 0.01594/1.482, allocations: 5.526 MB / 1.416 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of Templates: time 0.7357/2.218, allocations: 50.49 MB / 1.465 GB, free: 254.3 MB / 0.8073 GB