Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.899/1.899, allocations: 288.3 MB / 303.2 MB, free: 8.09 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.001167/0.001167, allocations: 188 kB / 371.9 MB, free: 10.28 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.643/1.643, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008078/0.0008079, allocations: 82.86 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 20.14 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.19, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.06334/0.2534, allocations: 73.43 MB / 1.051 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5479/0.8013, allocations: 143.5 MB / 1.191 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.8048, allocations: 86.69 kB / 1.191 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.8085, allocations: 1.074 MB / 1.192 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009508/0.818, allocations: 3.074 MB / 1.195 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.8288, allocations: 3.583 MB / 1.199 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.009099/0.8379, allocations: 3.97 MB / 1.203 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.842, allocations: 2.175 MB / 1.205 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.8457, allocations: 1.689 MB / 1.207 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.8481, allocations: 1.314 MB / 1.208 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004035/0.8485, allocations: 96 kB / 1.208 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.8526, allocations: 1.658 MB / 1.21 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.8534, allocations: 0.5875 MB / 1.21 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009409/0.8543, allocations: 0.5977 MB / 1.211 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.8598, allocations: 3.865 MB / 1.215 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8598, allocations: 0 / 1.215 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8598, allocations: 0 / 1.215 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.046e-05/0.8599, allocations: 0 / 1.215 GB, free: 0.6094 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.006345/0.8663, allocations: 3.195 MB / 1.218 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.8663, allocations: 8.031 kB / 1.218 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.8689, allocations: 0.5833 MB / 1.218 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/0.8732, allocations: 2.229 MB / 1.22 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.8734, allocations: 164.2 kB / 1.221 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.8737, allocations: 216 kB / 1.221 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/0.8782, allocations: 2.415 MB / 1.223 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.8783, allocations: 4 kB / 1.223 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.8785, allocations: 94.05 kB / 1.223 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.8786, allocations: 67.92 kB / 1.223 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.8829, allocations: 2.271 MB / 1.225 GB, free: 5.039 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.01427/0.8972, allocations: 10.04 MB / 1.235 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.9003, allocations: 1.565 MB / 1.237 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007496/0.9078, allocations: 4.812 MB / 1.242 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.9096, allocations: 0.8841 MB / 1.242 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000946/0.9106, allocations: 162.3 kB / 1.243 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=146): time 3.377e-06/0.9106, allocations: 3.938 kB / 1.243 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of matching and sorting (n=146): time 0.005624/0.9162, allocations: 2.271 MB / 1.245 GB, free: 456 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.9163, allocations: 274.3 kB / 1.245 GB, free: 116 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.9193, allocations: 2.206 MB / 1.247 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.9195, allocations: 65.61 kB / 1.247 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.9206, allocations: 1.258 MB / 1.248 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.921, allocations: 0.4929 MB / 1.249 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.9211, allocations: 36 kB / 1.249 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9213, allocations: 373.9 kB / 1.249 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.9227, allocations: 0.6559 MB / 1.25 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.9245, allocations: 1.28 MB / 1.251 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.9262, allocations: 0.8179 MB / 1.252 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.9262, allocations: 4 kB / 1.252 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004836/0.9311, allocations: 2.205 MB / 1.254 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001856/0.9329, allocations: 5.429 MB / 1.259 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.933, allocations: 12 kB / 1.26 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.9336, allocations: 112.7 kB / 1.26 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.9355, allocations: 447.4 kB / 1.26 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.9378, allocations: 2.149 MB / 1.262 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.9401, allocations: 174.3 kB / 1.262 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.9403, allocations: 95.95 kB / 1.262 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.9404, allocations: 4.625 kB / 1.262 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003903/0.9443, allocations: 1.894 MB / 1.264 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.9443, allocations: 16 kB / 1.264 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/0.9449, allocations: 109.3 kB / 1.264 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.9465, allocations: 427.4 kB / 1.265 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.9488, allocations: 2.149 MB / 1.267 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.951, allocations: 168.4 kB / 1.267 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.9513, allocations: 91.95 kB / 1.267 GB, free: 8.391 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.001365/0.9526, allocations: 0.6631 MB / 1.268 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/0.9532, allocations: 260.7 kB / 1.268 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.9582, allocations: 2.172 MB / 1.27 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.9583, allocations: 19.95 kB / 1.27 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9583, allocations: 7.922 kB / 1.27 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003525/0.9618, allocations: 1.764 MB / 1.272 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/0.9707, allocations: 4.323 MB / 1.276 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9708, allocations: 4 kB / 1.276 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.9722, allocations: 319.5 kB / 1.276 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/0.9728, allocations: 92.78 kB / 1.277 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.9729, allocations: 47.95 kB / 1.277 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.9749, allocations: 1.563 MB / 1.278 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9749, allocations: 0 / 1.278 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/0.9811, allocations: 2.944 MB / 1.281 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.9826, allocations: 0.5677 MB / 1.282 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006329/0.9832, allocations: 39.98 kB / 1.282 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.9851, allocations: 167.8 kB / 1.282 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.9854, allocations: 121.8 kB / 1.282 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.9855, allocations: 67.95 kB / 1.282 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00256/0.9881, allocations: 1.478 MB / 1.283 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9881, allocations: 4 kB / 1.283 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004621/0.9927, allocations: 1.5 MB / 1.285 GB, free: 5.879 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.002707/0.9955, allocations: 1.086 MB / 1.286 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006993/1.002, allocations: 3.014 MB / 1.289 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/1.003, allocations: 448 / 1.289 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/1.005, allocations: 0.9825 MB / 1.29 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005534/1.01, allocations: 1.14 MB / 1.291 GB, free: 15.74 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.021, allocations: 5.947 MB / 1.297 GB, free: 9.773 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.023, allocations: 1.838 MB / 1.298 GB, free: 7.906 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004226/1.027, allocations: 0.7938 MB / 1.299 GB, free: 7.105 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/1.028, allocations: 247.3 kB / 1.299 GB, free: 6.863 MB / 0.823 GB Notification: Performance of SimCode: time 1.222e-06/1.028, allocations: 0 / 1.299 GB, free: 6.863 MB / 0.823 GB Notification: Performance of Templates: time 0.08991/1.118, allocations: 51.57 MB / 1.35 GB, free: 3.715 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe 2>&1)