Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001622/0.001622, allocations: 175 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.344/2.344, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001092/0.001092, allocations: 94.86 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005118, allocations: 21.3 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2162, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.1217/0.3379, allocations: 73.44 MB / 1.05 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.89/1.228, allocations: 143.6 MB / 1.19 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/1.232, allocations: 81.56 kB / 1.19 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005541/1.238, allocations: 1.073 MB / 1.191 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01407/1.252, allocations: 3.078 MB / 1.194 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01627/1.268, allocations: 3.579 MB / 1.198 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01082/1.279, allocations: 3.963 MB / 1.202 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005432/1.284, allocations: 2.183 MB / 1.204 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/1.29, allocations: 1.693 MB / 1.205 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00374/1.294, allocations: 1.306 MB / 1.207 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0009258/1.295, allocations: 96 kB / 1.207 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007025/1.302, allocations: 1.658 MB / 1.208 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001603/1.304, allocations: 0.5836 MB / 1.209 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/1.305, allocations: 0.6016 MB / 1.21 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008929/1.314, allocations: 3.865 MB / 1.213 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.314, allocations: 4 kB / 1.213 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5e-06/1.314, allocations: 4 kB / 1.213 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001557/1.314, allocations: 0 / 1.213 GB, free: 1.66 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.01164/1.326, allocations: 3.191 MB / 1.216 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.326, allocations: 8.031 kB / 1.216 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/1.333, allocations: 0.5833 MB / 1.217 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/1.345, allocations: 2.221 MB / 1.219 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/1.345, allocations: 168.1 kB / 1.219 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.347, allocations: 227.9 kB / 1.22 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/1.36, allocations: 2.407 MB / 1.222 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/1.36, allocations: 7.984 kB / 1.222 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007134/1.361, allocations: 93.89 kB / 1.222 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/1.361, allocations: 59.94 kB / 1.222 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/1.375, allocations: 2.267 MB / 1.224 GB, free: 6.102 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.04079/1.416, allocations: 10.04 MB / 1.234 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006044/1.422, allocations: 1.566 MB / 1.236 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/1.434, allocations: 4.82 MB / 1.24 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003395/1.438, allocations: 0.8802 MB / 1.241 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/1.439, allocations: 166.3 kB / 1.241 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=146): time 6.082e-06/1.439, allocations: 0 / 1.241 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of matching and sorting (n=146): time 0.011/1.45, allocations: 2.263 MB / 1.244 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/1.45, allocations: 278.3 kB / 1.244 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/1.456, allocations: 2.206 MB / 1.246 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004588/1.456, allocations: 65.7 kB / 1.246 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/1.458, allocations: 1.262 MB / 1.247 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009339/1.459, allocations: 0.4929 MB / 1.248 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.459, allocations: 36 kB / 1.248 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002427/1.459, allocations: 377.9 kB / 1.248 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/1.462, allocations: 0.652 MB / 1.249 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003722/1.466, allocations: 1.28 MB / 1.25 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/1.469, allocations: 0.814 MB / 1.251 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/1.469, allocations: 4 kB / 1.251 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009183/1.479, allocations: 2.206 MB / 1.253 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002618/1.481, allocations: 5.425 MB / 1.258 GB, free: 1.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.85e-05/1.481, allocations: 20 kB / 1.258 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/1.483, allocations: 108.7 kB / 1.258 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/1.486, allocations: 447.3 kB / 1.259 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/1.49, allocations: 2.156 MB / 1.261 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/1.494, allocations: 181.7 kB / 1.261 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/1.495, allocations: 95.95 kB / 1.261 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/1.495, allocations: 4 kB / 1.261 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007428/1.502, allocations: 1.895 MB / 1.263 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/1.502, allocations: 16 kB / 1.263 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.503, allocations: 108.9 kB / 1.263 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/1.507, allocations: 427.4 kB / 1.264 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/1.51, allocations: 2.139 MB / 1.266 GB, free: 9.707 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/1.514, allocations: 172.5 kB / 1.266 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005131/1.515, allocations: 91.95 kB / 1.266 GB, free: 9.449 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002177/1.517, allocations: 0.6566 MB / 1.267 GB, free: 8.781 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/1.518, allocations: 264.7 kB / 1.267 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009349/1.527, allocations: 2.18 MB / 1.269 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/1.527, allocations: 19.98 kB / 1.269 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.527, allocations: 4 kB / 1.269 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006864/1.534, allocations: 1.764 MB / 1.271 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.549, allocations: 4.311 MB / 1.275 GB, free: 76 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.549, allocations: 4 kB / 1.275 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/1.552, allocations: 327.6 kB / 1.275 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009392/1.553, allocations: 84.78 kB / 1.275 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003665/1.554, allocations: 47.95 kB / 1.275 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/1.557, allocations: 1.567 MB / 1.277 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.557, allocations: 0 / 1.277 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.568, allocations: 2.952 MB / 1.28 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.571, allocations: 0.5755 MB / 1.28 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008614/1.571, allocations: 32 kB / 1.28 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.575, allocations: 167.7 kB / 1.281 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/1.576, allocations: 121.8 kB / 1.281 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/1.576, allocations: 71.94 kB / 1.281 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004055/1.58, allocations: 1.474 MB / 1.282 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.41e-07/1.58, allocations: 0 / 1.282 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007022/1.587, allocations: 1.496 MB / 1.284 GB, free: 6.945 MB / 0.8073 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 (171): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003999/1.591, allocations: 1.091 MB / 1.285 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.603, allocations: 3.017 MB / 1.288 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.603, allocations: 1.5 kB / 1.288 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003858/1.607, allocations: 0.9786 MB / 1.289 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009375/1.616, allocations: 1.136 MB / 1.29 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.634, allocations: 5.939 MB / 1.295 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/1.637, allocations: 1.838 MB / 1.297 GB, free: 9.043 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005783/1.643, allocations: 0.7893 MB / 1.298 GB, free: 8.25 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.644, allocations: 251.3 kB / 1.298 GB, free: 8.004 MB / 0.823 GB Notification: Performance of SimCode: time 1.462e-06/1.644, allocations: 4 kB / 1.298 GB, free: 8 MB / 0.823 GB Notification: Performance of Templates: time 0.1483/1.793, allocations: 51.56 MB / 1.349 GB, free: 4.852 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe 2>&1)