Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 288.4 MB / 303.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 188.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 0.6307 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007081/0.0007081, allocations: 96.89 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 13.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5676/0.7921, allocations: 165 MB / 1.141 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.8055, allocations: 12.26 MB / 1.153 GB, free: 13.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.8068, allocations: 27.91 kB / 1.153 GB, free: 13.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.8081, allocations: 375.2 kB / 1.153 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004919/0.813, allocations: 1.745 MB / 1.155 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.8154, allocations: 0.8361 MB / 1.156 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003467/0.8189, allocations: 2.587 MB / 1.158 GB, free: 9.816 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.82, allocations: 0.6032 MB / 1.159 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.8215, allocations: 0.7215 MB / 1.159 GB, free: 9.066 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.8226, allocations: 0.6499 MB / 1.16 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.8228, allocations: 39.44 kB / 1.16 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/0.8275, allocations: 1.775 MB / 1.162 GB, free: 7.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.828, allocations: 283.1 kB / 1.162 GB, free: 7.582 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.8285, allocations: 240.6 kB / 1.162 GB, free: 7.438 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003221/0.8318, allocations: 1.897 MB / 1.164 GB, free: 6.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8318, allocations: 4 kB / 1.164 GB, free: 6.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8318, allocations: 4 kB / 1.164 GB, free: 6.215 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.8318, allocations: 1.5 kB / 1.164 GB, free: 6.215 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.002955/0.8348, allocations: 1.571 MB / 1.166 GB, free: 4.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8348, allocations: 8.75 kB / 1.166 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/0.8358, allocations: 226.8 kB / 1.166 GB, free: 4.879 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.8378, allocations: 1.073 MB / 1.167 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.8379, allocations: 50.72 kB / 1.167 GB, free: 4.035 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.838, allocations: 62.06 kB / 1.167 GB, free: 4.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.8394, allocations: 0.7504 MB / 1.168 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.8394, allocations: 0 / 1.168 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.8395, allocations: 26.06 kB / 1.168 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.8395, allocations: 15.78 kB / 1.168 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.8409, allocations: 0.7456 MB / 1.169 GB, free: 3.203 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.004179/0.8451, allocations: 3.064 MB / 1.172 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.8465, allocations: 0.7678 MB / 1.172 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/0.8471, allocations: 333 kB / 1.173 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00413/0.8512, allocations: 3.62 MB / 1.176 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007104/0.8519, allocations: 382 kB / 1.177 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.966e-06/0.852, allocations: 0 / 1.177 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.00511/0.8571, allocations: 1.509 MB / 1.178 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.8571, allocations: 83.39 kB / 1.178 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.8585, allocations: 1.149 MB / 1.179 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.8586, allocations: 36.61 kB / 1.179 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.859, allocations: 0.4917 MB / 1.18 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.8592, allocations: 178.2 kB / 1.18 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.8592, allocations: 14.91 kB / 1.18 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8594, allocations: 327.1 kB / 1.18 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.8599, allocations: 312.9 kB / 1.181 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.8607, allocations: 0.5924 MB / 1.181 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.8614, allocations: 361.2 kB / 1.181 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8614, allocations: 2.875 kB / 1.181 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001861/0.8633, allocations: 0.9949 MB / 1.182 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.8634, allocations: 170.2 kB / 1.183 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.8634, allocations: 6.688 kB / 1.183 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144/2.007, allocations: 193.5 MB / 1.372 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/2.008, allocations: 131.8 kB / 1.372 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/2.009, allocations: 1.284 MB / 1.373 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/2.011, allocations: 101.3 kB / 1.373 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/2.011, allocations: 31.98 kB / 1.373 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/2.011, allocations: 4 kB / 1.373 GB, free: 9.285 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002112/2.013, allocations: 0.8777 MB / 1.374 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/2.013, allocations: 4 kB / 1.374 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519/3.532, allocations: 193.5 MB / 1.563 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/3.533, allocations: 129 kB / 1.563 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/3.534, allocations: 1.291 MB / 1.564 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.536, allocations: 94.42 kB / 1.564 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/3.536, allocations: 33.61 kB / 1.564 GB, free: 251 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.0008497/3.537, allocations: 378.8 kB / 1.565 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/3.537, allocations: 111.9 kB / 1.565 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/3.539, allocations: 0.9522 MB / 1.566 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/3.539, allocations: 7.438 kB / 1.566 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/3.539, allocations: 0 / 1.566 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/3.541, allocations: 0.9929 MB / 1.567 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/3.545, allocations: 2.09 MB / 1.569 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/3.545, allocations: 0 / 1.569 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/3.545, allocations: 91.92 kB / 1.569 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6709/4.216, allocations: 96.83 MB / 1.664 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/4.216, allocations: 18.06 kB / 1.664 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/4.217, allocations: 0.7367 MB / 1.664 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/4.217, allocations: 7.969 kB / 1.664 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/4.22, allocations: 1.501 MB / 1.666 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/4.221, allocations: 297.2 kB / 1.666 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/4.221, allocations: 13.5 kB / 1.666 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/4.222, allocations: 52.02 kB / 1.666 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/4.222, allocations: 36.39 kB / 1.666 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/4.222, allocations: 27.97 kB / 1.666 GB, free: 147.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009497/4.223, allocations: 0.801 MB / 1.667 GB, free: 146.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/4.223, allocations: 1.859 kB / 1.667 GB, free: 146.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001989/4.225, allocations: 0.7081 MB / 1.668 GB, free: 145.6 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.001901/4.227, allocations: 0.9227 MB / 1.669 GB, free: 145 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002163/4.229, allocations: 1.199 MB / 1.67 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/4.229, allocations: 0 / 1.67 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/4.23, allocations: 380.7 kB / 1.67 GB, free: 143.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/4.232, allocations: 485.7 kB / 1.671 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/4.235, allocations: 2.314 MB / 1.673 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/4.235, allocations: 1.092 MB / 1.674 GB, free: 139.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008823/4.236, allocations: 275.6 kB / 1.674 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/4.236, allocations: 95.41 kB / 1.674 GB, free: 139.1 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/4.236, allocations: 0 / 1.674 GB, free: 139.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03471/4.271, allocations: 25.76 MB / 1.699 GB, free: 113.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)