Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 177 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0009, allocations: 93.62 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003987, allocations: 20.8 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6335/0.842, allocations: 153 MB / 1.129 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.8548, allocations: 11.18 MB / 1.14 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.8563, allocations: 24.41 kB / 1.14 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.8577, allocations: 475.9 kB / 1.14 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005661/0.8634, allocations: 1.872 MB / 1.142 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.8668, allocations: 1.183 MB / 1.143 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.8695, allocations: 1.454 MB / 1.145 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000999/0.8705, allocations: 0.6026 MB / 1.145 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.8718, allocations: 0.6523 MB / 1.146 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.8726, allocations: 0.4983 MB / 1.146 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.8728, allocations: 37.53 kB / 1.146 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.8765, allocations: 1.609 MB / 1.148 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.8767, allocations: 262.2 kB / 1.148 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.8771, allocations: 249.6 kB / 1.149 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.8797, allocations: 1.863 MB / 1.15 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.8797, allocations: 0 / 1.15 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8797, allocations: 0 / 1.15 GB, free: 15.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.8797, allocations: 0 / 1.15 GB, free: 15.09 MB / 0.698 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.002814/0.8826, allocations: 1.585 MB / 1.152 GB, free: 13.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.8826, allocations: 9.281 kB / 1.152 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.8827, allocations: 103.1 kB / 1.152 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/0.8836, allocations: 240.4 kB / 1.152 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.8862, allocations: 1.791 MB / 1.154 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.8862, allocations: 42.88 kB / 1.154 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.8864, allocations: 65.33 kB / 1.154 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.8877, allocations: 0.7258 MB / 1.155 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.8877, allocations: 7.844 kB / 1.155 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.8878, allocations: 22.34 kB / 1.155 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.8878, allocations: 22.52 kB / 1.155 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.8892, allocations: 0.7083 MB / 1.156 GB, free: 11.68 MB / 0.698 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.00441/0.8936, allocations: 3.177 MB / 1.159 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.8951, allocations: 0.7143 MB / 1.159 GB, free: 8.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003719/0.8988, allocations: 3.598 MB / 1.163 GB, free: 5.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000652/0.8995, allocations: 373.9 kB / 1.163 GB, free: 4.906 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.624e-06/0.8995, allocations: 0 / 1.163 GB, free: 4.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.00503/0.9045, allocations: 1.455 MB / 1.165 GB, free: 4.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.9046, allocations: 82.89 kB / 1.165 GB, free: 4.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.9072, allocations: 2.076 MB / 1.167 GB, free: 3.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/0.9073, allocations: 39.33 kB / 1.167 GB, free: 3.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.9077, allocations: 0.4931 MB / 1.167 GB, free: 2.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.9079, allocations: 178.3 kB / 1.167 GB, free: 2.488 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.9079, allocations: 19.06 kB / 1.167 GB, free: 2.473 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.908, allocations: 328.9 kB / 1.168 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.9086, allocations: 292.2 kB / 1.168 GB, free: 2.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.9094, allocations: 0.5714 MB / 1.169 GB, free: 1.676 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.91, allocations: 339.6 kB / 1.169 GB, free: 1.512 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9101, allocations: 2.625 kB / 1.169 GB, free: 1.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00195/0.912, allocations: 0.9618 MB / 1.17 GB, free: 1.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.9124, allocations: 0.9697 MB / 1.171 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9124, allocations: 6.891 kB / 1.171 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134/2.046, allocations: 193.5 MB / 1.36 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/2.047, allocations: 127.8 kB / 1.36 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/2.048, allocations: 1.284 MB / 1.361 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/2.05, allocations: 109.3 kB / 1.361 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/2.05, allocations: 31.98 kB / 1.361 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/2.05, allocations: 4 kB / 1.361 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002/2.052, allocations: 0.8464 MB / 1.362 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/2.052, allocations: 4 kB / 1.362 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621/3.673, allocations: 193.5 MB / 1.551 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/3.674, allocations: 134.8 kB / 1.551 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/3.675, allocations: 1.285 MB / 1.552 GB, free: 260.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/3.676, allocations: 103.7 kB / 1.553 GB, free: 260.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/3.677, allocations: 37.58 kB / 1.553 GB, free: 260.3 MB / 0.948 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.0009288/3.677, allocations: 374.5 kB / 1.553 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/3.678, allocations: 115 kB / 1.553 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/3.68, allocations: 0.9218 MB / 1.554 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/3.68, allocations: 11.98 kB / 1.554 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/3.68, allocations: 0 / 1.554 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/3.681, allocations: 0.9601 MB / 1.555 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/3.685, allocations: 2.067 MB / 1.557 GB, free: 256.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/3.685, allocations: 4 kB / 1.557 GB, free: 256.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/3.685, allocations: 87.83 kB / 1.557 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5346/4.22, allocations: 96.84 MB / 1.652 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/4.22, allocations: 16 kB / 1.652 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00098/4.221, allocations: 0.7472 MB / 1.652 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/4.221, allocations: 7.891 kB / 1.652 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/4.225, allocations: 1.482 MB / 1.654 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/4.225, allocations: 312.3 kB / 1.654 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/4.226, allocations: 12 kB / 1.654 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/4.227, allocations: 60.03 kB / 1.654 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/4.227, allocations: 36.34 kB / 1.654 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/4.227, allocations: 27.98 kB / 1.654 GB, free: 156.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001574/4.228, allocations: 1.544 MB / 1.656 GB, free: 154.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/4.228, allocations: 4 kB / 1.656 GB, free: 154.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002491/4.231, allocations: 0.7135 MB / 1.656 GB, free: 154.3 MB / 0.948 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.005698/4.237, allocations: 3.076 MB / 1.659 GB, free: 151.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002462/4.239, allocations: 1.144 MB / 1.661 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/4.239, allocations: 0 / 1.661 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/4.24, allocations: 348.4 kB / 1.661 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/4.242, allocations: 484.1 kB / 1.661 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/4.247, allocations: 4.499 MB / 1.666 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/4.248, allocations: 1.116 MB / 1.667 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001158/4.249, allocations: 276.4 kB / 1.667 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/4.25, allocations: 443.3 kB / 1.668 GB, free: 143.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/4.25, allocations: 0 / 1.668 GB, free: 143.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/4.314, allocations: 37.05 MB / 1.704 GB, free: 106.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/4.314, allocations: 281.1 kB / 1.704 GB, free: 106.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/7.528, allocations: 0 / 1.704 GB, free: 106.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)