Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_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.0009075/0.0009075, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009112/0.0009113, allocations: 177.3 kB / 15.95 MB, free: 216 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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7183, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1785/0.8968, allocations: 153.1 MB / 1.103 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.9154, allocations: 11.36 MB / 1.114 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.9171, allocations: 27.81 kB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.9188, allocations: 469.6 kB / 1.115 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.9247, allocations: 1.896 MB / 1.116 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.9281, allocations: 1.195 MB / 1.118 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002926/0.931, allocations: 1.468 MB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00097/0.932, allocations: 0.6257 MB / 1.12 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.9332, allocations: 0.65 MB / 1.12 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.9338, allocations: 0.4978 MB / 1.121 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.9339, allocations: 36 kB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.9374, allocations: 1.619 MB / 1.122 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.9377, allocations: 259.1 kB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.938, allocations: 253 kB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.9408, allocations: 1.874 MB / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.9409, allocations: 0 / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9409, allocations: 0 / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.9409, allocations: 4 kB / 1.125 GB, free: 0.4922 MB / 0.8731 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.002751/0.9436, allocations: 1.588 MB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.9437, allocations: 12.03 kB / 1.126 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.9438, allocations: 102.5 kB / 1.126 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.9447, allocations: 230.2 kB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.947, allocations: 1.794 MB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.947, allocations: 49.31 kB / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.9471, allocations: 64 kB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.9484, allocations: 0.748 MB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.9484, allocations: 3.906 kB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.9485, allocations: 20 kB / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.9485, allocations: 16 kB / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.9498, allocations: 0.7272 MB / 1.13 GB, free: 11 MB / 0.8887 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.003923/0.9537, allocations: 3.195 MB / 1.133 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.9551, allocations: 0.7227 MB / 1.134 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/0.9587, allocations: 3.608 MB / 1.137 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/0.9594, allocations: 361.3 kB / 1.138 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=52): time 2.465e-06/0.9594, allocations: 0 / 1.138 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of matching and sorting (n=52): time 0.004839/0.9642, allocations: 1.468 MB / 1.139 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.9643, allocations: 81.55 kB / 1.139 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.9667, allocations: 2.071 MB / 1.141 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.9668, allocations: 37.7 kB / 1.141 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.9672, allocations: 0.5045 MB / 1.142 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.9674, allocations: 181.5 kB / 1.142 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.9674, allocations: 12 kB / 1.142 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9676, allocations: 334 kB / 1.142 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.9681, allocations: 293.2 kB / 1.143 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.9689, allocations: 0.5767 MB / 1.143 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.9695, allocations: 338 kB / 1.143 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9695, allocations: 96 / 1.143 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001834/0.9713, allocations: 0.9717 MB / 1.144 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.9717, allocations: 0.9679 MB / 1.145 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9717, allocations: 4 kB / 1.145 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633/2.604, allocations: 193.5 MB / 1.334 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/2.605, allocations: 131.3 kB / 1.334 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/2.607, allocations: 1.287 MB / 1.336 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/2.608, allocations: 97.05 kB / 1.336 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/2.608, allocations: 37.14 kB / 1.336 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/2.608, allocations: 8 kB / 1.336 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002384/2.61, allocations: 0.8367 MB / 1.337 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/2.61, allocations: 4 kB / 1.337 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112/3.723, allocations: 193.5 MB / 1.526 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/3.723, allocations: 127.7 kB / 1.526 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/3.724, allocations: 1.294 MB / 1.527 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/3.725, allocations: 93.83 kB / 1.527 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/3.725, allocations: 34.98 kB / 1.527 GB, free: 21.11 MB / 0.9981 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.0005187/3.726, allocations: 374 kB / 1.527 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/3.726, allocations: 128.2 kB / 1.528 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/3.728, allocations: 0.9212 MB / 1.528 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/3.728, allocations: 7.984 kB / 1.528 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/3.728, allocations: 4 kB / 1.529 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/3.729, allocations: 0.9531 MB / 1.529 GB, free: 18.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/3.733, allocations: 2.088 MB / 1.531 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/3.733, allocations: 0 / 1.531 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/3.733, allocations: 83.86 kB / 1.532 GB, free: 16.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5959/4.329, allocations: 96.83 MB / 1.626 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/4.329, allocations: 19.98 kB / 1.626 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/4.33, allocations: 0.7444 MB / 1.627 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/4.33, allocations: 4.031 kB / 1.627 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/4.334, allocations: 1.486 MB / 1.628 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/4.335, allocations: 311 kB / 1.629 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/4.335, allocations: 15.83 kB / 1.629 GB, free: 13.01 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/4.335, allocations: 55.53 kB / 1.629 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/4.336, allocations: 36.39 kB / 1.629 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/4.336, allocations: 27.97 kB / 1.629 GB, free: 12.89 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001674/4.337, allocations: 1.544 MB / 1.63 GB, free: 11.34 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/4.337, allocations: 0 / 1.63 GB, free: 11.34 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00186/4.339, allocations: 0.7227 MB / 1.631 GB, free: 10.69 MB / 1.092 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.005625/4.345, allocations: 3.09 MB / 1.634 GB, free: 7.855 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002306/4.347, allocations: 1.147 MB / 1.635 GB, free: 6.719 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/4.347, allocations: 256 / 1.635 GB, free: 6.719 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006511/4.348, allocations: 358.4 kB / 1.635 GB, free: 6.367 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/4.35, allocations: 466.3 kB / 1.636 GB, free: 5.914 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/4.355, allocations: 4.52 MB / 1.64 GB, free: 1.34 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/4.355, allocations: 1.116 MB / 1.641 GB, free: 200 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009886/4.356, allocations: 288.4 kB / 1.642 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/4.357, allocations: 439.2 kB / 1.642 GB, free: 15.49 MB / 1.107 GB Notification: Performance of SimCode: time 5.41e-07/4.357, allocations: 4 kB / 1.642 GB, free: 15.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5596/4.916, allocations: 36.98 MB / 1.678 GB, free: 412.4 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/4.917, allocations: 275.3 kB / 1.678 GB, free: 412.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/7.816, allocations: 1.5 kB / 1.678 GB, free: 412.1 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat does not exist to compare? outputFormat=mat