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.632/1.632, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.0009605/0.0009608, allocations: 192.4 kB / 372 MB, free: 10.23 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.377/1.377, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0007854/0.0007855, allocations: 82.42 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004079, allocations: 15.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6666/0.8594, allocations: 165 MB / 1.141 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.8766, allocations: 12.25 MB / 1.153 GB, free: 13.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.8783, allocations: 27.31 kB / 1.153 GB, free: 13.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.8799, allocations: 378.9 kB / 1.153 GB, free: 12.85 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.886, allocations: 1.737 MB / 1.155 GB, free: 11.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.8892, allocations: 0.8329 MB / 1.156 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.8931, allocations: 2.591 MB / 1.158 GB, free: 9.727 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.8943, allocations: 0.5997 MB / 1.159 GB, free: 9.363 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.8958, allocations: 0.7202 MB / 1.159 GB, free: 8.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.897, allocations: 0.6452 MB / 1.16 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.8971, allocations: 38.91 kB / 1.16 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.9012, allocations: 1.779 MB / 1.162 GB, free: 7.684 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.9015, allocations: 276.6 kB / 1.162 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.9019, allocations: 244.5 kB / 1.162 GB, free: 7.355 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.9054, allocations: 1.956 MB / 1.164 GB, free: 6.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.9055, allocations: 1.531 kB / 1.164 GB, free: 6.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9055, allocations: 0 / 1.164 GB, free: 6.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.9055, allocations: 0 / 1.164 GB, free: 6.098 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.00315/0.9086, allocations: 1.608 MB / 1.166 GB, free: 4.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.9087, allocations: 9.906 kB / 1.166 GB, free: 4.832 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.9088, allocations: 102.3 kB / 1.166 GB, free: 4.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/0.9097, allocations: 235.6 kB / 1.166 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.9122, allocations: 1.814 MB / 1.168 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.9123, allocations: 49.19 kB / 1.168 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.9124, allocations: 67.59 kB / 1.168 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.9137, allocations: 0.7477 MB / 1.169 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.9138, allocations: 3.938 kB / 1.169 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.9138, allocations: 25.5 kB / 1.169 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.9139, allocations: 13.34 kB / 1.169 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.9152, allocations: 0.7456 MB / 1.17 GB, free: 2.641 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.004193/0.9195, allocations: 3.247 MB / 1.173 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9209, allocations: 0.7659 MB / 1.173 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.9215, allocations: 334.2 kB / 1.174 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00419/0.9257, allocations: 3.651 MB / 1.177 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007105/0.9264, allocations: 388 kB / 1.178 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.765e-06/0.9264, allocations: 0 / 1.178 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.005293/0.9317, allocations: 1.508 MB / 1.179 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.9318, allocations: 87.48 kB / 1.179 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.9343, allocations: 2.061 MB / 1.181 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.9344, allocations: 39.45 kB / 1.181 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.9349, allocations: 0.4995 MB / 1.182 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.9351, allocations: 182.1 kB / 1.182 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.9351, allocations: 10.44 kB / 1.182 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.9352, allocations: 334.1 kB / 1.182 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.9358, allocations: 310.5 kB / 1.183 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/0.9366, allocations: 0.5892 MB / 1.183 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.9373, allocations: 357.7 kB / 1.184 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9373, allocations: 4 kB / 1.184 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002036/0.9393, allocations: 0.9976 MB / 1.185 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.9395, allocations: 164.4 kB / 1.185 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9395, allocations: 2.938 kB / 1.185 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149/2.089, allocations: 193.5 MB / 1.374 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/2.089, allocations: 131.8 kB / 1.374 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/2.091, allocations: 1.284 MB / 1.375 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/2.092, allocations: 101.3 kB / 1.375 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/2.092, allocations: 35.98 kB / 1.375 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/2.092, allocations: 4 kB / 1.375 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002153/2.095, allocations: 0.8738 MB / 1.376 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/2.095, allocations: 4 kB / 1.376 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552/3.647, allocations: 193.5 MB / 1.565 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/3.648, allocations: 126.6 kB / 1.565 GB, free: 250.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/3.649, allocations: 1.293 MB / 1.566 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/3.65, allocations: 99.8 kB / 1.567 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/3.65, allocations: 29.11 kB / 1.567 GB, free: 248.7 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.0005771/3.651, allocations: 376.3 kB / 1.567 GB, free: 248.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/3.651, allocations: 109.3 kB / 1.567 GB, free: 248.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/3.653, allocations: 0.9634 MB / 1.568 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/3.653, allocations: 11.98 kB / 1.568 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/3.653, allocations: 3.562 kB / 1.568 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/3.654, allocations: 0.9847 MB / 1.569 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/3.658, allocations: 2.138 MB / 1.571 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/3.658, allocations: 4 kB / 1.571 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/3.659, allocations: 80.45 kB / 1.571 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5628/4.221, allocations: 96.84 MB / 1.666 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/4.222, allocations: 15.98 kB / 1.666 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008695/4.223, allocations: 0.7509 MB / 1.666 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.223, allocations: 3.953 kB / 1.666 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/4.226, allocations: 1.5 MB / 1.668 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/4.227, allocations: 326.2 kB / 1.668 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/4.227, allocations: 12 kB / 1.668 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/4.228, allocations: 57.08 kB / 1.668 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/4.228, allocations: 32.39 kB / 1.668 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/4.228, allocations: 27.98 kB / 1.668 GB, free: 144.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001409/4.229, allocations: 1.535 MB / 1.67 GB, free: 143.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.229, allocations: 0 / 1.67 GB, free: 143.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00205/4.231, allocations: 0.7159 MB / 1.671 GB, free: 142.6 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.005413/4.237, allocations: 2.874 MB / 1.673 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002312/4.239, allocations: 1.189 MB / 1.674 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/4.239, allocations: 4.25 kB / 1.674 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006363/4.24, allocations: 376.3 kB / 1.675 GB, free: 138.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/4.242, allocations: 483.8 kB / 1.675 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/4.256, allocations: 9.509 MB / 1.685 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/4.256, allocations: 1.092 MB / 1.686 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001096/4.257, allocations: 276.4 kB / 1.686 GB, free: 126.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/4.258, allocations: 435.3 kB / 1.686 GB, free: 126.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/4.258, allocations: 0 / 1.686 GB, free: 126.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0577/4.316, allocations: 37.37 MB / 1.723 GB, free: 89.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/4.316, allocations: 286.2 kB / 1.723 GB, free: 89.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/7.517, allocations: 0 / 1.723 GB, free: 89.05 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)