Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.577/2.577, allocations: 287.9 MB / 302.9 MB, free: 8.262 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.001404/0.001404, allocations: 183 kB / 371.4 MB, free: 10.68 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 2.004/2.004, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001025/0.001025, allocations: 94.84 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004732, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1576, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.09737/0.255, allocations: 72.43 MB / 1.049 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.7301/0.9851, allocations: 141.9 MB / 1.188 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.9887, allocations: 74.12 kB / 1.188 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.993, allocations: 0.9936 MB / 1.189 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/1.004, allocations: 2.808 MB / 1.192 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01338/1.018, allocations: 3.383 MB / 1.195 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008638/1.026, allocations: 3.69 MB / 1.199 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/1.031, allocations: 1.972 MB / 1.201 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/1.035, allocations: 1.588 MB / 1.202 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/1.038, allocations: 1.166 MB / 1.203 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006416/1.039, allocations: 84 kB / 1.203 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/1.044, allocations: 1.373 MB / 1.205 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/1.045, allocations: 0.537 MB / 1.205 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/1.046, allocations: 0.5393 MB / 1.206 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006823/1.053, allocations: 3.489 MB / 1.209 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.053, allocations: 0 / 1.209 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.439e-06/1.053, allocations: 0 / 1.209 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.389e-05/1.053, allocations: 0 / 1.209 GB, free: 6.062 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.007203/1.06, allocations: 2.902 MB / 1.212 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/1.06, allocations: 12.03 kB / 1.212 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/1.063, allocations: 493.8 kB / 1.213 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/1.069, allocations: 2.045 MB / 1.215 GB, free: 488 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/1.069, allocations: 153.7 kB / 1.215 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/1.069, allocations: 196 kB / 1.215 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005731/1.075, allocations: 2.1 MB / 1.217 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/1.075, allocations: 3.938 kB / 1.217 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/1.076, allocations: 83.98 kB / 1.217 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.661e-05/1.076, allocations: 52.8 kB / 1.217 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005754/1.081, allocations: 1.997 MB / 1.219 GB, free: 11.8 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.01864/1.1, allocations: 8.395 MB / 1.227 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/1.104, allocations: 1.309 MB / 1.228 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008195/1.112, allocations: 3.216 MB / 1.232 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/1.114, allocations: 0.7511 MB / 1.232 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009197/1.115, allocations: 146.5 kB / 1.232 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 4.938e-06/1.115, allocations: 0 / 1.232 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.006562/1.122, allocations: 1.912 MB / 1.234 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/1.122, allocations: 286.3 kB / 1.235 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/1.126, allocations: 1.956 MB / 1.237 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/1.127, allocations: 57.7 kB / 1.237 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.128, allocations: 1.113 MB / 1.238 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006653/1.129, allocations: 433.8 kB / 1.238 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.129, allocations: 32 kB / 1.238 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000228/1.129, allocations: 361.9 kB / 1.238 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/1.131, allocations: 0.5075 MB / 1.239 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/1.133, allocations: 0.951 MB / 1.24 GB, free: 5.551 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/1.135, allocations: 0.6427 MB / 1.241 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/1.135, allocations: 0 / 1.241 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005628/1.141, allocations: 1.768 MB / 1.242 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002235/1.143, allocations: 4.062 MB / 1.246 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/1.143, allocations: 15.98 kB / 1.246 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000773/1.144, allocations: 96.78 kB / 1.246 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.146, allocations: 367.4 kB / 1.247 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/1.149, allocations: 1.548 MB / 1.248 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.151, allocations: 165.5 kB / 1.248 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/1.151, allocations: 83.95 kB / 1.248 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.151, allocations: 4 kB / 1.248 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004645/1.156, allocations: 1.484 MB / 1.25 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/1.156, allocations: 12 kB / 1.25 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006879/1.157, allocations: 105 kB / 1.25 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.159, allocations: 343.5 kB / 1.25 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/1.162, allocations: 1.546 MB / 1.252 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/1.164, allocations: 146.1 kB / 1.252 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/1.164, allocations: 75.91 kB / 1.252 GB, free: 8.398 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.001743/1.166, allocations: 0.6199 MB / 1.253 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/1.167, allocations: 225.2 kB / 1.253 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/1.172, allocations: 1.806 MB / 1.255 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/1.173, allocations: 19.95 kB / 1.255 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-06/1.173, allocations: 4 kB / 1.255 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004261/1.177, allocations: 1.498 MB / 1.256 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.187, allocations: 3.747 MB / 1.26 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.187, allocations: 0 / 1.26 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.189, allocations: 279.7 kB / 1.26 GB, free: 40 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/1.19, allocations: 88.77 kB / 1.26 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/1.19, allocations: 47.92 kB / 1.26 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.193, allocations: 1.571 MB / 1.262 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.528e-06/1.193, allocations: 3.938 kB / 1.262 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006921/1.2, allocations: 2.45 MB / 1.264 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/1.201, allocations: 0.5135 MB / 1.265 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005197/1.202, allocations: 31.95 kB / 1.265 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.204, allocations: 155.7 kB / 1.265 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.204, allocations: 101.2 kB / 1.265 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.204, allocations: 68.12 kB / 1.265 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002941/1.207, allocations: 1.329 MB / 1.266 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.056e-06/1.207, allocations: 0 / 1.266 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00523/1.213, allocations: 1.333 MB / 1.268 GB, free: 8.109 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.003318/1.216, allocations: 1.02 MB / 1.269 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006941/1.223, allocations: 2.437 MB / 1.271 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.223, allocations: 0 / 1.271 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/1.225, allocations: 0.8264 MB / 1.272 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.231, allocations: 1.044 MB / 1.273 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.243, allocations: 5.306 MB / 1.278 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/1.245, allocations: 1.713 MB / 1.28 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004103/1.249, allocations: 0.7166 MB / 1.28 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/1.25, allocations: 223.3 kB / 1.281 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of SimCode: time 1.892e-06/1.25, allocations: 4 kB / 1.281 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.1106/1.361, allocations: 46.21 MB / 1.326 GB, free: 13.02 MB / 0.8542 GB