Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.654/2.654, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001542/0.001542, allocations: 174.3 kB / 370.8 MB, free: 10.86 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.063/2.063, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001061/0.001061, allocations: 97.95 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004947, allocations: 13.47 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.1344/0.3437, allocations: 72.43 MB / 1.049 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.9268/1.271, allocations: 141.9 MB / 1.187 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003646/1.274, allocations: 72.81 kB / 1.188 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005284/1.28, allocations: 1.004 MB / 1.189 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/1.292, allocations: 2.812 MB / 1.191 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0153/1.308, allocations: 3.366 MB / 1.195 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01016/1.318, allocations: 3.701 MB / 1.198 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004689/1.323, allocations: 1.968 MB / 1.2 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/1.328, allocations: 1.588 MB / 1.202 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/1.331, allocations: 1.162 MB / 1.203 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008304/1.332, allocations: 84 kB / 1.203 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/1.338, allocations: 1.369 MB / 1.204 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001486/1.34, allocations: 0.5292 MB / 1.205 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/1.341, allocations: 0.5509 MB / 1.205 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008158/1.349, allocations: 3.493 MB / 1.209 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.35, allocations: 0 / 1.209 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.615e-06/1.35, allocations: 0 / 1.209 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001288/1.35, allocations: 0 / 1.209 GB, free: 6.531 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.009282/1.359, allocations: 2.888 MB / 1.211 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.359, allocations: 12.03 kB / 1.211 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004115/1.363, allocations: 493.8 kB / 1.212 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/1.37, allocations: 2.049 MB / 1.214 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/1.37, allocations: 149.7 kB / 1.214 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006127/1.371, allocations: 200 kB / 1.214 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00702/1.378, allocations: 2.096 MB / 1.216 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.482e-05/1.378, allocations: 7.875 kB / 1.216 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/1.378, allocations: 91.97 kB / 1.216 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-05/1.378, allocations: 53.89 kB / 1.216 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007377/1.386, allocations: 1.997 MB / 1.218 GB, free: 12.27 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.02201/1.408, allocations: 8.399 MB / 1.227 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004834/1.413, allocations: 1.313 MB / 1.228 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009268/1.422, allocations: 3.208 MB / 1.231 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002691/1.425, allocations: 0.7588 MB / 1.232 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/1.426, allocations: 142.5 kB / 1.232 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 6.262e-06/1.426, allocations: 0 / 1.232 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.009085/1.435, allocations: 1.924 MB / 1.234 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/1.435, allocations: 270.3 kB / 1.234 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/1.44, allocations: 1.963 MB / 1.236 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004074/1.44, allocations: 61.7 kB / 1.236 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.442, allocations: 1.113 MB / 1.237 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/1.443, allocations: 433.8 kB / 1.238 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.443, allocations: 32 kB / 1.238 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002253/1.443, allocations: 357.9 kB / 1.238 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/1.446, allocations: 0.5075 MB / 1.238 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/1.448, allocations: 0.9573 MB / 1.239 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/1.451, allocations: 0.6349 MB / 1.24 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/1.451, allocations: 0 / 1.24 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007204/1.458, allocations: 1.761 MB / 1.242 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002002/1.46, allocations: 4.065 MB / 1.246 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.519e-05/1.46, allocations: 19.98 kB / 1.246 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/1.461, allocations: 100.7 kB / 1.246 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.464, allocations: 359.5 kB / 1.246 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/1.468, allocations: 1.544 MB / 1.248 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/1.471, allocations: 160.4 kB / 1.248 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/1.471, allocations: 87.91 kB / 1.248 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.472, allocations: 4 kB / 1.248 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005864/1.477, allocations: 1.484 MB / 1.249 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/1.477, allocations: 12 kB / 1.249 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/1.478, allocations: 97.16 kB / 1.249 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.481, allocations: 347.5 kB / 1.25 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/1.484, allocations: 1.557 MB / 1.251 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/1.487, allocations: 148.5 kB / 1.251 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.488, allocations: 75.95 kB / 1.251 GB, free: 8.855 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.001869/1.49, allocations: 0.6099 MB / 1.252 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/1.49, allocations: 229.2 kB / 1.252 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/1.498, allocations: 1.799 MB / 1.254 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/1.498, allocations: 27.94 kB / 1.254 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.498, allocations: 3.953 kB / 1.254 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005476/1.503, allocations: 1.495 MB / 1.256 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.516, allocations: 3.762 MB / 1.259 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.516, allocations: 0 / 1.259 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/1.519, allocations: 271.8 kB / 1.259 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/1.52, allocations: 88.77 kB / 1.26 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/1.52, allocations: 43.92 kB / 1.26 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/1.523, allocations: 1.563 MB / 1.261 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.523, allocations: 0 / 1.261 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008884/1.532, allocations: 2.446 MB / 1.264 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.534, allocations: 0.5096 MB / 1.264 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006883/1.534, allocations: 32.23 kB / 1.264 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/1.538, allocations: 170.4 kB / 1.264 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004477/1.538, allocations: 101.2 kB / 1.264 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/1.538, allocations: 63.95 kB / 1.264 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003533/1.542, allocations: 1.329 MB / 1.266 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.11e-07/1.542, allocations: 0 / 1.266 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006288/1.548, allocations: 1.337 MB / 1.267 GB, free: 8.578 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.00361/1.552, allocations: 1.037 MB / 1.268 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008658/1.561, allocations: 2.432 MB / 1.27 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.561, allocations: 0 / 1.27 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002974/1.564, allocations: 0.8196 MB / 1.271 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008606/1.572, allocations: 1.03 MB / 1.272 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.588, allocations: 5.316 MB / 1.277 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/1.59, allocations: 1.703 MB / 1.279 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005178/1.596, allocations: 0.7285 MB / 1.28 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/1.597, allocations: 227.3 kB / 1.28 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of SimCode: time 1.172e-06/1.597, allocations: 0 / 1.28 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.1413/1.738, allocations: 46.21 MB / 1.325 GB, free: 13.55 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)