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.456/1.456, allocations: 288.4 MB / 303.6 MB, free: 8.035 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.0009517/0.0009517, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.281/1.281, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0008079/0.0008081, allocations: 90.3 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003706, allocations: 12.34 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5668/0.7456, allocations: 165 MB / 1.141 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.761, allocations: 12.25 MB / 1.153 GB, free: 12.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.7624, allocations: 31.53 kB / 1.153 GB, free: 12.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.7637, allocations: 386 kB / 1.154 GB, free: 12.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.769, allocations: 1.88 MB / 1.156 GB, free: 11.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.7716, allocations: 0.8409 MB / 1.156 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003673/0.7753, allocations: 2.631 MB / 1.159 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.7764, allocations: 0.6489 MB / 1.16 GB, free: 8.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.7779, allocations: 0.7319 MB / 1.16 GB, free: 8.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009685/0.7789, allocations: 0.6458 MB / 1.161 GB, free: 8.215 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.779, allocations: 38.25 kB / 1.161 GB, free: 8.215 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/0.7837, allocations: 2.157 MB / 1.163 GB, free: 7.066 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.784, allocations: 279.8 kB / 1.163 GB, free: 6.883 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000719/0.7848, allocations: 0.5592 MB / 1.164 GB, free: 6.504 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.7878, allocations: 2.015 MB / 1.166 GB, free: 5.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7879, allocations: 0 / 1.166 GB, free: 5.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7879, allocations: 1.094 kB / 1.166 GB, free: 5.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.7879, allocations: 0 / 1.166 GB, free: 5.223 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.003106/0.791, allocations: 1.595 MB / 1.167 GB, free: 3.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7911, allocations: 9.5 kB / 1.167 GB, free: 3.957 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.7912, allocations: 102.3 kB / 1.168 GB, free: 3.867 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008483/0.792, allocations: 235.5 kB / 1.168 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.7944, allocations: 1.852 MB / 1.17 GB, free: 2.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.7944, allocations: 45.28 kB / 1.17 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.7945, allocations: 65.05 kB / 1.17 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.7958, allocations: 0.7536 MB / 1.17 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.7958, allocations: 3.938 kB / 1.17 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.7959, allocations: 19.38 kB / 1.17 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.7959, allocations: 14.81 kB / 1.17 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.7972, allocations: 0.7434 MB / 1.171 GB, free: 1.723 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.003985/0.8012, allocations: 3.245 MB / 1.174 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.8026, allocations: 0.7608 MB / 1.175 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.8032, allocations: 343 kB / 1.175 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003961/0.8072, allocations: 3.657 MB / 1.179 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.8079, allocations: 385.1 kB / 1.179 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.017e-06/0.8079, allocations: 4 kB / 1.179 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004973/0.8129, allocations: 1.508 MB / 1.181 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.813, allocations: 86.58 kB / 1.181 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.8153, allocations: 2.066 MB / 1.183 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.8154, allocations: 38.64 kB / 1.183 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.8158, allocations: 0.4928 MB / 1.183 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.816, allocations: 181 kB / 1.184 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.816, allocations: 14.09 kB / 1.184 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8162, allocations: 335.8 kB / 1.184 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.8168, allocations: 313.5 kB / 1.184 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.8176, allocations: 0.5818 MB / 1.185 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.8188, allocations: 0.7126 MB / 1.185 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8188, allocations: 0 / 1.185 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0019/0.8207, allocations: 1.001 MB / 1.186 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.8208, allocations: 165.5 kB / 1.187 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.8208, allocations: 2.938 kB / 1.187 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16/1.98, allocations: 193.5 MB / 1.376 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/1.981, allocations: 131.8 kB / 1.376 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/1.983, allocations: 1.292 MB / 1.377 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.984, allocations: 109.2 kB / 1.377 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/1.984, allocations: 47.8 kB / 1.377 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.984, allocations: 4 kB / 1.377 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001935/1.986, allocations: 0.866 MB / 1.378 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.986, allocations: 4 kB / 1.378 GB, free: 4.562 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441/3.427, allocations: 193.5 MB / 1.567 GB, free: 248.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/3.427, allocations: 127.3 kB / 1.567 GB, free: 248.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/3.429, allocations: 1.293 MB / 1.568 GB, free: 247.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/3.43, allocations: 92.81 kB / 1.568 GB, free: 247.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/3.43, allocations: 29.06 kB / 1.568 GB, free: 247 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.0006655/3.431, allocations: 377.7 kB / 1.569 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/3.431, allocations: 117.3 kB / 1.569 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/3.433, allocations: 0.9585 MB / 1.57 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/3.433, allocations: 8 kB / 1.57 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/3.433, allocations: 0 / 1.57 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/3.434, allocations: 0.9914 MB / 1.571 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/3.439, allocations: 2.138 MB / 1.573 GB, free: 242.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/3.439, allocations: 0 / 1.573 GB, free: 242.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/3.439, allocations: 83.89 kB / 1.573 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5705/4.01, allocations: 96.84 MB / 1.668 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/4.01, allocations: 16.75 kB / 1.668 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008865/4.011, allocations: 0.7386 MB / 1.668 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.011, allocations: 0 / 1.668 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/4.014, allocations: 1.51 MB / 1.67 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/4.015, allocations: 316.7 kB / 1.67 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/4.015, allocations: 18.25 kB / 1.67 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/4.016, allocations: 47.47 kB / 1.67 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/4.016, allocations: 44.33 kB / 1.67 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/4.016, allocations: 27.97 kB / 1.67 GB, free: 143.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001419/4.017, allocations: 1.534 MB / 1.672 GB, free: 141.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/4.017, allocations: 0 / 1.672 GB, free: 141.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002121/4.019, allocations: 0.7174 MB / 1.672 GB, free: 140.9 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.005337/4.025, allocations: 2.892 MB / 1.675 GB, free: 138.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002256/4.027, allocations: 1.193 MB / 1.676 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/4.027, allocations: 4.25 kB / 1.676 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005942/4.028, allocations: 368.5 kB / 1.677 GB, free: 136.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/4.03, allocations: 493.1 kB / 1.677 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/4.043, allocations: 9.496 MB / 1.687 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/4.044, allocations: 1.094 MB / 1.688 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000975/4.045, allocations: 279.5 kB / 1.688 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/4.045, allocations: 431.3 kB / 1.688 GB, free: 124.6 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/4.045, allocations: 0 / 1.688 GB, free: 124.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/5.07, allocations: 37.7 MB / 1.725 GB, free: 87.39 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/5.071, allocations: 286.9 kB / 1.725 GB, free: 87.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/8.597, allocations: 64 / 1.725 GB, free: 87.03 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)