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.0008844/0.0008844, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.000952/0.0009523, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.611/1.611, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005281/0.0005282, allocations: 16.47 kB / 0.6735 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5747/0.8034, allocations: 153 MB / 0.9365 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.8188, allocations: 11.18 MB / 0.9475 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.8205, allocations: 26.31 kB / 0.9475 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.8225, allocations: 472.3 kB / 0.9479 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006439/0.8289, allocations: 1.867 MB / 0.9498 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.8326, allocations: 1.175 MB / 0.9509 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.8353, allocations: 1.455 MB / 0.9523 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.8367, allocations: 0.6071 MB / 0.9529 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.8381, allocations: 0.6547 MB / 0.9536 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.8393, allocations: 0.4964 MB / 0.954 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.8395, allocations: 38.12 kB / 0.9541 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.8437, allocations: 1.606 MB / 0.9556 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.8441, allocations: 267.4 kB / 0.9559 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.8446, allocations: 245 kB / 0.9561 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.8476, allocations: 1.861 MB / 0.9579 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8476, allocations: 4 kB / 0.958 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8476, allocations: 9.156 kB / 0.958 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-05/0.8477, allocations: 0 / 0.958 GB, free: 8.586 MB / 0.7169 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.003466/0.8512, allocations: 1.585 MB / 0.9595 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8512, allocations: 8.906 kB / 0.9595 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.8523, allocations: 230.2 kB / 0.9597 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.856, allocations: 1.792 MB / 0.9615 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.8561, allocations: 54.09 kB / 0.9615 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.8563, allocations: 63.19 kB / 0.9616 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.858, allocations: 0.7276 MB / 0.9623 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.8581, allocations: 0 / 0.9623 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.8582, allocations: 24.52 kB / 0.9623 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.8582, allocations: 16.88 kB / 0.9623 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.8597, allocations: 0.7089 MB / 0.963 GB, free: 7.059 MB / 0.7169 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.005562/0.8653, allocations: 3.177 MB / 0.9661 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.8668, allocations: 0.7242 MB / 0.9669 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003519/0.8703, allocations: 3.592 MB / 0.9704 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/0.871, allocations: 365.2 kB / 0.9707 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.916e-06/0.871, allocations: 4 kB / 0.9707 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.004582/0.8756, allocations: 1.467 MB / 0.9721 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.8756, allocations: 83.02 kB / 0.9722 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.878, allocations: 2.068 MB / 0.9742 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.8781, allocations: 41.7 kB / 0.9743 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.8785, allocations: 496.7 kB / 0.9748 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.8786, allocations: 185.5 kB / 0.9749 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.8787, allocations: 13.53 kB / 0.9749 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.8787, allocations: 328.8 kB / 0.9753 GB, free: 496 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.8793, allocations: 294.3 kB / 0.9755 GB, free: 456 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.8799, allocations: 0.5661 MB / 0.9761 GB, free: 244 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.8805, allocations: 341.8 kB / 0.9764 GB, free: 208 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8805, allocations: 3.906 kB / 0.9764 GB, free: 208 kB / 0.7169 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001919/0.8825, allocations: 0.9677 MB / 0.9774 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004127/0.8829, allocations: 0.969 MB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.8829, allocations: 3.25 kB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119/2.002, allocations: 193.5 MB / 1.167 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/2.003, allocations: 128.4 kB / 1.167 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/2.004, allocations: 1.285 MB / 1.169 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/2.005, allocations: 104.4 kB / 1.169 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/2.005, allocations: 36.12 kB / 1.169 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/2.005, allocations: 4 kB / 1.169 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/2.007, allocations: 0.8385 MB / 1.17 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/2.007, allocations: 7.938 kB / 1.17 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483/3.49, allocations: 193.5 MB / 1.359 GB, free: 343.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/3.491, allocations: 132.3 kB / 1.359 GB, free: 343.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/3.492, allocations: 1.288 MB / 1.36 GB, free: 341.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/3.493, allocations: 98.98 kB / 1.36 GB, free: 341.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/3.493, allocations: 34.73 kB / 1.36 GB, free: 341.9 MB / 0.9981 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.0005681/3.493, allocations: 375.9 kB / 1.361 GB, free: 341.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/3.494, allocations: 115.2 kB / 1.361 GB, free: 341.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/3.495, allocations: 0.9269 MB / 1.362 GB, free: 340.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/3.495, allocations: 8.562 kB / 1.362 GB, free: 340.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/3.495, allocations: 0 / 1.362 GB, free: 340.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/3.497, allocations: 0.9654 MB / 1.362 GB, free: 340 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/3.5, allocations: 2.065 MB / 1.364 GB, free: 338.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/3.5, allocations: 4 kB / 1.364 GB, free: 338.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/3.501, allocations: 86.45 kB / 1.365 GB, free: 338.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5399/4.041, allocations: 96.83 MB / 1.459 GB, free: 241.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/4.041, allocations: 23.55 kB / 1.459 GB, free: 241.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/4.042, allocations: 0.7432 MB / 1.46 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/4.042, allocations: 0 / 1.46 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/4.045, allocations: 1.484 MB / 1.461 GB, free: 239.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/4.045, allocations: 316.8 kB / 1.462 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/4.045, allocations: 12 kB / 1.462 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/4.046, allocations: 54.83 kB / 1.462 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/4.046, allocations: 40.28 kB / 1.462 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/4.046, allocations: 27.98 kB / 1.462 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001272/4.047, allocations: 1.548 MB / 1.463 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/4.047, allocations: 0 / 1.463 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001848/4.049, allocations: 0.7204 MB / 1.464 GB, free: 237 MB / 0.9981 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.001754/4.051, allocations: 0.9401 MB / 1.465 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00191/4.053, allocations: 1.146 MB / 1.466 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/4.053, allocations: 0 / 1.466 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/4.054, allocations: 366.5 kB / 1.466 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/4.055, allocations: 462.4 kB / 1.467 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/4.058, allocations: 2.293 MB / 1.469 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/4.059, allocations: 1.12 MB / 1.47 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008562/4.059, allocations: 283.3 kB / 1.47 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/4.06, allocations: 107.4 kB / 1.471 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/4.06, allocations: 0 / 1.471 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03211/4.092, allocations: 26.87 MB / 1.497 GB, free: 204.1 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: