Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, 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.007667/0.007667, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5365, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1679/0.7045, allocations: 176.6 MB / 1.196 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.7209, allocations: 13.33 MB / 1.209 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.7221, allocations: 27.81 kB / 1.209 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.7234, allocations: 437.6 kB / 1.209 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.7286, allocations: 2.019 MB / 1.211 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.731, allocations: 0.9872 MB / 1.212 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003485/0.7345, allocations: 3 MB / 1.215 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.7356, allocations: 0.6756 MB / 1.216 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.7369, allocations: 0.731 MB / 1.216 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009039/0.7378, allocations: 0.6765 MB / 1.217 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.7379, allocations: 36 kB / 1.217 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.7423, allocations: 2.274 MB / 1.219 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.7425, allocations: 290.8 kB / 1.219 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.7431, allocations: 0.5881 MB / 1.22 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.7463, allocations: 2.707 MB / 1.223 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7463, allocations: 0 / 1.223 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7463, allocations: 0 / 1.223 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.7463, allocations: 0 / 1.223 GB, free: 2.75 MB / 0.9669 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.002492/0.7488, allocations: 1.604 MB / 1.224 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7489, allocations: 12.03 kB / 1.224 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.749, allocations: 102.5 kB / 1.224 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.7498, allocations: 234.2 kB / 1.225 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.752, allocations: 1.858 MB / 1.226 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.7521, allocations: 45.31 kB / 1.226 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.7522, allocations: 64 kB / 1.227 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.7535, allocations: 0.7636 MB / 1.227 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.7535, allocations: 3.938 kB / 1.227 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.7536, allocations: 31.98 kB / 1.227 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.7536, allocations: 16 kB / 1.227 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.755, allocations: 0.7546 MB / 1.228 GB, free: 13.12 MB / 0.9825 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.003929/0.7589, allocations: 3.273 MB / 1.231 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7603, allocations: 0.7658 MB / 1.232 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.761, allocations: 334 kB / 1.232 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003722/0.7647, allocations: 3.655 MB / 1.236 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000696/0.7654, allocations: 389.3 kB / 1.236 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/0.7654, allocations: 0 / 1.236 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52): time 0.005065/0.7705, allocations: 1.518 MB / 1.238 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.7705, allocations: 81.55 kB / 1.238 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.7729, allocations: 2.075 MB / 1.24 GB, free: 268 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.773, allocations: 45.62 kB / 1.24 GB, free: 216 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.7734, allocations: 0.5047 MB / 1.24 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.7736, allocations: 177.4 kB / 1.241 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.7737, allocations: 61.69 kB / 1.241 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7738, allocations: 333.9 kB / 1.241 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.7744, allocations: 321.1 kB / 1.241 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/0.7752, allocations: 0.5912 MB / 1.242 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.7763, allocations: 0.7151 MB / 1.243 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7764, allocations: 0 / 1.243 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001871/0.7782, allocations: 1.015 MB / 1.243 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.903e-05/0.7783, allocations: 165.3 kB / 1.244 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7783, allocations: 11.94 kB / 1.244 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594/2.372, allocations: 193.5 MB / 1.433 GB, free: 68.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/2.372, allocations: 129.1 kB / 1.433 GB, free: 68.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/2.374, allocations: 1.282 MB / 1.434 GB, free: 66.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/2.375, allocations: 103.9 kB / 1.434 GB, free: 66.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/2.375, allocations: 29.11 kB / 1.434 GB, free: 66.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/2.375, allocations: 4 kB / 1.434 GB, free: 66.76 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/2.376, allocations: 0.8784 MB / 1.435 GB, free: 66.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/2.376, allocations: 0.875 kB / 1.435 GB, free: 66.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215/3.591, allocations: 193.5 MB / 1.624 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/3.592, allocations: 131.4 kB / 1.624 GB, free: 376 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/3.593, allocations: 1.283 MB / 1.625 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/3.594, allocations: 91.98 kB / 1.625 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/3.594, allocations: 35.73 kB / 1.625 GB, free: 15.04 MB / 1.139 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.0005486/3.595, allocations: 387.2 kB / 1.626 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/3.595, allocations: 111.7 kB / 1.626 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/3.597, allocations: 0.953 MB / 1.627 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/3.597, allocations: 11.98 kB / 1.627 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/3.597, allocations: 0 / 1.627 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/3.599, allocations: 0.9905 MB / 1.628 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/3.603, allocations: 2.15 MB / 1.63 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/3.603, allocations: 4.094 kB / 1.63 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/3.603, allocations: 83.89 kB / 1.63 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9854/4.589, allocations: 96.83 MB / 1.725 GB, free: 453.1 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/4.589, allocations: 17.08 kB / 1.725 GB, free: 453.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009509/4.59, allocations: 0.7426 MB / 1.725 GB, free: 452.6 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/4.59, allocations: 3.625 kB / 1.725 GB, free: 452.6 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/4.593, allocations: 1.518 MB / 1.727 GB, free: 452.4 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/4.594, allocations: 308.4 kB / 1.727 GB, free: 452.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/4.594, allocations: 13.73 kB / 1.727 GB, free: 452.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/4.595, allocations: 57.64 kB / 1.727 GB, free: 452.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/4.595, allocations: 41.64 kB / 1.727 GB, free: 452.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/4.595, allocations: 25.73 kB / 1.727 GB, free: 452.3 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001586/4.596, allocations: 1.548 MB / 1.729 GB, free: 451.7 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/4.596, allocations: 0 / 1.729 GB, free: 451.7 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001682/4.598, allocations: 0.7219 MB / 1.729 GB, free: 451.6 MB / 1.217 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.005399/4.603, allocations: 2.906 MB / 1.732 GB, free: 450.4 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002285/4.606, allocations: 1.199 MB / 1.734 GB, free: 450 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/4.606, allocations: 1.438 kB / 1.734 GB, free: 450 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/4.606, allocations: 385.2 kB / 1.734 GB, free: 449.9 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/4.609, allocations: 482.6 kB / 1.734 GB, free: 449.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/4.623, allocations: 12.25 MB / 1.746 GB, free: 443.3 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/4.623, allocations: 1.096 MB / 1.747 GB, free: 442.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000835/4.624, allocations: 284.6 kB / 1.748 GB, free: 442.1 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/4.624, allocations: 443.2 kB / 1.748 GB, free: 441.6 MB / 1.217 GB Notification: Performance of SimCode: time 6.61e-07/4.624, allocations: 0 / 1.748 GB, free: 441.6 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3386/4.963, allocations: 36.59 MB / 1.784 GB, free: 405.6 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/4.963, allocations: 303.7 kB / 1.784 GB, free: 405.2 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/7.841, allocations: 0 / 1.784 GB, free: 405.2 MB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)