Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001546/0.001545, allocations: 171.2 kB / 370.8 MB, free: 10.88 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.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001672/0.001672, allocations: 91.3 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 13.11 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2211, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 1.022/1.243, allocations: 198.3 MB / 1.172 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05262/1.296, allocations: 23.3 MB / 1.195 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/1.3, allocations: 79.31 kB / 1.195 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005939/1.306, allocations: 1.116 MB / 1.196 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01669/1.323, allocations: 3.569 MB / 1.199 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01589/1.339, allocations: 3.546 MB / 1.203 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01128/1.35, allocations: 4.114 MB / 1.207 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005339/1.355, allocations: 2.245 MB / 1.209 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005613/1.361, allocations: 1.743 MB / 1.211 GB, free: 424 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/1.365, allocations: 1.349 MB / 1.212 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0009303/1.366, allocations: 104 kB / 1.212 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008853/1.375, allocations: 2.227 MB / 1.214 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.377, allocations: 0.6342 MB / 1.215 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/1.378, allocations: 0.6366 MB / 1.215 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/1.389, allocations: 4.366 MB / 1.22 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/1.389, allocations: 8 kB / 1.22 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.715e-06/1.389, allocations: 0 / 1.22 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001732/1.389, allocations: 0 / 1.22 GB, free: 7.074 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01192/1.401, allocations: 3.466 MB / 1.223 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.401, allocations: 8.031 kB / 1.223 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/1.406, allocations: 0.6281 MB / 1.224 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008009/1.414, allocations: 2.536 MB / 1.226 GB, free: 292 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/1.415, allocations: 172.3 kB / 1.226 GB, free: 116 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006783/1.415, allocations: 228 kB / 1.227 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00801/1.423, allocations: 2.442 MB / 1.229 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/1.424, allocations: 0 / 1.229 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/1.424, allocations: 92 kB / 1.229 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/1.424, allocations: 60 kB / 1.229 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008786/1.433, allocations: 2.354 MB / 1.231 GB, free: 10.78 MB / 0.7605 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.02514/1.458, allocations: 9.59 MB / 1.241 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/1.465, allocations: 1.769 MB / 1.243 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/1.479, allocations: 5.817 MB / 1.248 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/1.483, allocations: 0.9465 MB / 1.249 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001433/1.485, allocations: 170.2 kB / 1.249 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 6.622e-06/1.485, allocations: 3.938 kB / 1.249 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of matching and sorting (n=157): time 0.01805/1.503, allocations: 2.988 MB / 1.252 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/1.503, allocations: 304 kB / 1.252 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006174/1.509, allocations: 2.577 MB / 1.255 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005092/1.51, allocations: 61.7 kB / 1.255 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.512, allocations: 1.31 MB / 1.256 GB, free: 120 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.513, allocations: 0.5277 MB / 1.257 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/1.513, allocations: 39.94 kB / 1.257 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.00027/1.513, allocations: 373.9 kB / 1.257 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/1.517, allocations: 0.6871 MB / 1.258 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004118/1.521, allocations: 1.275 MB / 1.259 GB, free: 13 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/1.525, allocations: 0.8453 MB / 1.26 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/1.525, allocations: 4 kB / 1.26 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01045/1.535, allocations: 2.371 MB / 1.262 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.00235/1.538, allocations: 4.544 MB / 1.267 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-05/1.538, allocations: 12 kB / 1.267 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.345/4.883, allocations: 193.6 MB / 1.456 GB, free: 348.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003605/4.887, allocations: 436.6 kB / 1.456 GB, free: 348.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/4.892, allocations: 2.834 MB / 1.459 GB, free: 345.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/4.896, allocations: 207.3 kB / 1.459 GB, free: 345.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000623/4.897, allocations: 95.05 kB / 1.459 GB, free: 345.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/4.897, allocations: 4.188 kB / 1.459 GB, free: 345.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007702/4.904, allocations: 2.02 MB / 1.461 GB, free: 345.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-05/4.905, allocations: 12.28 kB / 1.461 GB, free: 345.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615/7.52, allocations: 193.6 MB / 1.65 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/7.525, allocations: 415.4 kB / 1.651 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/7.531, allocations: 2.822 MB / 1.654 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/7.535, allocations: 187.4 kB / 1.654 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/7.535, allocations: 91.95 kB / 1.654 GB, free: 154.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 9 (conFan.con1.y,$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 (228): * Single equations (assignments): 222 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001803/7.537, allocations: 0.6886 MB / 1.654 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/7.538, allocations: 278 kB / 1.655 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008326/7.546, allocations: 2.343 MB / 1.657 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/7.546, allocations: 19.28 kB / 1.657 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/7.546, allocations: 0 / 1.657 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00695/7.553, allocations: 1.948 MB / 1.659 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/7.566, allocations: 4.632 MB / 1.663 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/7.566, allocations: 0 / 1.663 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/7.569, allocations: 323.7 kB / 1.664 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174/8.743, allocations: 96.91 MB / 1.758 GB, free: 47.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004/8.743, allocations: 55.95 kB / 1.758 GB, free: 46.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/8.747, allocations: 2.304 MB / 1.761 GB, free: 44.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/8.747, allocations: 0 / 1.761 GB, free: 44.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/8.758, allocations: 3.16 MB / 1.764 GB, free: 41.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/8.76, allocations: 0.6023 MB / 1.764 GB, free: 40.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008888/8.761, allocations: 46.39 kB / 1.764 GB, free: 40.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003761/8.765, allocations: 192.2 kB / 1.765 GB, free: 40.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/8.766, allocations: 121.8 kB / 1.765 GB, free: 40.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/8.766, allocations: 75.95 kB / 1.765 GB, free: 40.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005289/8.771, allocations: 1.759 MB / 1.767 GB, free: 38.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.21e-07/8.771, allocations: 0 / 1.767 GB, free: 38.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006913/8.778, allocations: 1.666 MB / 1.768 GB, free: 37.08 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y) * 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 (172): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004222/8.782, allocations: 1.266 MB / 1.769 GB, free: 36.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01048/8.793, allocations: 3.138 MB / 1.772 GB, free: 33.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/8.793, allocations: 4 kB / 1.772 GB, free: 33.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003422/8.797, allocations: 1.028 MB / 1.773 GB, free: 31.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009025/8.806, allocations: 1.201 MB / 1.775 GB, free: 30.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/8.822, allocations: 6.232 MB / 1.781 GB, free: 24.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/8.824, allocations: 1.895 MB / 1.783 GB, free: 22.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005865/8.83, allocations: 0.7989 MB / 1.783 GB, free: 21.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/8.831, allocations: 259.3 kB / 1.784 GB, free: 21.56 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/8.831, allocations: 0 / 1.784 GB, free: 21.56 MB / 0.948 GB Notification: Performance of Templates: time 1.024/9.855, allocations: 58.05 MB / 1.84 GB, free: 333.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)