Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.028/2.028, allocations: 288.3 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 173 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009923/0.0009921, allocations: 92.33 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005863/0.0005865, allocations: 17.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2442, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.08343/0.3277, allocations: 72.43 MB / 1.05 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6337/0.9615, allocations: 141.8 MB / 1.189 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.965, allocations: 76.59 kB / 1.189 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.9688, allocations: 1.004 MB / 1.19 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009983/0.9788, allocations: 2.808 MB / 1.192 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01227/0.9911, allocations: 3.375 MB / 1.196 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.009354/1, allocations: 3.695 MB / 1.199 GB, free: 220 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005159/1.006, allocations: 1.972 MB / 1.201 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/1.01, allocations: 1.584 MB / 1.203 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/1.012, allocations: 1.17 MB / 1.204 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007231/1.013, allocations: 88 kB / 1.204 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/1.017, allocations: 1.361 MB / 1.205 GB, free: 10 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.018, allocations: 0.537 MB / 1.206 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/1.02, allocations: 0.5471 MB / 1.206 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006412/1.026, allocations: 3.485 MB / 1.21 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.026, allocations: 4 kB / 1.21 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.303e-06/1.026, allocations: 0 / 1.21 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001674/1.026, allocations: 0 / 1.21 GB, free: 5.426 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.006826/1.033, allocations: 2.892 MB / 1.213 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.033, allocations: 8.031 kB / 1.213 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/1.036, allocations: 497.8 kB / 1.213 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/1.041, allocations: 2.053 MB / 1.215 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/1.041, allocations: 149.6 kB / 1.215 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004718/1.041, allocations: 199.9 kB / 1.216 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/1.046, allocations: 2.1 MB / 1.218 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/1.046, allocations: 4 kB / 1.218 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/1.046, allocations: 80 kB / 1.218 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/1.047, allocations: 59.98 kB / 1.218 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/1.051, allocations: 1.991 MB / 1.22 GB, free: 11.17 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.01368/1.064, allocations: 8.396 MB / 1.228 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/1.067, allocations: 1.32 MB / 1.229 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00562/1.073, allocations: 3.197 MB / 1.232 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/1.074, allocations: 0.7433 MB / 1.233 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007848/1.075, allocations: 150.5 kB / 1.233 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 3.927e-06/1.075, allocations: 0 / 1.233 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.004808/1.08, allocations: 1.924 MB / 1.235 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.08, allocations: 274.3 kB / 1.235 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/1.083, allocations: 1.96 MB / 1.237 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/1.083, allocations: 53.7 kB / 1.237 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.084, allocations: 1.117 MB / 1.238 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/1.085, allocations: 433.8 kB / 1.239 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/1.085, allocations: 31.98 kB / 1.239 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.085, allocations: 369.8 kB / 1.239 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/1.086, allocations: 0.5036 MB / 1.24 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.088, allocations: 0.9561 MB / 1.241 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/1.089, allocations: 0.6466 MB / 1.241 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.089, allocations: 4 kB / 1.241 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004007/1.093, allocations: 1.757 MB / 1.243 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001493/1.094, allocations: 4.065 MB / 1.247 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/1.094, allocations: 12 kB / 1.247 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/1.095, allocations: 96.77 kB / 1.247 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.097, allocations: 363.5 kB / 1.247 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/1.099, allocations: 1.551 MB / 1.249 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.101, allocations: 164.3 kB / 1.249 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/1.101, allocations: 75.92 kB / 1.249 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.101, allocations: 4 kB / 1.249 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003132/1.104, allocations: 1.488 MB / 1.251 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/1.104, allocations: 8 kB / 1.251 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/1.105, allocations: 96.81 kB / 1.251 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.106, allocations: 359.4 kB / 1.251 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/1.108, allocations: 1.553 MB / 1.252 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.109, allocations: 148.4 kB / 1.253 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/1.11, allocations: 71.97 kB / 1.253 GB, free: 7.754 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.001231/1.111, allocations: 0.6198 MB / 1.253 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/1.111, allocations: 225.2 kB / 1.254 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/1.116, allocations: 1.798 MB / 1.255 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.116, allocations: 16 kB / 1.255 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.116, allocations: 3.953 kB / 1.255 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002868/1.118, allocations: 1.502 MB / 1.257 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007619/1.126, allocations: 3.754 MB / 1.26 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.126, allocations: 4 kB / 1.26 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.127, allocations: 271.7 kB / 1.261 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005525/1.128, allocations: 88.7 kB / 1.261 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.128, allocations: 51.92 kB / 1.261 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.13, allocations: 1.556 MB / 1.262 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.13, allocations: 11.95 kB / 1.262 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/1.135, allocations: 2.45 MB / 1.265 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.137, allocations: 0.5096 MB / 1.265 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/1.137, allocations: 35.95 kB / 1.265 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.139, allocations: 163.3 kB / 1.265 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.139, allocations: 109.1 kB / 1.266 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.139, allocations: 59.95 kB / 1.266 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002345/1.142, allocations: 1.325 MB / 1.267 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.51e-07/1.142, allocations: 0 / 1.267 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003895/1.146, allocations: 1.337 MB / 1.268 GB, free: 7.457 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.002304/1.148, allocations: 1.03 MB / 1.269 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004959/1.153, allocations: 2.424 MB / 1.272 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.153, allocations: 4 kB / 1.272 GB, free: 4.074 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.154, allocations: 0.8195 MB / 1.272 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/1.16, allocations: 1.042 MB / 1.273 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/1.17, allocations: 5.308 MB / 1.279 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.171, allocations: 1.711 MB / 1.28 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003228/1.174, allocations: 0.724 MB / 1.281 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006568/1.175, allocations: 227.3 kB / 1.281 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/1.175, allocations: 0 / 1.281 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.07849/1.254, allocations: 46.22 MB / 1.326 GB, free: 12.36 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)