Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.145/2.145, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.00157/0.00157, allocations: 183.2 kB / 325.6 MB, free: 2.816 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.414/2.414, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.00112/0.001119, allocations: 94.34 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006597/0.0006598, allocations: 12.56 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2437, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.09875/0.3425, allocations: 73.44 MB / 0.9706 GB, free: 8.305 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.9171/1.26, allocations: 143.6 MB / 1.111 GB, free: 26.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004245/1.264, allocations: 83.03 kB / 1.111 GB, free: 26.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005267/1.269, allocations: 1.077 MB / 1.112 GB, free: 26.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0138/1.283, allocations: 3.078 MB / 1.115 GB, free: 25.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01605/1.299, allocations: 3.5 MB / 1.118 GB, free: 25.74 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01001/1.309, allocations: 3.988 MB / 1.122 GB, free: 25.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005379/1.315, allocations: 2.198 MB / 1.124 GB, free: 25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006207/1.321, allocations: 1.711 MB / 1.126 GB, free: 24.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/1.325, allocations: 1.322 MB / 1.127 GB, free: 23.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/1.326, allocations: 98.67 kB / 1.127 GB, free: 23.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006956/1.333, allocations: 1.659 MB / 1.129 GB, free: 23.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001492/1.335, allocations: 0.5877 MB / 1.13 GB, free: 23.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001597/1.336, allocations: 0.605 MB / 1.13 GB, free: 23.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008136/1.344, allocations: 3.876 MB / 1.134 GB, free: 21.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.344, allocations: 0 / 1.134 GB, free: 21.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.975e-06/1.344, allocations: 0 / 1.134 GB, free: 21.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000172/1.345, allocations: 0 / 1.134 GB, free: 21.14 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: 540 * Number of variables: 540 Notification: Performance of Generate backend data structure: time 0.009734/1.354, allocations: 3.223 MB / 1.137 GB, free: 19.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.354, allocations: 7.062 kB / 1.137 GB, free: 19.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/1.359, allocations: 0.5838 MB / 1.138 GB, free: 18.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006656/1.366, allocations: 2.241 MB / 1.14 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/1.366, allocations: 167.5 kB / 1.14 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006831/1.367, allocations: 222.9 kB / 1.14 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007499/1.374, allocations: 2.426 MB / 1.143 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.215e-05/1.374, allocations: 7.922 kB / 1.143 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/1.375, allocations: 92.92 kB / 1.143 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.773e-05/1.375, allocations: 57.47 kB / 1.143 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008104/1.383, allocations: 2.292 MB / 1.145 GB, free: 16.34 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.02289/1.406, allocations: 10.11 MB / 1.155 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/1.411, allocations: 1.592 MB / 1.156 GB, free: 9.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/1.422, allocations: 4.865 MB / 1.161 GB, free: 6.727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002808/1.425, allocations: 0.8838 MB / 1.162 GB, free: 6.438 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001256/1.427, allocations: 164 kB / 1.162 GB, free: 6.348 MB / 0.698 GB Notification: Performance of pre-optimization done (n=149): time 5.831e-06/1.427, allocations: 0 / 1.162 GB, free: 6.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=149): time 0.01096/1.438, allocations: 2.313 MB / 1.164 GB, free: 5.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/1.438, allocations: 280.2 kB / 1.165 GB, free: 5.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/1.442, allocations: 2.232 MB / 1.167 GB, free: 4.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004506/1.443, allocations: 59.61 kB / 1.167 GB, free: 4.801 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.444, allocations: 1.271 MB / 1.168 GB, free: 4.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000706/1.445, allocations: 0.5107 MB / 1.169 GB, free: 3.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/1.445, allocations: 34.56 kB / 1.169 GB, free: 3.859 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.445, allocations: 372.5 kB / 1.169 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.447, allocations: 0.6648 MB / 1.17 GB, free: 3.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004798/1.452, allocations: 1.287 MB / 1.171 GB, free: 1.848 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005131/1.457, allocations: 0.8169 MB / 1.172 GB, free: 1.336 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/1.458, allocations: 7.938 kB / 1.172 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.0134/1.471, allocations: 2.229 MB / 1.174 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00333/1.474, allocations: 5.35 MB / 1.179 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.872e-05/1.474, allocations: 16 kB / 1.179 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/1.476, allocations: 103.2 kB / 1.179 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/1.482, allocations: 453.2 kB / 1.18 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/1.487, allocations: 2.146 MB / 1.182 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00612/1.494, allocations: 182.4 kB / 1.182 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006566/1.494, allocations: 96.81 kB / 1.182 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.494, allocations: 8 kB / 1.182 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01214/1.507, allocations: 1.916 MB / 1.184 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-05/1.507, allocations: 16 kB / 1.184 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.508, allocations: 106.7 kB / 1.184 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005622/1.514, allocations: 433.6 kB / 1.185 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/1.519, allocations: 2.142 MB / 1.187 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/1.525, allocations: 165.5 kB / 1.187 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006969/1.526, allocations: 95.58 kB / 1.187 GB, free: 2.734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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: 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.003136/1.529, allocations: 0.6569 MB / 1.188 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.53, allocations: 256.8 kB / 1.188 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/1.544, allocations: 2.218 MB / 1.19 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.954e-05/1.544, allocations: 19.95 kB / 1.19 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.545, allocations: 0 / 1.19 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01051/1.555, allocations: 1.791 MB / 1.192 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.576, allocations: 4.377 MB / 1.196 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.576, allocations: 0 / 1.196 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004545/1.58, allocations: 324.6 kB / 1.196 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/1.582, allocations: 92.7 kB / 1.196 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/1.582, allocations: 52.02 kB / 1.196 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/1.586, allocations: 1.555 MB / 1.198 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/1.586, allocations: 4.031 kB / 1.198 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/1.601, allocations: 2.986 MB / 1.201 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.603, allocations: 0.5697 MB / 1.201 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006127/1.604, allocations: 35.88 kB / 1.201 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.607, allocations: 180.2 kB / 1.202 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/1.608, allocations: 129.4 kB / 1.202 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.608, allocations: 67.02 kB / 1.202 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003663/1.612, allocations: 1.488 MB / 1.203 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.4e-07/1.612, allocations: 7.938 kB / 1.203 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007569/1.619, allocations: 1.51 MB / 1.205 GB, free: 4.559 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y,conFan.D.x) * 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 (174): * Single equations (assignments): 165 * 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.004076/1.623, allocations: 1.084 MB / 1.206 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.635, allocations: 3.049 MB / 1.209 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.635, allocations: 0 / 1.209 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003688/1.639, allocations: 0.9969 MB / 1.21 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01094/1.65, allocations: 1.136 MB / 1.211 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/1.676, allocations: 6.039 MB / 1.217 GB, free: 10.2 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003903/1.68, allocations: 1.847 MB / 1.219 GB, free: 8.324 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.008572/1.689, allocations: 0.7823 MB / 1.219 GB, free: 7.535 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/1.691, allocations: 259.2 kB / 1.22 GB, free: 7.281 MB / 0.7449 GB Notification: Performance of SimCode: time 1.984e-06/1.691, allocations: 0 / 1.22 GB, free: 7.281 MB / 0.7449 GB Notification: Performance of Templates: time 0.22/1.911, allocations: 51.76 MB / 1.27 GB, free: 3.891 MB / 0.7917 GB