Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.553/2.553, allocations: 287.9 MB / 302.9 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001495, allocations: 180.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 85.86 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 16.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.1016/0.2572, allocations: 73.43 MB / 1.05 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.7508/1.008, allocations: 143.6 MB / 1.191 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/1.012, allocations: 77.72 kB / 1.191 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/1.016, allocations: 1.084 MB / 1.192 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.028, allocations: 3.079 MB / 1.195 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01358/1.042, allocations: 3.583 MB / 1.198 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008898/1.051, allocations: 3.971 MB / 1.202 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004672/1.055, allocations: 2.175 MB / 1.204 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/1.06, allocations: 1.689 MB / 1.206 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/1.063, allocations: 1.312 MB / 1.207 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006338/1.063, allocations: 100 kB / 1.207 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005842/1.069, allocations: 1.654 MB / 1.209 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00126/1.071, allocations: 0.5914 MB / 1.21 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.072, allocations: 0.5938 MB / 1.21 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007621/1.079, allocations: 3.857 MB / 1.214 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.875e-06/1.079, allocations: 0 / 1.214 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.864e-06/1.079, allocations: 4 kB / 1.214 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.108e-05/1.08, allocations: 0 / 1.214 GB, free: 1.348 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.008121/1.088, allocations: 3.195 MB / 1.217 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.088, allocations: 12.03 kB / 1.217 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/1.091, allocations: 0.5814 MB / 1.218 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/1.097, allocations: 2.217 MB / 1.22 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/1.097, allocations: 168.2 kB / 1.22 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/1.098, allocations: 221.9 kB / 1.22 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/1.104, allocations: 2.423 MB / 1.222 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/1.104, allocations: 3.938 kB / 1.222 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/1.105, allocations: 92 kB / 1.223 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/1.105, allocations: 56 kB / 1.223 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006805/1.112, allocations: 2.277 MB / 1.225 GB, free: 5.777 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.02217/1.134, allocations: 10.03 MB / 1.235 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/1.139, allocations: 1.562 MB / 1.236 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/1.149, allocations: 4.824 MB / 1.241 GB, free: 4.555 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002576/1.152, allocations: 0.8685 MB / 1.242 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001007/1.153, allocations: 166.3 kB / 1.242 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=146): time 5.383e-06/1.153, allocations: 0 / 1.242 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of matching and sorting (n=146): time 0.008045/1.161, allocations: 2.271 MB / 1.244 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/1.161, allocations: 282.3 kB / 1.244 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/1.166, allocations: 2.206 MB / 1.247 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000343/1.166, allocations: 61.69 kB / 1.247 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.168, allocations: 1.262 MB / 1.248 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007816/1.169, allocations: 0.4929 MB / 1.248 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/1.169, allocations: 36 kB / 1.248 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000267/1.169, allocations: 377.8 kB / 1.249 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.171, allocations: 0.6597 MB / 1.249 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/1.174, allocations: 1.276 MB / 1.251 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/1.177, allocations: 0.8179 MB / 1.251 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.177, allocations: 8 kB / 1.251 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006916/1.184, allocations: 2.214 MB / 1.254 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003073/1.187, allocations: 5.429 MB / 1.259 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/1.187, allocations: 16 kB / 1.259 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007448/1.188, allocations: 104.7 kB / 1.259 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/1.19, allocations: 447.3 kB / 1.259 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/1.194, allocations: 2.137 MB / 1.261 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.197, allocations: 176.5 kB / 1.262 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/1.197, allocations: 95.95 kB / 1.262 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.197, allocations: 5.562 kB / 1.262 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005607/1.203, allocations: 1.903 MB / 1.264 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/1.203, allocations: 12 kB / 1.264 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/1.203, allocations: 104.8 kB / 1.264 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.206, allocations: 431.3 kB / 1.264 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/1.209, allocations: 2.145 MB / 1.266 GB, free: 9.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/1.212, allocations: 165.5 kB / 1.266 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/1.212, allocations: 87.97 kB / 1.266 GB, free: 9.141 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.001842/1.214, allocations: 0.6683 MB / 1.267 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006795/1.215, allocations: 264.7 kB / 1.267 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006914/1.221, allocations: 2.18 MB / 1.269 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/1.222, allocations: 16 kB / 1.27 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.217e-06/1.222, allocations: 0 / 1.27 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005164/1.227, allocations: 1.768 MB / 1.271 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/1.238, allocations: 4.322 MB / 1.275 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.239, allocations: 0 / 1.275 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.24, allocations: 327.6 kB / 1.276 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006343/1.241, allocations: 88.77 kB / 1.276 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/1.241, allocations: 47.97 kB / 1.276 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/1.244, allocations: 1.56 MB / 1.277 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.241e-06/1.244, allocations: 7.969 kB / 1.277 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008771/1.253, allocations: 2.948 MB / 1.28 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.255, allocations: 0.5638 MB / 1.281 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/1.255, allocations: 36 kB / 1.281 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/1.258, allocations: 168.3 kB / 1.281 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.258, allocations: 121.8 kB / 1.281 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.258, allocations: 75.89 kB / 1.281 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00315/1.262, allocations: 1.47 MB / 1.283 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.5e-07/1.262, allocations: 0 / 1.283 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005528/1.267, allocations: 1.512 MB / 1.284 GB, free: 6.617 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.003511/1.271, allocations: 1.071 MB / 1.285 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008592/1.279, allocations: 3.017 MB / 1.288 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.279, allocations: 5.5 kB / 1.288 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/1.282, allocations: 0.9824 MB / 1.289 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/1.288, allocations: 1.136 MB / 1.29 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.302, allocations: 5.943 MB / 1.296 GB, free: 10.55 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/1.304, allocations: 1.832 MB / 1.298 GB, free: 8.688 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004727/1.309, allocations: 0.79 MB / 1.299 GB, free: 7.891 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.31, allocations: 255.2 kB / 1.299 GB, free: 7.641 MB / 0.823 GB Notification: Performance of SimCode: time 1.601e-06/1.31, allocations: 7.938 kB / 1.299 GB, free: 7.633 MB / 0.823 GB Notification: Performance of Templates: time 0.1673/1.477, allocations: 51.55 MB / 1.349 GB, free: 4.484 MB / 0.8698 GB