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 2.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001274/0.001274, allocations: 182.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009402/0.00094, allocations: 102.9 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004941, allocations: 12.97 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.9094/1.124, allocations: 165 MB / 1.14 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02342/1.148, allocations: 12.29 MB / 1.152 GB, free: 13.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/1.15, allocations: 24.31 kB / 1.152 GB, free: 13.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/1.152, allocations: 379.3 kB / 1.152 GB, free: 13.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008599/1.16, allocations: 1.737 MB / 1.154 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/1.165, allocations: 0.8403 MB / 1.155 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006118/1.171, allocations: 2.588 MB / 1.157 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/1.173, allocations: 0.6039 MB / 1.158 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/1.176, allocations: 0.7166 MB / 1.158 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/1.177, allocations: 0.6494 MB / 1.159 GB, free: 9.559 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/1.178, allocations: 42.47 kB / 1.159 GB, free: 9.555 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/1.185, allocations: 1.777 MB / 1.161 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007895/1.186, allocations: 271.9 kB / 1.161 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007175/1.186, allocations: 252.8 kB / 1.161 GB, free: 8.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/1.192, allocations: 1.946 MB / 1.163 GB, free: 7.055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.192, allocations: 1.094 kB / 1.163 GB, free: 7.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/1.192, allocations: 0 / 1.163 GB, free: 7.055 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.755e-05/1.192, allocations: 0 / 1.163 GB, free: 7.055 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.005023/1.197, allocations: 1.616 MB / 1.165 GB, free: 5.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.197, allocations: 9.312 kB / 1.165 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/1.198, allocations: 106.3 kB / 1.165 GB, free: 5.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/1.199, allocations: 228.8 kB / 1.165 GB, free: 5.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004556/1.204, allocations: 1.806 MB / 1.167 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/1.204, allocations: 45.78 kB / 1.167 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/1.204, allocations: 62.09 kB / 1.167 GB, free: 4.422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/1.206, allocations: 0.7552 MB / 1.168 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.206, allocations: 0 / 1.168 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/1.206, allocations: 22.91 kB / 1.168 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/1.206, allocations: 14.62 kB / 1.168 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/1.209, allocations: 0.7449 MB / 1.168 GB, free: 3.605 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.006854/1.215, allocations: 3.237 MB / 1.172 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/1.218, allocations: 0.7713 MB / 1.172 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009708/1.219, allocations: 338.6 kB / 1.173 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006605/1.225, allocations: 3.649 MB / 1.176 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.227, allocations: 382.8 kB / 1.177 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.617e-06/1.227, allocations: 0 / 1.177 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.009278/1.236, allocations: 1.519 MB / 1.178 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.236, allocations: 87.33 kB / 1.178 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/1.24, allocations: 2.059 MB / 1.18 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/1.24, allocations: 43.72 kB / 1.18 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/1.241, allocations: 499.8 kB / 1.181 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/1.241, allocations: 182.1 kB / 1.181 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/1.242, allocations: 17.03 kB / 1.181 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.242, allocations: 331.8 kB / 1.181 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/1.243, allocations: 309.7 kB / 1.181 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/1.244, allocations: 0.5926 MB / 1.182 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.245, allocations: 353.7 kB / 1.182 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.245, allocations: 4 kB / 1.182 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003419/1.249, allocations: 1.002 MB / 1.183 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.249, allocations: 164.2 kB / 1.184 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.249, allocations: 6.781 kB / 1.184 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46/3.709, allocations: 193.5 MB / 1.373 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/3.71, allocations: 127.8 kB / 1.373 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/3.713, allocations: 1.296 MB / 1.374 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/3.715, allocations: 103.4 kB / 1.374 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/3.715, allocations: 31.98 kB / 1.374 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/3.715, allocations: 4 kB / 1.374 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003266/3.718, allocations: 0.8738 MB / 1.375 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/3.718, allocations: 0 / 1.375 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059/6.778, allocations: 193.5 MB / 1.564 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/6.779, allocations: 125 kB / 1.564 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/6.781, allocations: 1.296 MB / 1.565 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/6.782, allocations: 95.66 kB / 1.565 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/6.782, allocations: 33.55 kB / 1.565 GB, free: 250.6 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.000763/6.783, allocations: 373.8 kB / 1.566 GB, free: 250.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/6.784, allocations: 112.7 kB / 1.566 GB, free: 250.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/6.787, allocations: 0.9567 MB / 1.567 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/6.787, allocations: 4 kB / 1.567 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/6.787, allocations: 4 kB / 1.567 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002287/6.789, allocations: 0.9922 MB / 1.568 GB, free: 248.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007089/6.796, allocations: 2.145 MB / 1.57 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/6.796, allocations: 0 / 1.57 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/6.797, allocations: 83.89 kB / 1.57 GB, free: 246.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269/8.066, allocations: 96.84 MB / 1.665 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/8.066, allocations: 15.98 kB / 1.665 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/8.067, allocations: 0.7493 MB / 1.665 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.067, allocations: 5.938 kB / 1.665 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006018/8.073, allocations: 1.507 MB / 1.667 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/8.074, allocations: 308.5 kB / 1.667 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/8.075, allocations: 16.06 kB / 1.667 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/8.076, allocations: 49.5 kB / 1.667 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/8.076, allocations: 44.38 kB / 1.667 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/8.076, allocations: 23.98 kB / 1.667 GB, free: 146.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002255/8.078, allocations: 1.532 MB / 1.669 GB, free: 145.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.655e-06/8.078, allocations: 0 / 1.669 GB, free: 145.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002918/8.081, allocations: 0.7267 MB / 1.669 GB, free: 144.4 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.008902/8.09, allocations: 2.876 MB / 1.672 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003963/8.094, allocations: 1.193 MB / 1.673 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/8.094, allocations: 0 / 1.673 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/8.095, allocations: 380.9 kB / 1.674 GB, free: 140.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/8.1, allocations: 480.7 kB / 1.674 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/8.121, allocations: 9.503 MB / 1.683 GB, free: 130 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/8.122, allocations: 1.1 MB / 1.685 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00158/8.123, allocations: 275.6 kB / 1.685 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/8.124, allocations: 431.3 kB / 1.685 GB, free: 128.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/8.124, allocations: 0 / 1.685 GB, free: 128.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/8.261, allocations: 37.37 MB / 1.722 GB, free: 91.33 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/8.261, allocations: 278.7 kB / 1.722 GB, free: 90.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/12.4, allocations: 0 / 1.722 GB, free: 90.98 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)