Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.51/2.51, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 180.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 86.44 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004782, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1593, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.09934/0.2586, allocations: 72.42 MB / 1.049 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.7432/1.002, allocations: 141.9 MB / 1.188 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/1.005, allocations: 74.16 kB / 1.188 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004219/1.01, allocations: 0.9999 MB / 1.189 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/1.021, allocations: 2.798 MB / 1.192 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01327/1.034, allocations: 3.386 MB / 1.195 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00831/1.042, allocations: 3.705 MB / 1.199 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/1.046, allocations: 1.976 MB / 1.201 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/1.051, allocations: 1.584 MB / 1.202 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/1.053, allocations: 1.17 MB / 1.203 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005766/1.054, allocations: 88 kB / 1.203 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004966/1.059, allocations: 1.361 MB / 1.205 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.06, allocations: 0.537 MB / 1.205 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.062, allocations: 0.5432 MB / 1.206 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006978/1.069, allocations: 3.485 MB / 1.209 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.785e-06/1.069, allocations: 0 / 1.209 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.897e-06/1.069, allocations: 0 / 1.209 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.944e-05/1.069, allocations: 0 / 1.209 GB, free: 6.129 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: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.007398/1.076, allocations: 2.896 MB / 1.212 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.076, allocations: 8.031 kB / 1.212 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/1.079, allocations: 487.9 kB / 1.213 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/1.085, allocations: 2.058 MB / 1.215 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/1.085, allocations: 155.7 kB / 1.215 GB, free: 400 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/1.086, allocations: 200 kB / 1.215 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006199/1.092, allocations: 2.094 MB / 1.217 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/1.092, allocations: 3.938 kB / 1.217 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/1.092, allocations: 87.98 kB / 1.217 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-05/1.092, allocations: 52 kB / 1.217 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006182/1.098, allocations: 1.997 MB / 1.219 GB, free: 11.87 MB / 0.7448 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.01895/1.117, allocations: 8.397 MB / 1.227 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/1.121, allocations: 1.315 MB / 1.228 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007937/1.129, allocations: 3.2 MB / 1.232 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002086/1.132, allocations: 0.7472 MB / 1.232 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009339/1.133, allocations: 150.5 kB / 1.232 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 5.479e-06/1.133, allocations: 0 / 1.232 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.006882/1.14, allocations: 1.92 MB / 1.234 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/1.14, allocations: 278.3 kB / 1.235 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/1.144, allocations: 1.967 MB / 1.237 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/1.144, allocations: 53.7 kB / 1.237 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/1.146, allocations: 1.121 MB / 1.238 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/1.146, allocations: 433.8 kB / 1.238 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/1.147, allocations: 28 kB / 1.238 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000231/1.147, allocations: 365.9 kB / 1.238 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.149, allocations: 0.4997 MB / 1.239 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/1.151, allocations: 0.9665 MB / 1.24 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/1.153, allocations: 0.6309 MB / 1.241 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/1.153, allocations: 4 kB / 1.241 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005781/1.159, allocations: 1.76 MB / 1.242 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002249/1.161, allocations: 4.073 MB / 1.246 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/1.161, allocations: 8 kB / 1.246 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/1.162, allocations: 96.78 kB / 1.246 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/1.164, allocations: 367.5 kB / 1.247 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/1.167, allocations: 1.54 MB / 1.248 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/1.169, allocations: 161.4 kB / 1.248 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/1.17, allocations: 83.95 kB / 1.248 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.17, allocations: 4 kB / 1.248 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004535/1.174, allocations: 1.48 MB / 1.25 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/1.174, allocations: 12 kB / 1.25 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006766/1.175, allocations: 105.1 kB / 1.25 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.177, allocations: 343.5 kB / 1.25 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/1.18, allocations: 1.551 MB / 1.252 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.182, allocations: 150.1 kB / 1.252 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.182, allocations: 71.97 kB / 1.252 GB, free: 8.465 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001753/1.184, allocations: 0.6082 MB / 1.253 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000632/1.185, allocations: 233.2 kB / 1.253 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/1.191, allocations: 1.807 MB / 1.255 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/1.191, allocations: 23.95 kB / 1.255 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-06/1.191, allocations: 4 kB / 1.255 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004429/1.195, allocations: 1.498 MB / 1.256 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.206, allocations: 3.762 MB / 1.26 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.206, allocations: 0 / 1.26 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.208, allocations: 271.8 kB / 1.26 GB, free: 100 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/1.208, allocations: 88.77 kB / 1.26 GB, free: 8 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/1.209, allocations: 47.92 kB / 1.26 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/1.211, allocations: 1.563 MB / 1.262 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.502e-06/1.211, allocations: 0 / 1.262 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00728/1.219, allocations: 2.446 MB / 1.264 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.22, allocations: 0.5135 MB / 1.265 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/1.221, allocations: 31.95 kB / 1.265 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.223, allocations: 159.7 kB / 1.265 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/1.223, allocations: 109.1 kB / 1.265 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/1.224, allocations: 63.95 kB / 1.265 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003029/1.227, allocations: 1.329 MB / 1.266 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.031e-06/1.227, allocations: 0 / 1.266 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005416/1.232, allocations: 1.333 MB / 1.268 GB, free: 8.176 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00351/1.236, allocations: 1.028 MB / 1.269 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007237/1.243, allocations: 2.429 MB / 1.271 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/1.243, allocations: 4 kB / 1.271 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002388/1.245, allocations: 0.8185 MB / 1.272 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005781/1.251, allocations: 1.041 MB / 1.273 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.264, allocations: 5.31 MB / 1.278 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.266, allocations: 1.709 MB / 1.28 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004167/1.27, allocations: 0.7208 MB / 1.28 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009434/1.271, allocations: 223.3 kB / 1.281 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of SimCode: time 2.081e-06/1.271, allocations: 4 kB / 1.281 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of Templates: time 0.1114/1.383, allocations: 46.2 MB / 1.326 GB, free: 13.11 MB / 0.8542 GB