Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.499/1.499, allocations: 287.4 MB / 302.6 MB, free: 8.168 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.001173/0.001173, allocations: 174.3 kB / 371.1 MB, free: 10.74 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.231/1.231, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007779/0.0007778, allocations: 96.73 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 11.78 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5101/0.6721, allocations: 165 MB / 1.14 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.6863, allocations: 12.3 MB / 1.152 GB, free: 13.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.6878, allocations: 28.22 kB / 1.152 GB, free: 13.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.6891, allocations: 382.4 kB / 1.152 GB, free: 12.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005249/0.6944, allocations: 1.732 MB / 1.154 GB, free: 11.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.6968, allocations: 0.8347 MB / 1.155 GB, free: 11.53 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003064/0.6999, allocations: 2.618 MB / 1.157 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.7008, allocations: 0.6493 MB / 1.158 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.7019, allocations: 0.717 MB / 1.159 GB, free: 9.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/0.7027, allocations: 0.6526 MB / 1.159 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.7028, allocations: 39.16 kB / 1.159 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.7065, allocations: 1.772 MB / 1.161 GB, free: 8.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.7069, allocations: 279.7 kB / 1.161 GB, free: 8.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.7071, allocations: 253 kB / 1.162 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.7096, allocations: 1.943 MB / 1.163 GB, free: 6.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7097, allocations: 1.219 kB / 1.163 GB, free: 6.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.582e-06/0.7097, allocations: 0 / 1.163 GB, free: 6.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7097, allocations: 0 / 1.163 GB, free: 6.848 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.002462/0.7122, allocations: 1.606 MB / 1.165 GB, free: 5.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.7122, allocations: 10.19 kB / 1.165 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.7123, allocations: 101.1 kB / 1.165 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.7131, allocations: 235.7 kB / 1.165 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.7155, allocations: 1.844 MB / 1.167 GB, free: 4.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.7155, allocations: 51.05 kB / 1.167 GB, free: 4.184 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.7156, allocations: 59.94 kB / 1.167 GB, free: 4.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.7168, allocations: 0.7517 MB / 1.168 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7168, allocations: 0 / 1.168 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.7169, allocations: 25.69 kB / 1.168 GB, free: 3.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.7169, allocations: 15.06 kB / 1.168 GB, free: 3.688 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.7181, allocations: 0.7433 MB / 1.169 GB, free: 3.348 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.003702/0.7218, allocations: 3.25 MB / 1.172 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.7232, allocations: 0.76 MB / 1.173 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.7237, allocations: 338.5 kB / 1.173 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003637/0.7273, allocations: 3.663 MB / 1.177 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/0.728, allocations: 384.7 kB / 1.177 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.374e-06/0.728, allocations: 0 / 1.177 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004503/0.7325, allocations: 1.513 MB / 1.178 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.7326, allocations: 85.42 kB / 1.179 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.7348, allocations: 2.067 MB / 1.181 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.7349, allocations: 39.45 kB / 1.181 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.7353, allocations: 0.4953 MB / 1.181 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.7354, allocations: 178.2 kB / 1.181 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.7354, allocations: 14.78 kB / 1.181 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7356, allocations: 332.1 kB / 1.182 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.7361, allocations: 315.8 kB / 1.182 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.7368, allocations: 0.5873 MB / 1.182 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.738, allocations: 0.7062 MB / 1.183 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.738, allocations: 4 kB / 1.183 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001802/0.7398, allocations: 0.9969 MB / 1.184 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.7399, allocations: 172 kB / 1.184 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.7399, allocations: 3.312 kB / 1.184 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049/1.789, allocations: 193.5 MB / 1.373 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/1.79, allocations: 139.7 kB / 1.373 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/1.791, allocations: 1.28 MB / 1.375 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.792, allocations: 103.4 kB / 1.375 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/1.792, allocations: 39.86 kB / 1.375 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.792, allocations: 4 kB / 1.375 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001649/1.794, allocations: 0.8777 MB / 1.376 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.794, allocations: 4 kB / 1.376 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335/3.129, allocations: 193.5 MB / 1.565 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/3.13, allocations: 128.7 kB / 1.565 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/3.131, allocations: 1.293 MB / 1.566 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/3.132, allocations: 94.64 kB / 1.566 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/3.132, allocations: 33.3 kB / 1.566 GB, free: 249.8 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.0005586/3.132, allocations: 373.2 kB / 1.566 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/3.132, allocations: 114.2 kB / 1.567 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/3.134, allocations: 0.9615 MB / 1.568 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/3.134, allocations: 4 kB / 1.568 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/3.134, allocations: 0 / 1.568 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/3.135, allocations: 0.9886 MB / 1.569 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/3.139, allocations: 2.144 MB / 1.571 GB, free: 245.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/3.139, allocations: 0 / 1.571 GB, free: 245.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/3.139, allocations: 83.89 kB / 1.571 GB, free: 245.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4854/3.624, allocations: 96.84 MB / 1.665 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/3.625, allocations: 19.98 kB / 1.665 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007968/3.625, allocations: 0.7395 MB / 1.666 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/3.625, allocations: 0 / 1.666 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/3.628, allocations: 1.517 MB / 1.667 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/3.629, allocations: 311.1 kB / 1.668 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/3.629, allocations: 12 kB / 1.668 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/3.63, allocations: 49.55 kB / 1.668 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/3.63, allocations: 48.38 kB / 1.668 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/3.63, allocations: 26.55 kB / 1.668 GB, free: 145.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001347/3.631, allocations: 1.534 MB / 1.669 GB, free: 144.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.631, allocations: 0 / 1.669 GB, free: 144.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001778/3.633, allocations: 0.7209 MB / 1.67 GB, free: 143.7 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.004831/3.638, allocations: 2.87 MB / 1.673 GB, free: 141.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002167/3.64, allocations: 1.198 MB / 1.674 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/3.64, allocations: 0 / 1.674 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/3.641, allocations: 376 kB / 1.674 GB, free: 139.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/3.643, allocations: 476.8 kB / 1.675 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/3.654, allocations: 9.507 MB / 1.684 GB, free: 129.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/3.654, allocations: 1.089 MB / 1.685 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008111/3.655, allocations: 279.9 kB / 1.686 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/3.655, allocations: 431.3 kB / 1.686 GB, free: 127.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/3.655, allocations: 0 / 1.686 GB, free: 127.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6719/4.327, allocations: 37.38 MB / 1.722 GB, free: 90.62 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/4.327, allocations: 286.9 kB / 1.723 GB, free: 90.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/7.532, allocations: 0 / 1.723 GB, free: 90.26 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)