Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.459/2.459, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001403/0.001403, allocations: 166.8 kB / 371.4 MB, free: 10.69 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.983/1.983, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001075/0.001075, allocations: 107.2 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004677, allocations: 11.41 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.7948/0.9515, allocations: 198.3 MB / 1.172 GB, free: 80 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04388/0.9955, allocations: 23.28 MB / 1.195 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/0.9995, allocations: 75.88 kB / 1.195 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00474/1.004, allocations: 1.117 MB / 1.196 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01425/1.019, allocations: 3.57 MB / 1.2 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0139/1.033, allocations: 3.551 MB / 1.203 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009395/1.042, allocations: 4.107 MB / 1.207 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004872/1.047, allocations: 2.246 MB / 1.209 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004722/1.052, allocations: 1.747 MB / 1.211 GB, free: 8 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/1.055, allocations: 1.359 MB / 1.213 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007327/1.055, allocations: 104 kB / 1.213 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007404/1.063, allocations: 2.227 MB / 1.215 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/1.064, allocations: 0.6303 MB / 1.215 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.066, allocations: 0.6288 MB / 1.216 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008782/1.074, allocations: 4.381 MB / 1.22 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.756e-06/1.074, allocations: 0 / 1.22 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.084e-06/1.074, allocations: 0 / 1.22 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.555e-05/1.075, allocations: 0 / 1.22 GB, free: 6.664 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.009/1.084, allocations: 3.466 MB / 1.224 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.084, allocations: 12.03 kB / 1.224 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/1.087, allocations: 0.626 MB / 1.224 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006773/1.094, allocations: 2.532 MB / 1.227 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/1.094, allocations: 172.3 kB / 1.227 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/1.095, allocations: 239.8 kB / 1.227 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/1.102, allocations: 2.43 MB / 1.23 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/1.102, allocations: 0 / 1.23 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/1.102, allocations: 97.89 kB / 1.23 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-05/1.103, allocations: 63.94 kB / 1.23 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/1.11, allocations: 2.35 MB / 1.232 GB, free: 10.37 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.02199/1.132, allocations: 9.581 MB / 1.241 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/1.137, allocations: 1.768 MB / 1.243 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/1.149, allocations: 5.818 MB / 1.249 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002633/1.152, allocations: 0.9543 MB / 1.25 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00102/1.153, allocations: 170.3 kB / 1.25 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 5.11e-06/1.153, allocations: 0 / 1.25 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of matching and sorting (n=157): time 0.01196/1.165, allocations: 2.988 MB / 1.253 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/1.165, allocations: 308 kB / 1.253 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005168/1.17, allocations: 2.573 MB / 1.256 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003509/1.17, allocations: 61.7 kB / 1.256 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.172, allocations: 1.31 MB / 1.257 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/1.173, allocations: 0.5276 MB / 1.257 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.173, allocations: 36 kB / 1.257 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.173, allocations: 373.9 kB / 1.258 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/1.176, allocations: 0.691 MB / 1.258 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002982/1.179, allocations: 1.275 MB / 1.26 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/1.181, allocations: 0.8414 MB / 1.261 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/1.181, allocations: 4 kB / 1.261 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.00759/1.189, allocations: 2.367 MB / 1.263 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0024/1.191, allocations: 4.553 MB / 1.267 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/1.191, allocations: 12 kB / 1.267 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075/3.266, allocations: 193.6 MB / 1.456 GB, free: 347.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/3.269, allocations: 436.1 kB / 1.457 GB, free: 347.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/3.273, allocations: 2.83 MB / 1.46 GB, free: 345.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/3.276, allocations: 202 kB / 1.46 GB, free: 345.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/3.276, allocations: 95.45 kB / 1.46 GB, free: 345.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/3.276, allocations: 4 kB / 1.46 GB, free: 345.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005978/3.282, allocations: 2.024 MB / 1.462 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/3.282, allocations: 10.84 kB / 1.462 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354/4.637, allocations: 193.6 MB / 1.651 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/4.639, allocations: 420.5 kB / 1.651 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/4.642, allocations: 2.832 MB / 1.654 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/4.645, allocations: 185.8 kB / 1.654 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/4.645, allocations: 89.52 kB / 1.654 GB, free: 153.5 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.001721/4.647, allocations: 0.6914 MB / 1.655 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/4.648, allocations: 275.3 kB / 1.655 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006536/4.654, allocations: 2.341 MB / 1.658 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/4.654, allocations: 16 kB / 1.658 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-06/4.654, allocations: 0 / 1.658 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00475/4.659, allocations: 1.941 MB / 1.659 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/4.669, allocations: 4.631 MB / 1.664 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/4.669, allocations: 0 / 1.664 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/4.671, allocations: 323.7 kB / 1.664 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6811/5.352, allocations: 96.92 MB / 1.759 GB, free: 46.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/5.352, allocations: 55.95 kB / 1.759 GB, free: 46.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/5.356, allocations: 2.305 MB / 1.761 GB, free: 43.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.041e-06/5.356, allocations: 0 / 1.761 GB, free: 43.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/5.363, allocations: 3.161 MB / 1.764 GB, free: 40.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/5.365, allocations: 0.6019 MB / 1.765 GB, free: 40.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005224/5.365, allocations: 43.98 kB / 1.765 GB, free: 40.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/5.368, allocations: 183.6 kB / 1.765 GB, free: 39.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/5.368, allocations: 125.8 kB / 1.765 GB, free: 39.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/5.368, allocations: 75.95 kB / 1.765 GB, free: 39.65 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002959/5.371, allocations: 1.759 MB / 1.767 GB, free: 37.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.27e-07/5.371, allocations: 0 / 1.767 GB, free: 37.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005058/5.376, allocations: 1.661 MB / 1.769 GB, free: 36.4 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.003415/5.38, allocations: 1.262 MB / 1.77 GB, free: 35.53 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007602/5.387, allocations: 3.148 MB / 1.773 GB, free: 32.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/5.387, allocations: 1.562 kB / 1.773 GB, free: 32.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/5.39, allocations: 1.03 MB / 1.774 GB, free: 31.31 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005759/5.396, allocations: 1.19 MB / 1.775 GB, free: 30.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/5.407, allocations: 6.239 MB / 1.781 GB, free: 23.88 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/5.409, allocations: 1.891 MB / 1.783 GB, free: 21.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004777/5.414, allocations: 0.8067 MB / 1.784 GB, free: 21.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009012/5.415, allocations: 259.3 kB / 1.784 GB, free: 20.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.715e-06/5.415, allocations: 5.203 kB / 1.784 GB, free: 20.89 MB / 0.948 GB Notification: Performance of Templates: time 0.7385/6.154, allocations: 58.05 MB / 1.841 GB, free: 334.6 MB / 0.948 GB