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.01044/0.01044, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.00107/0.00107, allocations: 176.2 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.491/3.491, allocations: 389.1 MB / 405.9 MB, free: 67.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.855/3.855, allocations: 472.3 MB / 0.9018 GB, free: 87.46 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005005, allocations: 13.28 kB / 1.008 GB, free: 37.49 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.152, allocations: 98.72 MB / 1.104 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.1043/0.2563, allocations: 78.77 MB / 1.181 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.6545/0.9108, allocations: 151.8 MB / 1.329 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.9138, allocations: 78.56 kB / 1.329 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.9167, allocations: 0.9091 MB / 1.33 GB, free: 5.34 MB / 0.6355 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.009038/0.9257, allocations: 2.908 MB / 1.333 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.936, allocations: 3.282 MB / 1.336 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009384/0.9454, allocations: 6.33 MB / 1.342 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003632/0.9491, allocations: 1.85 MB / 1.344 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.9529, allocations: 1.657 MB / 1.346 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.9557, allocations: 1.52 MB / 1.347 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.9561, allocations: 84 kB / 1.347 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.9607, allocations: 1.505 MB / 1.349 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009265/0.9617, allocations: 0.5135 MB / 1.349 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.9627, allocations: 0.5159 MB / 1.35 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005671/0.9684, allocations: 3.309 MB / 1.353 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.9684, allocations: 0 / 1.353 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.558e-06/0.9684, allocations: 0 / 1.353 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.894e-05/0.9685, allocations: 0 / 1.353 GB, free: 1.695 MB / 0.6511 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.006374/0.9749, allocations: 2.802 MB / 1.356 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9749, allocations: 8.031 kB / 1.356 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.9795, allocations: 0.703 MB / 1.357 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.985, allocations: 1.979 MB / 1.358 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005088/0.9856, allocations: 203.5 kB / 1.359 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.986, allocations: 192.6 kB / 1.359 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/0.9914, allocations: 2.122 MB / 1.361 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.9914, allocations: 1.891 kB / 1.361 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.9917, allocations: 80 kB / 1.361 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.9918, allocations: 44 kB / 1.361 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006227/0.998, allocations: 2.183 MB / 1.363 GB, free: 7.172 MB / 0.6667 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.0169/1.015, allocations: 8.52 MB / 1.371 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/1.02, allocations: 1.474 MB / 1.373 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/1.022, allocations: 0.6479 MB / 1.374 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00639/1.028, allocations: 3.113 MB / 1.377 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002456/1.031, allocations: 0.8527 MB / 1.377 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006691/1.032, allocations: 134.7 kB / 1.378 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=118): time 4.084e-06/1.032, allocations: 0 / 1.378 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118): time 0.008132/1.04, allocations: 2.321 MB / 1.38 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.04, allocations: 167.2 kB / 1.38 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/1.043, allocations: 1.776 MB / 1.382 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/1.043, allocations: 53.7 kB / 1.382 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.045, allocations: 1.022 MB / 1.383 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005154/1.045, allocations: 402.2 kB / 1.383 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.045, allocations: 28 kB / 1.383 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.045, allocations: 365.9 kB / 1.384 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/1.048, allocations: 0.6129 MB / 1.384 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/1.05, allocations: 1.023 MB / 1.385 GB, free: 15.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.053, allocations: 0.7632 MB / 1.386 GB, free: 14.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.053, allocations: 4 kB / 1.386 GB, free: 14.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.00642/1.059, allocations: 2.081 MB / 1.388 GB, free: 12.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003554/1.059, allocations: 438.3 kB / 1.388 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.059, allocations: 15.98 kB / 1.388 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/1.06, allocations: 145.5 kB / 1.388 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/1.062, allocations: 375.4 kB / 1.389 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/1.066, allocations: 2.119 MB / 1.391 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/1.068, allocations: 190.7 kB / 1.391 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.068, allocations: 80.14 kB / 1.391 GB, free: 9.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.068, allocations: 7.953 kB / 1.391 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005537/1.074, allocations: 1.832 MB / 1.393 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.074, allocations: 12.12 kB / 1.393 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008715/1.075, allocations: 157.6 kB / 1.393 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/1.077, allocations: 355.5 kB / 1.393 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/1.08, allocations: 2.123 MB / 1.396 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.082, allocations: 184.4 kB / 1.396 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/1.082, allocations: 71.97 kB / 1.396 GB, free: 4.293 MB / 0.698 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.001379/1.083, allocations: 0.5769 MB / 1.396 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/1.084, allocations: 209.4 kB / 1.397 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006542/1.09, allocations: 1.996 MB / 1.398 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/1.09, allocations: 15.94 kB / 1.398 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.115e-06/1.09, allocations: 4 kB / 1.398 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004921/1.095, allocations: 1.472 MB / 1.4 GB, free: 15.98 MB / 0.7136 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.009942/1.105, allocations: 3.764 MB / 1.404 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.105, allocations: 7.984 kB / 1.404 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.107, allocations: 271.6 kB / 1.404 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008392/1.108, allocations: 137.6 kB / 1.404 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/1.108, allocations: 35.97 kB / 1.404 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/1.111, allocations: 2.135 MB / 1.406 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.625e-06/1.111, allocations: 4 kB / 1.406 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008025/1.119, allocations: 2.601 MB / 1.409 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.12, allocations: 0.4941 MB / 1.409 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/1.121, allocations: 32.06 kB / 1.409 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.123, allocations: 186.6 kB / 1.409 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/1.123, allocations: 93.17 kB / 1.409 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.123, allocations: 59.89 kB / 1.41 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002347/1.126, allocations: 1.189 MB / 1.411 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.57e-07/1.126, allocations: 0 / 1.411 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003903/1.129, allocations: 1.255 MB / 1.412 GB, free: 3.422 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 (129): * 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/1.132, allocations: 0.9596 MB / 1.413 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007924/1.14, allocations: 2.907 MB / 1.416 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/1.14, allocations: 8.062 kB / 1.416 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/1.143, allocations: 0.8915 MB / 1.417 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.148, allocations: 0.9388 MB / 1.417 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.159, allocations: 4.927 MB / 1.422 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/1.16, allocations: 1.624 MB / 1.424 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003929/1.164, allocations: 0.673 MB / 1.425 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/1.165, allocations: 207.3 kB / 1.425 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of SimCode: time 1.401e-06/1.165, allocations: 0 / 1.425 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of Templates: time 0.09806/1.263, allocations: 42.33 MB / 1.466 GB, free: 12.57 MB / 0.7761 GB