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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001244/0.001244, allocations: 198.2 kB / 16.14 MB, free: 6.66 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.89 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3255, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1853/0.5109, allocations: 178.9 MB / 1.242 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5578/1.069, allocations: 13.49 MB / 1.255 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/1.07, allocations: 30.09 kB / 1.255 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.071, allocations: 437.1 kB / 1.256 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/1.077, allocations: 2.021 MB / 1.258 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/1.079, allocations: 0.9838 MB / 1.259 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003631/1.083, allocations: 2.984 MB / 1.262 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.084, allocations: 0.7034 MB / 1.262 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/1.086, allocations: 0.7534 MB / 1.263 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009807/1.087, allocations: 0.7118 MB / 1.264 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/1.087, allocations: 49.88 kB / 1.264 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/1.091, allocations: 2.284 MB / 1.266 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/1.092, allocations: 302 kB / 1.266 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008917/1.093, allocations: 0.5723 MB / 1.267 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/1.098, allocations: 2.683 MB / 1.27 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.098, allocations: 0 / 1.27 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.42e-07/1.098, allocations: 0.7188 kB / 1.27 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.333e-05/1.098, allocations: 0 / 1.27 GB, free: 13.69 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.003444/1.102, allocations: 1.795 MB / 1.271 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.102, allocations: 11.16 kB / 1.271 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.103, allocations: 228.5 kB / 1.272 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/1.105, allocations: 1.13 MB / 1.273 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/1.105, allocations: 47.22 kB / 1.273 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.105, allocations: 63.48 kB / 1.273 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/1.107, allocations: 0.7627 MB / 1.273 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.107, allocations: 0 / 1.273 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/1.107, allocations: 20.69 kB / 1.274 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/1.107, allocations: 19.16 kB / 1.274 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/1.108, allocations: 0.7487 MB / 1.274 GB, free: 12.09 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.004824/1.113, allocations: 3.089 MB / 1.277 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/1.115, allocations: 0.7545 MB / 1.278 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/1.115, allocations: 339.8 kB / 1.278 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003461/1.119, allocations: 3.592 MB / 1.282 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/1.119, allocations: 387.2 kB / 1.282 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.715e-06/1.12, allocations: 0.9688 kB / 1.282 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.005342/1.125, allocations: 1.438 MB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/1.125, allocations: 84.47 kB / 1.284 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/1.126, allocations: 1.165 MB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/1.127, allocations: 40.36 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/1.127, allocations: 0.4899 MB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/1.127, allocations: 181.9 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/1.127, allocations: 150.8 kB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/1.127, allocations: 331.4 kB / 1.286 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/1.128, allocations: 317.3 kB / 1.286 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008163/1.129, allocations: 0.5906 MB / 1.287 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.13, allocations: 0.7108 MB / 1.288 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.13, allocations: 2.328 kB / 1.288 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002105/1.132, allocations: 0.9908 MB / 1.289 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.132, allocations: 6.094 kB / 1.289 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.132, allocations: 6.188 kB / 1.289 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124/2.256, allocations: 146.2 MB / 1.431 GB, free: 8.066 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/2.257, allocations: 125.3 kB / 1.431 GB, free: 7.953 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/2.258, allocations: 1.277 MB / 1.433 GB, free: 6.715 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/2.26, allocations: 93.45 kB / 1.433 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/2.26, allocations: 31.23 kB / 1.433 GB, free: 6.609 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001106/2.261, allocations: 0.542 MB / 1.433 GB, free: 6.238 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008822/2.262, allocations: 0.5824 MB / 1.434 GB, free: 5.75 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001262/2.263, allocations: 0.7097 MB / 1.435 GB, free: 5.262 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/2.263, allocations: 0 / 1.435 GB, free: 5.262 MB / 1.107 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002212/2.265, allocations: 0.9907 MB / 1.436 GB, free: 4.535 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/2.265, allocations: 8 kB / 1.436 GB, free: 4.527 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/2.265, allocations: 2.25 kB / 1.436 GB, free: 4.527 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114/3.379, allocations: 146.1 MB / 1.578 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/3.38, allocations: 135.8 kB / 1.578 GB, free: 2.121 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/3.381, allocations: 1.27 MB / 1.58 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/3.383, allocations: 87.17 kB / 1.58 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/3.383, allocations: 34.92 kB / 1.58 GB, free: 0.7852 MB / 1.248 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.0003431/3.383, allocations: 218.7 kB / 1.58 GB, free: 0.5898 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/3.384, allocations: 118.5 kB / 1.58 GB, free: 484 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/3.386, allocations: 0.9366 MB / 1.581 GB, free: 15.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/3.386, allocations: 8 kB / 1.581 GB, free: 15.79 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/3.386, allocations: 0 / 1.581 GB, free: 15.79 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/3.388, allocations: 0.9765 MB / 1.582 GB, free: 14.96 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/3.393, allocations: 2.079 MB / 1.584 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/3.393, allocations: 2.312 kB / 1.584 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/3.393, allocations: 81.62 kB / 1.584 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5586/3.952, allocations: 73.14 MB / 1.655 GB, free: 4.117 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/3.952, allocations: 18.86 kB / 1.655 GB, free: 4.105 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/3.953, allocations: 0.7283 MB / 1.656 GB, free: 3.422 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/3.953, allocations: 4.062 kB / 1.656 GB, free: 3.418 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/3.957, allocations: 1.477 MB / 1.658 GB, free: 2.301 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/3.958, allocations: 268.8 kB / 1.658 GB, free: 2.062 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/3.958, allocations: 23.77 kB / 1.658 GB, free: 2.051 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/3.959, allocations: 50.95 kB / 1.658 GB, free: 2.008 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/3.959, allocations: 34.52 kB / 1.658 GB, free: 1.98 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/3.959, allocations: 31.78 kB / 1.658 GB, free: 1.953 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001397/3.961, allocations: 0.8159 MB / 1.659 GB, free: 1.348 MB / 1.326 GB Notification: Performance of sort global known variables: time 2.61e-07/3.961, allocations: 0 / 1.659 GB, free: 1.348 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002815/3.963, allocations: 0.7097 MB / 1.66 GB, free: 0.6914 MB / 1.326 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.003418/3.967, allocations: 0.9486 MB / 1.66 GB, free: 8 kB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.002865/3.97, allocations: 1.179 MB / 1.662 GB, free: 15.18 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/3.97, allocations: 0.875 kB / 1.662 GB, free: 15.18 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.0008204/3.971, allocations: 368.7 kB / 1.662 GB, free: 14.93 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/3.973, allocations: 476 kB / 1.662 GB, free: 14.55 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/3.977, allocations: 2.347 MB / 1.665 GB, free: 12.39 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/3.978, allocations: 1.097 MB / 1.666 GB, free: 11.29 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001071/3.979, allocations: 268.2 kB / 1.666 GB, free: 11.04 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/3.979, allocations: 98.39 kB / 1.666 GB, free: 10.95 MB / 1.342 GB Notification: Performance of SimCode: time 8.71e-07/3.979, allocations: 3.938 kB / 1.666 GB, free: 10.94 MB / 1.342 GB Notification: Performance of Templates: time 0.04424/4.023, allocations: 26.51 MB / 1.692 GB, free: 0.9922 MB / 1.357 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)