Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.545/2.545, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001619/0.001619, allocations: 182.6 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00169/0.00169, allocations: 96.94 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 14 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.1117/0.335, allocations: 72.43 MB / 1.049 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.9172/1.252, allocations: 141.9 MB / 1.187 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/1.256, allocations: 72.25 kB / 1.188 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005221/1.261, allocations: 1.004 MB / 1.189 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/1.274, allocations: 2.807 MB / 1.191 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01568/1.29, allocations: 3.371 MB / 1.195 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01029/1.3, allocations: 3.697 MB / 1.198 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005001/1.306, allocations: 1.972 MB / 1.2 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/1.311, allocations: 1.584 MB / 1.202 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/1.314, allocations: 1.162 MB / 1.203 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008244/1.315, allocations: 88 kB / 1.203 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006096/1.321, allocations: 1.361 MB / 1.204 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/1.323, allocations: 0.537 MB / 1.205 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.324, allocations: 0.5432 MB / 1.205 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008287/1.332, allocations: 3.493 MB / 1.209 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.332, allocations: 0 / 1.209 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.445e-06/1.332, allocations: 0 / 1.209 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001125/1.333, allocations: 0 / 1.209 GB, free: 6.551 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.01224/1.345, allocations: 2.884 MB / 1.211 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/1.345, allocations: 16.02 kB / 1.211 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/1.351, allocations: 493.8 kB / 1.212 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.361, allocations: 2.053 MB / 1.214 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/1.362, allocations: 157.7 kB / 1.214 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008933/1.362, allocations: 200 kB / 1.214 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/1.373, allocations: 2.1 MB / 1.216 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/1.373, allocations: 0 / 1.216 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005436/1.374, allocations: 87.98 kB / 1.216 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/1.374, allocations: 53.89 kB / 1.216 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/1.385, allocations: 1.997 MB / 1.218 GB, free: 12.29 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.0244/1.409, allocations: 8.397 MB / 1.227 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006847/1.416, allocations: 1.315 MB / 1.228 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01369/1.43, allocations: 3.204 MB / 1.231 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003902/1.434, allocations: 0.755 MB / 1.232 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/1.436, allocations: 146.5 kB / 1.232 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 7.875e-06/1.436, allocations: 0 / 1.232 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.01356/1.449, allocations: 1.924 MB / 1.234 GB, free: 12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/1.45, allocations: 274.3 kB / 1.234 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004478/1.454, allocations: 1.959 MB / 1.236 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000411/1.455, allocations: 57.7 kB / 1.236 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.456, allocations: 1.117 MB / 1.237 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008926/1.457, allocations: 433.8 kB / 1.238 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.457, allocations: 32 kB / 1.238 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002806/1.458, allocations: 365.9 kB / 1.238 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/1.461, allocations: 0.5036 MB / 1.238 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/1.464, allocations: 0.9471 MB / 1.239 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/1.466, allocations: 0.6505 MB / 1.24 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.466, allocations: 0 / 1.24 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007357/1.474, allocations: 1.761 MB / 1.242 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001985/1.476, allocations: 4.061 MB / 1.246 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/1.476, allocations: 16 kB / 1.246 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.477, allocations: 96.77 kB / 1.246 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/1.48, allocations: 367.4 kB / 1.246 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/1.483, allocations: 1.548 MB / 1.248 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.487, allocations: 160.3 kB / 1.248 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004593/1.487, allocations: 75.97 kB / 1.248 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.488, allocations: 4 kB / 1.248 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005979/1.493, allocations: 1.484 MB / 1.249 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.096e-05/1.494, allocations: 19.98 kB / 1.249 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009499/1.495, allocations: 92.84 kB / 1.249 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.497, allocations: 355.4 kB / 1.25 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/1.5, allocations: 1.557 MB / 1.251 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.503, allocations: 144.4 kB / 1.251 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/1.504, allocations: 75.97 kB / 1.251 GB, free: 8.871 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.001854/1.506, allocations: 0.6152 MB / 1.252 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007452/1.506, allocations: 229.2 kB / 1.252 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/1.514, allocations: 1.803 MB / 1.254 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.514, allocations: 19.95 kB / 1.254 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.514, allocations: 0 / 1.254 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005559/1.52, allocations: 1.495 MB / 1.256 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.532, allocations: 3.75 MB / 1.259 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.532, allocations: 4 kB / 1.259 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.535, allocations: 283.7 kB / 1.259 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009106/1.535, allocations: 88.77 kB / 1.26 GB, free: 432 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/1.536, allocations: 43.92 kB / 1.26 GB, free: 388 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/1.539, allocations: 1.556 MB / 1.261 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.539, allocations: 4.031 kB / 1.261 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.549, allocations: 2.449 MB / 1.264 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.551, allocations: 0.5135 MB / 1.264 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006611/1.552, allocations: 35.89 kB / 1.264 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/1.555, allocations: 163.6 kB / 1.264 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/1.555, allocations: 105.2 kB / 1.264 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.556, allocations: 63.95 kB / 1.264 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003588/1.559, allocations: 1.325 MB / 1.266 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.71e-07/1.559, allocations: 0 / 1.266 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006079/1.565, allocations: 1.333 MB / 1.267 GB, free: 8.594 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.0036/1.569, allocations: 1.03 MB / 1.268 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008666/1.578, allocations: 2.432 MB / 1.27 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.578, allocations: 0 / 1.27 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002941/1.581, allocations: 0.8118 MB / 1.271 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008772/1.59, allocations: 1.056 MB / 1.272 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.605, allocations: 5.31 MB / 1.277 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.608, allocations: 1.715 MB / 1.279 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00501/1.613, allocations: 0.7089 MB / 1.28 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.614, allocations: 235.3 kB / 1.28 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/1.614, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.13/1.744, allocations: 46.2 MB / 1.325 GB, free: 13.58 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)