Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005257/0.005257, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 11.69 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2713, allocations: 162.1 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2099/0.4812, allocations: 176.6 MB / 1.247 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.586/1.067, allocations: 13.3 MB / 1.26 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/1.069, allocations: 27.09 kB / 1.26 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/1.07, allocations: 445.6 kB / 1.26 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/1.076, allocations: 2.015 MB / 1.262 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/1.079, allocations: 0.9867 MB / 1.263 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003732/1.083, allocations: 2.995 MB / 1.266 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009932/1.084, allocations: 0.6794 MB / 1.267 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/1.085, allocations: 0.7268 MB / 1.267 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/1.086, allocations: 0.6909 MB / 1.268 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.086, allocations: 37.34 kB / 1.268 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/1.091, allocations: 2.262 MB / 1.27 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/1.091, allocations: 290.2 kB / 1.27 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007873/1.092, allocations: 0.5749 MB / 1.271 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005037/1.097, allocations: 2.649 MB / 1.274 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.097, allocations: 1.031 kB / 1.274 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.097, allocations: 0 / 1.274 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.874e-05/1.097, allocations: 0 / 1.274 GB, free: 14.56 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.002776/1.1, allocations: 1.57 MB / 1.275 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.1, allocations: 9.906 kB / 1.275 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/1.101, allocations: 228.7 kB / 1.275 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/1.103, allocations: 1.127 MB / 1.276 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/1.103, allocations: 48.69 kB / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.103, allocations: 60.22 kB / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/1.104, allocations: 0.7676 MB / 1.277 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.104, allocations: 0.9375 kB / 1.277 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/1.104, allocations: 24.52 kB / 1.277 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.104, allocations: 24.14 kB / 1.277 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/1.106, allocations: 0.7512 MB / 1.278 GB, free: 13 MB / 0.9981 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.004569/1.111, allocations: 3.102 MB / 1.281 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/1.112, allocations: 0.7663 MB / 1.282 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/1.113, allocations: 343.4 kB / 1.282 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003419/1.116, allocations: 3.61 MB / 1.286 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/1.117, allocations: 394.5 kB / 1.286 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.485e-06/1.117, allocations: 4 kB / 1.286 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.005243/1.122, allocations: 1.507 MB / 1.288 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.122, allocations: 86.2 kB / 1.288 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.124, allocations: 1.159 MB / 1.289 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/1.124, allocations: 39.98 kB / 1.289 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/1.124, allocations: 0.4905 MB / 1.289 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.124, allocations: 180.9 kB / 1.289 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/1.124, allocations: 64.8 kB / 1.29 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/1.124, allocations: 334.8 kB / 1.29 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/1.125, allocations: 310.5 kB / 1.29 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/1.126, allocations: 0.5968 MB / 1.291 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.127, allocations: 0.7209 MB / 1.291 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.127, allocations: 0 / 1.291 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002214/1.13, allocations: 1.005 MB / 1.292 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/1.13, allocations: 163.4 kB / 1.293 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.13, allocations: 2.219 kB / 1.293 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285/2.415, allocations: 193.5 MB / 1.482 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/2.416, allocations: 136 kB / 1.482 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/2.417, allocations: 1.29 MB / 1.483 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/2.419, allocations: 115.8 kB / 1.483 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/2.419, allocations: 27.67 kB / 1.483 GB, free: 8.508 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/2.419, allocations: 4 kB / 1.483 GB, free: 8.504 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002041/2.421, allocations: 0.8873 MB / 1.484 GB, free: 7.898 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.421, allocations: 0 / 1.484 GB, free: 7.898 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255/3.676, allocations: 193.5 MB / 1.673 GB, free: 6.23 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/3.677, allocations: 132 kB / 1.673 GB, free: 6.117 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/3.678, allocations: 1.292 MB / 1.674 GB, free: 4.859 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/3.68, allocations: 86.48 kB / 1.674 GB, free: 4.785 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/3.68, allocations: 27.8 kB / 1.674 GB, free: 4.762 MB / 1.342 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0008954/3.681, allocations: 387.2 kB / 1.675 GB, free: 4.465 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/3.681, allocations: 114.5 kB / 1.675 GB, free: 4.352 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/3.683, allocations: 0.9575 MB / 1.676 GB, free: 3.664 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/3.683, allocations: 11.98 kB / 1.676 GB, free: 3.652 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/3.683, allocations: 0 / 1.676 GB, free: 3.652 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/3.685, allocations: 0.9924 MB / 1.677 GB, free: 2.805 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/3.69, allocations: 2.103 MB / 1.679 GB, free: 1.215 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/3.69, allocations: 8.094 kB / 1.679 GB, free: 1.207 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/3.69, allocations: 85.52 kB / 1.679 GB, free: 1.133 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221/4.911, allocations: 96.83 MB / 1.774 GB, free: 0.5984 GB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/4.911, allocations: 15.66 kB / 1.774 GB, free: 0.5984 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/4.912, allocations: 0.7422 MB / 1.774 GB, free: 0.5979 GB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/4.912, allocations: 5.594 kB / 1.774 GB, free: 0.5979 GB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/4.917, allocations: 1.51 MB / 1.776 GB, free: 0.5977 GB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/4.917, allocations: 292.3 kB / 1.776 GB, free: 0.5977 GB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/4.917, allocations: 15.31 kB / 1.776 GB, free: 0.5977 GB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/4.918, allocations: 54.92 kB / 1.776 GB, free: 0.5977 GB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/4.918, allocations: 35.95 kB / 1.776 GB, free: 0.5977 GB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/4.918, allocations: 23.86 kB / 1.776 GB, free: 0.5977 GB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001092/4.919, allocations: 0.8149 MB / 1.777 GB, free: 0.5975 GB / 1.42 GB Notification: Performance of sort global known variables: time 1.5e-07/4.919, allocations: 4.547 kB / 1.777 GB, free: 0.5975 GB / 1.42 GB Notification: Performance of remove unused functions: time 0.002317/4.922, allocations: 0.7147 MB / 1.778 GB, free: 0.5975 GB / 1.42 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002489/4.924, allocations: 0.94 MB / 1.779 GB, free: 0.5974 GB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.002604/4.927, allocations: 1.207 MB / 1.78 GB, free: 0.5974 GB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/4.927, allocations: 1.25 kB / 1.78 GB, free: 0.5974 GB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/4.927, allocations: 368.3 kB / 1.78 GB, free: 0.5974 GB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/4.93, allocations: 476.3 kB / 1.781 GB, free: 0.5972 GB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/4.934, allocations: 2.405 MB / 1.783 GB, free: 0.5959 GB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/4.935, allocations: 1.096 MB / 1.784 GB, free: 0.595 GB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.001135/4.936, allocations: 269.2 kB / 1.784 GB, free: 0.5949 GB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/4.936, allocations: 97.89 kB / 1.784 GB, free: 0.5949 GB / 1.42 GB Notification: Performance of SimCode: time 1.343e-06/4.936, allocations: 1.031 kB / 1.784 GB, free: 0.5949 GB / 1.42 GB Notification: Performance of Templates: time 0.03991/4.976, allocations: 26.31 MB / 1.81 GB, free: 0.5763 GB / 1.42 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)