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.009336/0.009336, allocations: 108.7 kB / 15.06 MB, free: 5.562 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.001157/0.001157, allocations: 183.2 kB / 15.95 MB, free: 5.523 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 2.029/2.029, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.227/2.227, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004766, allocations: 12 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5391, allocations: 98.72 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.1016/0.6408, allocations: 71.61 MB / 0.7533 GB, free: 6.652 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.2201/0.861, allocations: 141.9 MB / 0.8919 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.8646, allocations: 71.5 kB / 0.8919 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.8689, allocations: 0.9872 MB / 0.8929 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.8798, allocations: 2.805 MB / 0.8956 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01243/0.8923, allocations: 3.208 MB / 0.8988 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007671/0.9, allocations: 3.431 MB / 0.9021 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/0.9039, allocations: 1.853 MB / 0.9039 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.9078, allocations: 1.51 MB / 0.9054 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.9103, allocations: 1.108 MB / 0.9065 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.9109, allocations: 84 kB / 0.9066 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.9158, allocations: 1.533 MB / 0.908 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009586/0.9168, allocations: 0.4903 MB / 0.9085 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.9178, allocations: 0.5159 MB / 0.909 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.9242, allocations: 3.297 MB / 0.9122 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.934e-06/0.9242, allocations: 4 kB / 0.9123 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.567e-06/0.9242, allocations: 7.938 kB / 0.9123 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.09e-05/0.9243, allocations: 0 / 0.9123 GB, free: 3.438 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.006914/0.9312, allocations: 2.785 MB / 0.915 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9313, allocations: 12.03 kB / 0.915 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4718/1.403, allocations: 0.6962 MB / 0.9157 GB, free: 216.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/1.408, allocations: 1.913 MB / 0.9175 GB, free: 215.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005592/1.409, allocations: 204.2 kB / 0.9177 GB, free: 215.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005381/1.41, allocations: 187.2 kB / 0.9179 GB, free: 215.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006046/1.416, allocations: 2.086 MB / 0.92 GB, free: 214.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/1.416, allocations: 10.27 kB / 0.92 GB, free: 214.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/1.416, allocations: 80.34 kB / 0.92 GB, free: 214.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-05/1.416, allocations: 46.77 kB / 0.9201 GB, free: 214.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007068/1.423, allocations: 2.173 MB / 0.9222 GB, free: 214 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.01846/1.442, allocations: 8.565 MB / 0.9306 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/1.446, allocations: 1.468 MB / 0.932 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005923/1.452, allocations: 3.12 MB / 0.935 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002385/1.455, allocations: 0.8395 MB / 0.9359 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009016/1.456, allocations: 137.3 kB / 0.936 GB, free: 205 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 5.107e-06/1.456, allocations: 1.219 kB / 0.936 GB, free: 205 MB / 0.7292 GB Notification: Performance of matching and sorting (n=118): time 0.008294/1.464, allocations: 2.303 MB / 0.9383 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/1.464, allocations: 171.5 kB / 0.9384 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/1.468, allocations: 1.824 MB / 0.9402 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003234/1.468, allocations: 54.72 kB / 0.9402 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.469, allocations: 1.036 MB / 0.9413 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000753/1.47, allocations: 401.5 kB / 0.9416 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/1.47, allocations: 27.42 kB / 0.9417 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.47, allocations: 358.5 kB / 0.942 GB, free: 201 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/1.472, allocations: 0.5892 MB / 0.9426 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/1.475, allocations: 0.9985 MB / 0.9436 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/1.477, allocations: 0.7384 MB / 0.9443 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/1.477, allocations: 6.312 kB / 0.9443 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006362/1.483, allocations: 2.021 MB / 0.9463 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007899/1.484, allocations: 3.991 MB / 0.9502 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.484, allocations: 9.656 kB / 0.9502 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009953/1.485, allocations: 144.1 kB / 0.9503 GB, free: 194.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.487, allocations: 364.5 kB / 0.9507 GB, free: 194 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/1.49, allocations: 2.136 MB / 0.9527 GB, free: 191.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.493, allocations: 187.8 kB / 0.9529 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/1.493, allocations: 73.88 kB / 0.953 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.493, allocations: 7.016 kB / 0.953 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005435/1.498, allocations: 1.778 MB / 0.9547 GB, free: 190.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/1.499, allocations: 12.62 kB / 0.9547 GB, free: 190.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008694/1.499, allocations: 144.7 kB / 0.9549 GB, free: 190.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/1.501, allocations: 351.7 kB / 0.9552 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/1.504, allocations: 2.139 MB / 0.9573 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.507, allocations: 175 kB / 0.9575 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/1.507, allocations: 76.36 kB / 0.9575 GB, free: 188.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * 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.001504/1.508, allocations: 0.5643 MB / 0.9581 GB, free: 188.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/1.509, allocations: 219 kB / 0.9583 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/1.516, allocations: 1.99 MB / 0.9603 GB, free: 187 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/1.516, allocations: 17.5 kB / 0.9603 GB, free: 187 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.305e-06/1.516, allocations: 1.156 kB / 0.9603 GB, free: 187 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004974/1.521, allocations: 1.458 MB / 0.9617 GB, free: 186.2 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 postOpt removeSimpleEquations (simulation): time 0.01081/1.532, allocations: 3.82 MB / 0.9654 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.532, allocations: 3.953 kB / 0.9654 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.534, allocations: 281.5 kB / 0.9657 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009306/1.535, allocations: 134.6 kB / 0.9658 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.535, allocations: 39.56 kB / 0.9659 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/1.537, allocations: 2.152 MB / 0.968 GB, free: 181.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.74e-06/1.537, allocations: 0 / 0.968 GB, free: 181.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008625/1.546, allocations: 2.599 MB / 0.9705 GB, free: 179.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.547, allocations: 0.5097 MB / 0.971 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.548, allocations: 20.94 kB / 0.971 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.55, allocations: 184.7 kB / 0.9712 GB, free: 179.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/1.55, allocations: 101.1 kB / 0.9713 GB, free: 179.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.551, allocations: 59.95 kB / 0.9713 GB, free: 179 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002129/1.553, allocations: 1.232 MB / 0.9726 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.35e-07/1.553, allocations: 2.812 kB / 0.9726 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004285/1.557, allocations: 1.258 MB / 0.9738 GB, free: 176.6 MB / 0.7292 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.002815/1.56, allocations: 1.014 MB / 0.9748 GB, free: 175.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007315/1.567, allocations: 2.818 MB / 0.9775 GB, free: 173 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.316e-06/1.567, allocations: 0 / 0.9775 GB, free: 173 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.57, allocations: 0.8925 MB / 0.9784 GB, free: 172.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.574, allocations: 0.9184 MB / 0.9793 GB, free: 171.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009692/1.584, allocations: 4.912 MB / 0.9841 GB, free: 166.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.585, allocations: 1.624 MB / 0.9857 GB, free: 164.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004025/1.589, allocations: 0.6768 MB / 0.9863 GB, free: 163.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/1.59, allocations: 211.3 kB / 0.9865 GB, free: 163.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.542e-06/1.59, allocations: 0 / 0.9865 GB, free: 163.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.08972/1.68, allocations: 43.26 MB / 1.029 GB, free: 121 MB / 0.7292 GB