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.93/4.93, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.002499/0.002498, allocations: 359.9 kB / 0.6447 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 4.321/4.321, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.001776/0.001776, allocations: 194.5 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007467/0.0007469, allocations: 19.98 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7163/0.717, allocations: 115.2 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.09199/0.8091, allocations: 80.65 MB / 1.54 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1955/1.005, allocations: 153.6 MB / 1.69 GB, free: 49.95 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004099/1.009, allocations: 87.44 kB / 1.69 GB, free: 49.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004667/1.014, allocations: 0.9897 MB / 1.691 GB, free: 48.87 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/1.026, allocations: 3.178 MB / 1.694 GB, free: 45.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01371/1.04, allocations: 3.639 MB / 1.698 GB, free: 42.11 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01046/1.05, allocations: 7.209 MB / 1.705 GB, free: 34.87 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004268/1.055, allocations: 2.167 MB / 1.707 GB, free: 32.66 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004612/1.059, allocations: 1.859 MB / 1.709 GB, free: 30.79 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/1.063, allocations: 1.738 MB / 1.711 GB, free: 29.04 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006566/1.064, allocations: 100 kB / 1.711 GB, free: 28.95 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005605/1.069, allocations: 1.629 MB / 1.712 GB, free: 27.31 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/1.07, allocations: 0.6107 MB / 1.713 GB, free: 26.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/1.071, allocations: 0.5977 MB / 1.713 GB, free: 26.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006718/1.078, allocations: 3.885 MB / 1.717 GB, free: 22.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.078, allocations: 0 / 1.717 GB, free: 22.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.435e-06/1.078, allocations: 0 / 1.717 GB, free: 22.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000134/1.078, allocations: 0 / 1.717 GB, free: 22.2 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.008798/1.087, allocations: 3.199 MB / 1.72 GB, free: 18.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.087, allocations: 8.031 kB / 1.72 GB, free: 18.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/1.092, allocations: 0.5814 MB / 1.721 GB, free: 18.33 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006622/1.098, allocations: 2.284 MB / 1.723 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/1.099, allocations: 172.1 kB / 1.723 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/1.099, allocations: 223.9 kB / 1.723 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/1.105, allocations: 2.439 MB / 1.726 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-05/1.105, allocations: 4 kB / 1.726 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/1.106, allocations: 88 kB / 1.726 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-05/1.106, allocations: 63.94 kB / 1.726 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006533/1.112, allocations: 2.287 MB / 1.728 GB, free: 10.52 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.01807/1.13, allocations: 9.972 MB / 1.738 GB, free: 176 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6225/1.753, allocations: 1.566 MB / 1.74 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/1.756, allocations: 0.7493 MB / 1.74 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/1.766, allocations: 4.76 MB / 1.745 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003005/1.769, allocations: 0.9006 MB / 1.746 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001174/1.77, allocations: 153.5 kB / 1.746 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 5.37e-06/1.77, allocations: 1.562 kB / 1.746 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146): time 0.01015/1.78, allocations: 2.285 MB / 1.748 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/1.781, allocations: 278.7 kB / 1.748 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/1.785, allocations: 2.161 MB / 1.751 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004663/1.786, allocations: 60.38 kB / 1.751 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/1.787, allocations: 1.254 MB / 1.752 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007252/1.788, allocations: 0.498 MB / 1.752 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.788, allocations: 35.78 kB / 1.752 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.788, allocations: 379.5 kB / 1.753 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.791, allocations: 0.6762 MB / 1.753 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/1.794, allocations: 1.298 MB / 1.755 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/1.798, allocations: 0.8376 MB / 1.755 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/1.798, allocations: 4.688 kB / 1.755 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.008732/1.806, allocations: 2.261 MB / 1.758 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002829/1.807, allocations: 493.6 kB / 1.758 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/1.807, allocations: 20.53 kB / 1.758 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009814/1.808, allocations: 97.83 kB / 1.758 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.811, allocations: 455.3 kB / 1.759 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/1.814, allocations: 2.13 MB / 1.761 GB, free: 258 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/1.818, allocations: 187.4 kB / 1.761 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.819, allocations: 96.81 kB / 1.761 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/1.819, allocations: 4.781 kB / 1.761 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00625/1.825, allocations: 1.959 MB / 1.763 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.229e-05/1.825, allocations: 17.45 kB / 1.763 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/1.826, allocations: 101.5 kB / 1.763 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/1.829, allocations: 442.8 kB / 1.763 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/1.832, allocations: 2.13 MB / 1.766 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/1.836, allocations: 175.6 kB / 1.766 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/1.836, allocations: 94.7 kB / 1.766 GB, free: 254.7 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.00175/1.838, allocations: 0.6624 MB / 1.766 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/1.839, allocations: 261.9 kB / 1.767 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009207/1.848, allocations: 2.174 MB / 1.769 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005846/1.854, allocations: 1.784 MB / 1.771 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.854, allocations: 0 / 1.771 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.855, allocations: 0.5549 MB / 1.771 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006517/1.856, allocations: 31.95 kB / 1.771 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.859, allocations: 162.5 kB / 1.771 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/1.86, allocations: 118.7 kB / 1.771 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007543/1.867, allocations: 1.911 MB / 1.773 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008828/1.876, allocations: 2.888 MB / 1.776 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002615/1.879, allocations: 0.778 MB / 1.777 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003025/1.882, allocations: 1.427 MB / 1.778 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of Backend: time 6.21e-07/1.882, allocations: 3.938 kB / 1.778 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.895, allocations: 3.646 MB / 1.782 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01646/1.911, allocations: 6.674 MB / 1.788 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.1335/2.045, allocations: 57.98 MB / 1.845 GB, free: 176.4 MB / 0.8542 GB