Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009769/0.0009768, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006462/0.006462, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8.094 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1806/0.5007, allocations: 176.6 MB / 1.247 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6665/1.167, allocations: 13.31 MB / 1.26 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/1.169, allocations: 28.12 kB / 1.26 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.17, allocations: 435.7 kB / 1.26 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/1.177, allocations: 2.013 MB / 1.262 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/1.18, allocations: 0.9926 MB / 1.263 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004355/1.184, allocations: 2.987 MB / 1.266 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/1.186, allocations: 0.6704 MB / 1.267 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/1.187, allocations: 0.7395 MB / 1.267 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008955/1.188, allocations: 0.6765 MB / 1.268 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/1.188, allocations: 39.38 kB / 1.268 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/1.193, allocations: 2.271 MB / 1.27 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/1.194, allocations: 287.2 kB / 1.27 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008246/1.194, allocations: 0.5781 MB / 1.271 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005912/1.2, allocations: 2.646 MB / 1.274 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.2, allocations: 0.75 kB / 1.274 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.063e-06/1.2, allocations: 0 / 1.274 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.255e-05/1.2, allocations: 3.719 kB / 1.274 GB, free: 14.07 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.003219/1.204, allocations: 1.57 MB / 1.275 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.204, allocations: 8.438 kB / 1.275 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/1.205, allocations: 233.7 kB / 1.275 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/1.207, allocations: 1.123 MB / 1.276 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/1.207, allocations: 47.44 kB / 1.277 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.207, allocations: 61.73 kB / 1.277 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.208, allocations: 0.7679 MB / 1.277 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.208, allocations: 4.281 kB / 1.277 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/1.208, allocations: 27.97 kB / 1.277 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/1.208, allocations: 20.06 kB / 1.277 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/1.21, allocations: 0.7533 MB / 1.278 GB, free: 12.51 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.004886/1.215, allocations: 3.095 MB / 1.281 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.217, allocations: 0.78 MB / 1.282 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/1.217, allocations: 335.9 kB / 1.282 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004546/1.222, allocations: 3.605 MB / 1.286 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008493/1.223, allocations: 393.4 kB / 1.286 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.505e-06/1.223, allocations: 1.75 kB / 1.286 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.00547/1.228, allocations: 1.518 MB / 1.288 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.228, allocations: 82.8 kB / 1.288 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.23, allocations: 1.161 MB / 1.289 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/1.23, allocations: 42.7 kB / 1.289 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/1.23, allocations: 0.4887 MB / 1.289 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.23, allocations: 173.8 kB / 1.289 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/1.23, allocations: 61.56 kB / 1.29 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.102e-05/1.231, allocations: 331 kB / 1.29 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/1.231, allocations: 314.8 kB / 1.29 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/1.232, allocations: 0.5972 MB / 1.291 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.233, allocations: 0.7147 MB / 1.291 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.233, allocations: 0.8125 kB / 1.291 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002117/1.235, allocations: 1.013 MB / 1.292 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/1.235, allocations: 163.1 kB / 1.293 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.235, allocations: 9.125 kB / 1.293 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3/2.536, allocations: 193.5 MB / 1.482 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/2.536, allocations: 137.1 kB / 1.482 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/2.538, allocations: 1.287 MB / 1.483 GB, free: 8.113 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/2.539, allocations: 106.4 kB / 1.483 GB, free: 8.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/2.539, allocations: 36.3 kB / 1.483 GB, free: 7.992 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/2.539, allocations: 4 kB / 1.483 GB, free: 7.988 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00201/2.542, allocations: 0.8795 MB / 1.484 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/2.542, allocations: 4 kB / 1.484 GB, free: 7.387 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277/3.818, allocations: 193.5 MB / 1.673 GB, free: 5.707 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/3.819, allocations: 125.4 kB / 1.673 GB, free: 5.594 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/3.821, allocations: 1.288 MB / 1.674 GB, free: 4.344 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/3.822, allocations: 94.45 kB / 1.674 GB, free: 4.262 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/3.822, allocations: 37.17 kB / 1.674 GB, free: 4.234 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.001115/3.823, allocations: 375.8 kB / 1.675 GB, free: 3.945 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/3.824, allocations: 118.2 kB / 1.675 GB, free: 3.832 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/3.827, allocations: 0.951 MB / 1.676 GB, free: 3.145 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/3.827, allocations: 9.672 kB / 1.676 GB, free: 3.141 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/3.827, allocations: 0 / 1.676 GB, free: 3.141 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/3.828, allocations: 0.9941 MB / 1.677 GB, free: 2.285 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/3.833, allocations: 2.101 MB / 1.679 GB, free: 0.6992 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/3.833, allocations: 0 / 1.679 GB, free: 0.6992 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/3.834, allocations: 88.67 kB / 1.679 GB, free: 0.6211 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312/5.146, allocations: 96.83 MB / 1.774 GB, free: 0.5978 GB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/5.146, allocations: 19.02 kB / 1.774 GB, free: 0.5978 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/5.147, allocations: 0.7355 MB / 1.774 GB, free: 0.5973 GB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.147, allocations: 2.281 kB / 1.774 GB, free: 0.5973 GB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/5.151, allocations: 1.516 MB / 1.776 GB, free: 0.5971 GB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/5.152, allocations: 293.9 kB / 1.776 GB, free: 0.597 GB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/5.152, allocations: 16 kB / 1.776 GB, free: 0.597 GB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/5.153, allocations: 51.45 kB / 1.776 GB, free: 0.597 GB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/5.153, allocations: 38.44 kB / 1.776 GB, free: 0.597 GB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/5.153, allocations: 26 kB / 1.776 GB, free: 0.597 GB / 1.42 GB Notification: Performance of sorting global known variables: time 0.00132/5.155, allocations: 0.8137 MB / 1.777 GB, free: 0.5969 GB / 1.42 GB Notification: Performance of sort global known variables: time 2.1e-07/5.155, allocations: 1.312 kB / 1.777 GB, free: 0.5969 GB / 1.42 GB Notification: Performance of remove unused functions: time 0.002561/5.157, allocations: 0.7155 MB / 1.778 GB, free: 0.5969 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.002652/5.16, allocations: 0.9418 MB / 1.779 GB, free: 0.5968 GB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.002625/5.162, allocations: 1.208 MB / 1.78 GB, free: 0.5967 GB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/5.162, allocations: 0 / 1.78 GB, free: 0.5967 GB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/5.163, allocations: 374.9 kB / 1.78 GB, free: 0.5966 GB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/5.166, allocations: 482.8 kB / 1.781 GB, free: 0.5965 GB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/5.17, allocations: 2.393 MB / 1.783 GB, free: 0.5952 GB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/5.171, allocations: 1.107 MB / 1.784 GB, free: 0.5943 GB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.001147/5.172, allocations: 257.9 kB / 1.784 GB, free: 0.5942 GB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/5.172, allocations: 95.94 kB / 1.784 GB, free: 0.5942 GB / 1.42 GB Notification: Performance of SimCode: time 6.61e-07/5.172, allocations: 0 / 1.784 GB, free: 0.5942 GB / 1.42 GB Notification: Performance of Templates: time 0.03955/5.212, allocations: 26.32 MB / 1.81 GB, free: 0.5752 GB / 1.42 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)