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 4.621/4.621, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00238/0.00238, allocations: 363.9 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.806/3.806, allocations: 410.7 MB / 1.112 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 200.5 kB / 1.225 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004759, allocations: 12 kB / 1.348 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5726, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.07707/0.6497, allocations: 80.64 MB / 1.539 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1604/0.8101, allocations: 153.6 MB / 1.69 GB, free: 49.87 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.8137, allocations: 87.44 kB / 1.69 GB, free: 49.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.8168, allocations: 0.9897 MB / 1.691 GB, free: 48.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009522/0.8264, allocations: 3.184 MB / 1.694 GB, free: 45.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.8377, allocations: 3.631 MB / 1.697 GB, free: 42.05 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008313/0.8461, allocations: 7.216 MB / 1.704 GB, free: 34.81 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.8496, allocations: 2.167 MB / 1.706 GB, free: 32.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.8528, allocations: 1.851 MB / 1.708 GB, free: 30.74 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.855, allocations: 1.738 MB / 1.71 GB, free: 29 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000352/0.8553, allocations: 96 kB / 1.71 GB, free: 28.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.8593, allocations: 1.637 MB / 1.712 GB, free: 27.26 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.86, allocations: 0.6146 MB / 1.712 GB, free: 26.64 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007294/0.8608, allocations: 0.5977 MB / 1.713 GB, free: 26.04 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.8656, allocations: 3.881 MB / 1.717 GB, free: 22.15 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.638e-06/0.8656, allocations: 0 / 1.717 GB, free: 22.15 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.469e-06/0.8656, allocations: 0 / 1.717 GB, free: 22.15 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.272e-05/0.8657, allocations: 0 / 1.717 GB, free: 22.15 MB / 0.8542 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.005798/0.8715, allocations: 3.199 MB / 1.72 GB, free: 18.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.8715, allocations: 8.031 kB / 1.72 GB, free: 18.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.8743, allocations: 0.5814 MB / 1.72 GB, free: 18.28 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004556/0.8789, allocations: 2.29 MB / 1.723 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.879, allocations: 168.2 kB / 1.723 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.8794, allocations: 223.9 kB / 1.723 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.8841, allocations: 2.443 MB / 1.725 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.8842, allocations: 3.938 kB / 1.725 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.8845, allocations: 96 kB / 1.725 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.8846, allocations: 56 kB / 1.725 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/0.8897, allocations: 2.291 MB / 1.728 GB, free: 10.46 MB / 0.8542 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.01551/0.9053, allocations: 9.969 MB / 1.737 GB, free: 112 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5171/1.422, allocations: 1.561 MB / 1.739 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.424, allocations: 0.7515 MB / 1.74 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008382/1.433, allocations: 4.761 MB / 1.744 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/1.435, allocations: 0.8946 MB / 1.745 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008933/1.436, allocations: 156.2 kB / 1.745 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 5.334e-06/1.436, allocations: 0 / 1.745 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146): time 0.007322/1.443, allocations: 2.286 MB / 1.748 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/1.443, allocations: 279.2 kB / 1.748 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/1.447, allocations: 2.157 MB / 1.75 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/1.448, allocations: 61.27 kB / 1.75 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.449, allocations: 1.256 MB / 1.751 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/1.449, allocations: 0.4966 MB / 1.752 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.449, allocations: 35 kB / 1.752 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.449, allocations: 376.8 kB / 1.752 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/1.452, allocations: 0.6789 MB / 1.753 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/1.454, allocations: 1.297 MB / 1.754 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/1.456, allocations: 0.8333 MB / 1.755 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.456, allocations: 3.938 kB / 1.755 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.006214/1.463, allocations: 2.273 MB / 1.757 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/1.463, allocations: 494 kB / 1.758 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/1.463, allocations: 18.05 kB / 1.758 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/1.464, allocations: 100.7 kB / 1.758 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.466, allocations: 457 kB / 1.758 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/1.469, allocations: 2.123 MB / 1.76 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/1.472, allocations: 188.6 kB / 1.76 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/1.472, allocations: 95.89 kB / 1.76 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.472, allocations: 7.375 kB / 1.76 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005273/1.477, allocations: 1.959 MB / 1.762 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/1.477, allocations: 18 kB / 1.762 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/1.478, allocations: 105.2 kB / 1.762 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.48, allocations: 433.1 kB / 1.763 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.483, allocations: 2.136 MB / 1.765 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/1.485, allocations: 164.5 kB / 1.765 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/1.485, allocations: 99.42 kB / 1.765 GB, free: 254.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 227 * 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.001489/1.487, allocations: 0.6635 MB / 1.766 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/1.487, allocations: 262.3 kB / 1.766 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006912/1.494, allocations: 2.182 MB / 1.768 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.494, allocations: 21.08 kB / 1.768 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.978e-06/1.495, allocations: 0 / 1.768 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/1.499, allocations: 1.787 MB / 1.77 GB, free: 250.7 MB / 0.8542 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 postOpt removeSimpleEquations (simulation): time 0.009035/1.508, allocations: 4.329 MB / 1.774 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.508, allocations: 0 / 1.774 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/1.51, allocations: 323.2 kB / 1.775 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/1.51, allocations: 87.5 kB / 1.775 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.51, allocations: 47.97 kB / 1.775 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.512, allocations: 1.542 MB / 1.776 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.775e-06/1.512, allocations: 3.938 kB / 1.776 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/1.52, allocations: 2.892 MB / 1.779 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.521, allocations: 0.5521 MB / 1.78 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/1.522, allocations: 32 kB / 1.78 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.524, allocations: 164.9 kB / 1.78 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.524, allocations: 125.6 kB / 1.78 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.524, allocations: 67.95 kB / 1.78 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002334/1.527, allocations: 1.431 MB / 1.781 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.45e-07/1.527, allocations: 0 / 1.781 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00441/1.531, allocations: 1.493 MB / 1.783 GB, free: 237.5 MB / 0.8542 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.00302/1.534, allocations: 1.05 MB / 1.784 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007303/1.541, allocations: 3.097 MB / 1.787 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.999e-06/1.541, allocations: 4 kB / 1.787 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/1.544, allocations: 0.9947 MB / 1.788 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005899/1.55, allocations: 1.161 MB / 1.789 GB, free: 231.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.56, allocations: 5.969 MB / 1.795 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.562, allocations: 1.838 MB / 1.797 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004051/1.566, allocations: 0.7793 MB / 1.797 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/1.566, allocations: 243.3 kB / 1.798 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.702e-06/1.566, allocations: 0 / 1.798 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.09846/1.665, allocations: 50.66 MB / 1.847 GB, free: 173.1 MB / 0.8542 GB