Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.137/2.137, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 173.7 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.553/2.553, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 104.6 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.000645, allocations: 12.28 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.26, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 1.02/1.28, allocations: 198.4 MB / 1.093 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04655/1.327, allocations: 23.32 MB / 1.115 GB, free: 13.87 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004646/1.332, allocations: 83.47 kB / 1.116 GB, free: 13.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005567/1.337, allocations: 1.116 MB / 1.117 GB, free: 13.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01585/1.353, allocations: 3.575 MB / 1.12 GB, free: 13.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01559/1.369, allocations: 3.491 MB / 1.124 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01059/1.379, allocations: 4.11 MB / 1.128 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005454/1.385, allocations: 2.236 MB / 1.13 GB, free: 12.45 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/1.391, allocations: 1.739 MB / 1.131 GB, free: 11.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/1.395, allocations: 1.349 MB / 1.133 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/1.396, allocations: 102.7 kB / 1.133 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009104/1.405, allocations: 2.234 MB / 1.135 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/1.407, allocations: 0.631 MB / 1.136 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/1.409, allocations: 0.6337 MB / 1.136 GB, free: 10.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009418/1.418, allocations: 4.35 MB / 1.14 GB, free: 8.176 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.418, allocations: 5.859 kB / 1.14 GB, free: 8.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.418, allocations: 0 / 1.14 GB, free: 8.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001717/1.419, allocations: 0 / 1.14 GB, free: 8.172 MB / 0.698 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.01062/1.429, allocations: 3.472 MB / 1.144 GB, free: 5.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.429, allocations: 10.31 kB / 1.144 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/1.434, allocations: 0.6285 MB / 1.145 GB, free: 5.672 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/1.442, allocations: 2.536 MB / 1.147 GB, free: 4.578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/1.442, allocations: 171 kB / 1.147 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/1.443, allocations: 229.9 kB / 1.147 GB, free: 4.566 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007785/1.451, allocations: 2.428 MB / 1.15 GB, free: 3.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.993e-05/1.451, allocations: 6.656 kB / 1.15 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000353/1.451, allocations: 96.25 kB / 1.15 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/1.451, allocations: 61.09 kB / 1.15 GB, free: 3.703 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008589/1.46, allocations: 2.365 MB / 1.152 GB, free: 3.191 MB / 0.698 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.02495/1.485, allocations: 9.735 MB / 1.162 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006517/1.491, allocations: 1.769 MB / 1.163 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/1.506, allocations: 5.802 MB / 1.169 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003418/1.51, allocations: 0.929 MB / 1.17 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001487/1.511, allocations: 167.7 kB / 1.17 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 9.638e-06/1.511, allocations: 0 / 1.17 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157): time 0.01919/1.53, allocations: 3.007 MB / 1.173 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/1.531, allocations: 302.4 kB / 1.173 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006341/1.537, allocations: 2.585 MB / 1.176 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000545/1.538, allocations: 57.33 kB / 1.176 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.539, allocations: 1.323 MB / 1.177 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/1.54, allocations: 0.527 MB / 1.178 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/1.541, allocations: 40.22 kB / 1.178 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002427/1.541, allocations: 376.7 kB / 1.178 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/1.544, allocations: 0.6912 MB / 1.179 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004099/1.548, allocations: 1.265 MB / 1.18 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/1.552, allocations: 0.8464 MB / 1.181 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/1.552, allocations: 7.953 kB / 1.181 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01076/1.563, allocations: 2.369 MB / 1.183 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002145/1.565, allocations: 4.45 MB / 1.188 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.911e-05/1.565, allocations: 12 kB / 1.188 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52/4.085, allocations: 193.6 MB / 1.377 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/4.089, allocations: 441.9 kB / 1.377 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/4.095, allocations: 2.829 MB / 1.38 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/4.099, allocations: 205.5 kB / 1.38 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005936/4.1, allocations: 88.08 kB / 1.38 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/4.1, allocations: 7.938 kB / 1.38 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008625/4.109, allocations: 2.018 MB / 1.382 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-05/4.109, allocations: 12 kB / 1.382 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16/7.269, allocations: 193.6 MB / 1.571 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/7.272, allocations: 415.3 kB / 1.572 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/7.277, allocations: 2.837 MB / 1.574 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/7.281, allocations: 183.5 kB / 1.575 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/7.281, allocations: 94.25 kB / 1.575 GB, free: 229.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.002061/7.283, allocations: 0.6805 MB / 1.575 GB, free: 229.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/7.284, allocations: 271.6 kB / 1.576 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008914/7.293, allocations: 2.344 MB / 1.578 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/7.293, allocations: 23.25 kB / 1.578 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.293, allocations: 0 / 1.578 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006853/7.3, allocations: 1.938 MB / 1.58 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/7.314, allocations: 4.63 MB / 1.584 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/7.314, allocations: 0 / 1.584 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/7.317, allocations: 322.7 kB / 1.585 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303/8.62, allocations: 96.92 MB / 1.679 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004301/8.62, allocations: 49.91 kB / 1.679 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/8.624, allocations: 2.301 MB / 1.682 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/8.624, allocations: 4.188 kB / 1.682 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/8.635, allocations: 3.175 MB / 1.685 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/8.636, allocations: 0.5898 MB / 1.685 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/8.637, allocations: 41.48 kB / 1.685 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/8.64, allocations: 180.4 kB / 1.685 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/8.64, allocations: 128.5 kB / 1.686 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/8.641, allocations: 70.52 kB / 1.686 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003444/8.644, allocations: 1.769 MB / 1.687 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.11e-07/8.644, allocations: 0 / 1.687 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007565/8.652, allocations: 1.664 MB / 1.689 GB, free: 117.3 MB / 0.9323 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.004387/8.656, allocations: 1.273 MB / 1.69 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01058/8.667, allocations: 3.138 MB / 1.693 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/8.667, allocations: 4 kB / 1.693 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/8.67, allocations: 1.036 MB / 1.694 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009353/8.68, allocations: 1.2 MB / 1.695 GB, free: 111 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/8.696, allocations: 6.245 MB / 1.702 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/8.697, allocations: 1.901 MB / 1.703 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005794/8.703, allocations: 0.7989 MB / 1.704 GB, free: 102 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/8.704, allocations: 263.3 kB / 1.704 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.203e-06/8.704, allocations: 0 / 1.704 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.1571/8.862, allocations: 58.08 MB / 1.761 GB, free: 44.12 MB / 0.9323 GB