Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.552/2.552, allocations: 287.9 MB / 302.9 MB, free: 8.328 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.001447/0.001447, allocations: 175.9 kB / 371.4 MB, free: 10.68 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 2.006/2.006, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001012/0.001012, allocations: 104.2 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004644, allocations: 15.5 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1512, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.7171/0.8684, allocations: 153 MB / 1.128 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.8853, allocations: 11.22 MB / 1.139 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.8868, allocations: 25.5 kB / 1.139 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.8885, allocations: 469.8 kB / 1.14 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006548/0.8951, allocations: 1.872 MB / 1.141 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.8996, allocations: 1.174 MB / 1.143 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003042/0.9026, allocations: 1.456 MB / 1.144 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.9038, allocations: 0.6008 MB / 1.145 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.9053, allocations: 0.6571 MB / 1.145 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.9062, allocations: 0.4934 MB / 1.146 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.9064, allocations: 38.53 kB / 1.146 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.9109, allocations: 1.613 MB / 1.147 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.9114, allocations: 264.8 kB / 1.148 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.9118, allocations: 244.8 kB / 1.148 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.9154, allocations: 1.861 MB / 1.15 GB, free: 15.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.398e-06/0.9155, allocations: 0 / 1.15 GB, free: 15.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.037e-06/0.9155, allocations: 0 / 1.15 GB, free: 15.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.9155, allocations: 1.062 kB / 1.15 GB, free: 15.7 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003421/0.9189, allocations: 1.584 MB / 1.151 GB, free: 14.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.919, allocations: 9.469 kB / 1.151 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.9201, allocations: 238.5 kB / 1.151 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.9238, allocations: 1.791 MB / 1.153 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/0.9239, allocations: 46.97 kB / 1.153 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.924, allocations: 60.78 kB / 1.153 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.9259, allocations: 0.7267 MB / 1.154 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.926, allocations: 3.938 kB / 1.154 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.9261, allocations: 29.92 kB / 1.154 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.9261, allocations: 14.84 kB / 1.154 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.9281, allocations: 0.7077 MB / 1.155 GB, free: 12.38 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.006371/0.9344, allocations: 3.188 MB / 1.158 GB, free: 9.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.9364, allocations: 0.7114 MB / 1.159 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005597/0.9421, allocations: 3.598 MB / 1.162 GB, free: 5.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009255/0.943, allocations: 371.2 kB / 1.162 GB, free: 5.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 4.291e-06/0.9431, allocations: 0 / 1.162 GB, free: 5.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.006243/0.9493, allocations: 1.456 MB / 1.164 GB, free: 4.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.9494, allocations: 87.7 kB / 1.164 GB, free: 4.809 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/0.9528, allocations: 2.076 MB / 1.166 GB, free: 3.805 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.9529, allocations: 39.14 kB / 1.166 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/0.9535, allocations: 0.4934 MB / 1.166 GB, free: 3.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.9538, allocations: 183.6 kB / 1.167 GB, free: 3.176 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.9538, allocations: 14.81 kB / 1.167 GB, free: 3.164 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.954, allocations: 327.6 kB / 1.167 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/0.9548, allocations: 292.2 kB / 1.167 GB, free: 2.711 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.9559, allocations: 0.5702 MB / 1.168 GB, free: 2.363 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/0.9568, allocations: 345.6 kB / 1.168 GB, free: 2.199 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.255e-06/0.9568, allocations: 0 / 1.168 GB, free: 2.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002673/0.9595, allocations: 0.9683 MB / 1.169 GB, free: 1.719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005276/0.96, allocations: 0.9695 MB / 1.17 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9601, allocations: 2.562 kB / 1.17 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453/2.413, allocations: 193.5 MB / 1.359 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/2.414, allocations: 131.8 kB / 1.359 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/2.416, allocations: 1.28 MB / 1.36 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/2.417, allocations: 103.4 kB / 1.36 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/2.417, allocations: 31.98 kB / 1.36 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/2.417, allocations: 5.562 kB / 1.36 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/2.42, allocations: 0.8425 MB / 1.361 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.42, allocations: 4 kB / 1.361 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065/4.484, allocations: 193.5 MB / 1.55 GB, free: 262.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/4.485, allocations: 129.1 kB / 1.55 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/4.486, allocations: 1.282 MB / 1.552 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/4.488, allocations: 101.4 kB / 1.552 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/4.488, allocations: 38.61 kB / 1.552 GB, free: 261.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006401/4.488, allocations: 373.5 kB / 1.552 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/4.489, allocations: 109.7 kB / 1.552 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/4.491, allocations: 0.9329 MB / 1.553 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/4.491, allocations: 7.688 kB / 1.553 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.19e-06/4.491, allocations: 3.781 kB / 1.553 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001914/4.493, allocations: 0.9573 MB / 1.554 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/4.498, allocations: 2.073 MB / 1.556 GB, free: 257.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.479e-06/4.498, allocations: 0 / 1.556 GB, free: 257.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/4.499, allocations: 89.91 kB / 1.556 GB, free: 257.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8229/5.322, allocations: 96.83 MB / 1.651 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/5.322, allocations: 23.98 kB / 1.651 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/5.323, allocations: 0.7437 MB / 1.652 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.74e-06/5.323, allocations: 7.969 kB / 1.652 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00413/5.327, allocations: 1.486 MB / 1.653 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/5.328, allocations: 308.3 kB / 1.653 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/5.328, allocations: 15.98 kB / 1.653 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/5.329, allocations: 48.03 kB / 1.653 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/5.329, allocations: 44.33 kB / 1.653 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/5.329, allocations: 23.98 kB / 1.653 GB, free: 157.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00192/5.331, allocations: 1.544 MB / 1.655 GB, free: 156.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.26e-07/5.331, allocations: 0 / 1.655 GB, free: 156.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002272/5.333, allocations: 0.7273 MB / 1.656 GB, free: 155.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002744/5.336, allocations: 0.9397 MB / 1.657 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002824/5.339, allocations: 1.14 MB / 1.658 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.301e-06/5.339, allocations: 0 / 1.658 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008404/5.34, allocations: 360.7 kB / 1.658 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/5.343, allocations: 475.2 kB / 1.658 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/5.347, allocations: 2.29 MB / 1.661 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/5.347, allocations: 1.116 MB / 1.662 GB, free: 149.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001452/5.349, allocations: 279.7 kB / 1.662 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/5.349, allocations: 103.4 kB / 1.662 GB, free: 149 MB / 0.948 GB Notification: Performance of SimCode: time 1.578e-06/5.349, allocations: 0 / 1.662 GB, free: 149 MB / 0.948 GB Notification: Performance of Templates: time 0.05442/5.404, allocations: 26.86 MB / 1.688 GB, free: 122.5 MB / 0.948 GB