Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001451/0.001451, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001361/0.001361, allocations: 195.5 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 72.23 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2596, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.7756/1.035, allocations: 178.9 MB / 0.9582 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01906/1.054, allocations: 13.08 MB / 0.971 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/1.057, allocations: 28.88 kB / 0.971 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/1.059, allocations: 450.8 kB / 0.9714 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008499/1.067, allocations: 2.11 MB / 0.9735 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/1.071, allocations: 0.9877 MB / 0.9745 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0048/1.076, allocations: 2.453 MB / 0.9769 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/1.077, allocations: 0.8007 MB / 0.9776 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/1.08, allocations: 0.8831 MB / 0.9785 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.082, allocations: 0.7532 MB / 0.9792 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/1.082, allocations: 101.4 kB / 0.9793 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/1.088, allocations: 2.326 MB / 0.9816 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006434/1.089, allocations: 352.2 kB / 0.9819 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/1.09, allocations: 0.6214 MB / 0.9826 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005026/1.095, allocations: 2.021 MB / 0.9845 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.095, allocations: 1.375 kB / 0.9845 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.475e-06/1.095, allocations: 0 / 0.9845 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.948e-05/1.095, allocations: 0 / 0.9845 GB, free: 7.262 MB / 0.7325 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.003828/1.099, allocations: 1.781 MB / 0.9863 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.099, allocations: 10.28 kB / 0.9863 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/1.1, allocations: 213.7 kB / 0.9865 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/1.102, allocations: 1.124 MB / 0.9876 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/1.102, allocations: 47.59 kB / 0.9876 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.103, allocations: 61.28 kB / 0.9877 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/1.104, allocations: 0.7502 MB / 0.9884 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.104, allocations: 2.125 kB / 0.9884 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/1.104, allocations: 26.06 kB / 0.9884 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/1.104, allocations: 23.08 kB / 0.9885 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/1.106, allocations: 0.7408 MB / 0.9892 GB, free: 5.617 MB / 0.7325 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.004544/1.11, allocations: 3.057 MB / 0.9922 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/1.112, allocations: 0.7545 MB / 0.9929 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/1.112, allocations: 340.2 kB / 0.9932 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003747/1.116, allocations: 3.597 MB / 0.9967 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007388/1.117, allocations: 386.3 kB / 0.9971 GB, free: 408 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 2.425e-06/1.117, allocations: 0 / 0.9971 GB, free: 408 kB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.005328/1.122, allocations: 1.438 MB / 0.9985 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.122, allocations: 83.23 kB / 0.9986 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/1.124, allocations: 1.158 MB / 0.9997 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/1.124, allocations: 43.3 kB / 0.9998 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/1.125, allocations: 497.4 kB / 1 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/1.125, allocations: 177.6 kB / 1 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.125, allocations: 155 kB / 1.001 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.125, allocations: 334.9 kB / 1.001 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/1.126, allocations: 314.2 kB / 1.001 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009785/1.127, allocations: 0.5899 MB / 1.002 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.128, allocations: 0.7094 MB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.128, allocations: 3.938 kB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002362/1.131, allocations: 0.9914 MB / 1.003 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.131, allocations: 4.812 kB / 1.003 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.131, allocations: 2.812 kB / 1.003 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04/2.171, allocations: 146.1 MB / 1.146 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/2.172, allocations: 127.8 kB / 1.146 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/2.173, allocations: 1.269 MB / 1.148 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/2.175, allocations: 103.4 kB / 1.148 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/2.175, allocations: 33.73 kB / 1.148 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/2.176, allocations: 0.5403 MB / 1.148 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001013/2.177, allocations: 0.5895 MB / 1.149 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001465/2.179, allocations: 0.7112 MB / 1.149 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/2.179, allocations: 0 / 1.149 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002509/2.181, allocations: 0.9953 MB / 1.15 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/2.181, allocations: 11.94 kB / 1.15 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/2.181, allocations: 0 / 1.15 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532/3.714, allocations: 146.1 MB / 1.293 GB, free: 427 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/3.714, allocations: 128 kB / 1.293 GB, free: 427 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/3.716, allocations: 1.27 MB / 1.294 GB, free: 426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/3.717, allocations: 88.78 kB / 1.295 GB, free: 426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/3.717, allocations: 36.06 kB / 1.295 GB, free: 426 MB / 1.014 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.0002661/3.717, allocations: 220 kB / 1.295 GB, free: 425.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/3.718, allocations: 108.5 kB / 1.295 GB, free: 425.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/3.72, allocations: 0.942 MB / 1.296 GB, free: 425.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/3.72, allocations: 6.031 kB / 1.296 GB, free: 425.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/3.72, allocations: 4.188 kB / 1.296 GB, free: 425.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/3.722, allocations: 0.9805 MB / 1.297 GB, free: 425.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/3.726, allocations: 2.076 MB / 1.299 GB, free: 424.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/3.726, allocations: 2.969 kB / 1.299 GB, free: 424.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/3.726, allocations: 79.61 kB / 1.299 GB, free: 424.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5117/4.238, allocations: 73.14 MB / 1.37 GB, free: 370.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/4.238, allocations: 16 kB / 1.37 GB, free: 370.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008937/4.239, allocations: 0.7201 MB / 1.371 GB, free: 370 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/4.239, allocations: 4.031 kB / 1.371 GB, free: 370 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/4.243, allocations: 1.479 MB / 1.373 GB, free: 368.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/4.243, allocations: 266.7 kB / 1.373 GB, free: 368.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/4.243, allocations: 19.94 kB / 1.373 GB, free: 368.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/4.244, allocations: 51.58 kB / 1.373 GB, free: 368.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/4.244, allocations: 44.31 kB / 1.373 GB, free: 368.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/4.244, allocations: 23.98 kB / 1.373 GB, free: 368.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009522/4.245, allocations: 0.8088 MB / 1.374 GB, free: 367.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/4.245, allocations: 0 / 1.374 GB, free: 367.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002153/4.247, allocations: 0.7088 MB / 1.374 GB, free: 366.7 MB / 1.014 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.002149/4.249, allocations: 0.9389 MB / 1.375 GB, free: 366.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002507/4.252, allocations: 1.253 MB / 1.377 GB, free: 364.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/4.252, allocations: 3.828 kB / 1.377 GB, free: 364.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/4.253, allocations: 370.2 kB / 1.377 GB, free: 364.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/4.255, allocations: 0.4937 MB / 1.377 GB, free: 364 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/4.258, allocations: 2.319 MB / 1.38 GB, free: 361.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/4.258, allocations: 1.081 MB / 1.381 GB, free: 360.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/4.259, allocations: 95.41 kB / 1.381 GB, free: 360.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.733e-06/4.259, allocations: 0 / 1.381 GB, free: 360.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03244/4.291, allocations: 27.65 MB / 1.408 GB, free: 333 MB / 1.014 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)