Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_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.001052/0.001052, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001399/0.001399, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 409.4 MB / 0.684 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003486, allocations: 11.94 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.575, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1702/0.7453, allocations: 165.1 MB / 1.142 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.7612, allocations: 12.42 MB / 1.154 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.7628, allocations: 27.81 kB / 1.155 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.7642, allocations: 381.7 kB / 1.155 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.7692, allocations: 1.74 MB / 1.157 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.7718, allocations: 0.8477 MB / 1.157 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.7752, allocations: 2.609 MB / 1.16 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.7763, allocations: 0.6061 MB / 1.161 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.7778, allocations: 0.7272 MB / 1.161 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.7792, allocations: 0.6456 MB / 1.162 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.7794, allocations: 40 kB / 1.162 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.7834, allocations: 1.782 MB / 1.164 GB, free: 10.87 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004463/0.7839, allocations: 282.9 kB / 1.164 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.7843, allocations: 249 kB / 1.164 GB, free: 10.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.7874, allocations: 1.968 MB / 1.166 GB, free: 8.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.7874, allocations: 0 / 1.166 GB, free: 8.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7874, allocations: 0 / 1.166 GB, free: 8.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.53e-05/0.7874, allocations: 3.938 kB / 1.166 GB, free: 8.367 MB / 0.92 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.003098/0.7905, allocations: 1.612 MB / 1.168 GB, free: 6.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7906, allocations: 12.03 kB / 1.168 GB, free: 6.684 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.7908, allocations: 98.52 kB / 1.168 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.7917, allocations: 238.2 kB / 1.168 GB, free: 6.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.7943, allocations: 1.806 MB / 1.17 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.7944, allocations: 53.25 kB / 1.17 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7945, allocations: 64 kB / 1.17 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.7959, allocations: 0.7636 MB / 1.171 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.7959, allocations: 0 / 1.171 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.796, allocations: 24 kB / 1.171 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.796, allocations: 23.92 kB / 1.171 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.7974, allocations: 0.7507 MB / 1.171 GB, free: 2.781 MB / 0.92 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.004292/0.8017, allocations: 3.277 MB / 1.175 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.8031, allocations: 0.7619 MB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.8037, allocations: 334 kB / 1.176 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003771/0.8075, allocations: 3.663 MB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007032/0.8082, allocations: 389.2 kB / 1.18 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=52): time 2.225e-06/0.8082, allocations: 0 / 1.18 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=52): time 0.004711/0.813, allocations: 1.511 MB / 1.181 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.813, allocations: 81.55 kB / 1.181 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.8155, allocations: 2.063 MB / 1.183 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.8156, allocations: 41.69 kB / 1.183 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.816, allocations: 0.5047 MB / 1.184 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.8162, allocations: 181.4 kB / 1.184 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.8162, allocations: 16 kB / 1.184 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8164, allocations: 333.9 kB / 1.184 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.817, allocations: 309.2 kB / 1.185 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.8178, allocations: 0.5874 MB / 1.185 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.8184, allocations: 354 kB / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8184, allocations: 0 / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001925/0.8204, allocations: 1.003 MB / 1.186 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8205, allocations: 172.5 kB / 1.187 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.8205, allocations: 0 / 1.187 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497/2.317, allocations: 193.5 MB / 1.376 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/2.318, allocations: 138.3 kB / 1.376 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/2.319, allocations: 1.283 MB / 1.377 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008793/2.32, allocations: 96.23 kB / 1.377 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/2.32, allocations: 33.67 kB / 1.377 GB, free: 153 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/2.32, allocations: 8.562 kB / 1.377 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001629/2.322, allocations: 0.8803 MB / 1.378 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/2.322, allocations: 0 / 1.378 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031/3.353, allocations: 193.5 MB / 1.567 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/3.353, allocations: 127.8 kB / 1.567 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/3.354, allocations: 1.29 MB / 1.568 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/3.355, allocations: 90.98 kB / 1.568 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/3.355, allocations: 31.86 kB / 1.568 GB, free: 5.32 MB / 1.045 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.0005642/3.356, allocations: 389.1 kB / 1.569 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/3.356, allocations: 116.9 kB / 1.569 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/3.358, allocations: 0.957 MB / 1.57 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/3.358, allocations: 12 kB / 1.57 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/3.358, allocations: 0.875 kB / 1.57 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/3.36, allocations: 0.9812 MB / 1.571 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/3.364, allocations: 2.152 MB / 1.573 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/3.364, allocations: 4 kB / 1.573 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/3.364, allocations: 80 kB / 1.573 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5416/3.906, allocations: 96.84 MB / 1.668 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/3.906, allocations: 19.23 kB / 1.668 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/3.907, allocations: 0.7414 MB / 1.668 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/3.907, allocations: 3.984 kB / 1.668 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/3.911, allocations: 1.508 MB / 1.67 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/3.912, allocations: 313 kB / 1.67 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/3.912, allocations: 15.95 kB / 1.67 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/3.912, allocations: 52.58 kB / 1.67 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/3.913, allocations: 36.38 kB / 1.67 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/3.913, allocations: 27.98 kB / 1.67 GB, free: 12.94 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001893/3.915, allocations: 1.536 MB / 1.672 GB, free: 11.39 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/3.915, allocations: 0 / 1.672 GB, free: 11.39 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001987/3.917, allocations: 0.7162 MB / 1.672 GB, free: 10.75 MB / 1.154 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.005759/3.922, allocations: 2.893 MB / 1.675 GB, free: 8.129 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002456/3.925, allocations: 1.19 MB / 1.676 GB, free: 6.945 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/3.925, allocations: 0 / 1.676 GB, free: 6.945 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/3.925, allocations: 374.8 kB / 1.677 GB, free: 6.582 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/3.928, allocations: 474.8 kB / 1.677 GB, free: 6.125 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4406/4.368, allocations: 9.536 MB / 1.686 GB, free: 426.6 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/4.369, allocations: 1.097 MB / 1.688 GB, free: 425.9 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001165/4.37, allocations: 273.1 kB / 1.688 GB, free: 425.9 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/4.371, allocations: 435.4 kB / 1.688 GB, free: 425.6 MB / 1.154 GB Notification: Performance of SimCode: time 1.142e-06/4.371, allocations: 0 / 1.688 GB, free: 425.6 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05315/4.424, allocations: 37.32 MB / 1.725 GB, free: 398.9 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/4.424, allocations: 290 kB / 1.725 GB, free: 398.6 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/7.12, allocations: 0 / 1.725 GB, free: 398.6 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat does not exist to compare? outputFormat=mat