Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.4 MB / 303.3 MB, free: 7.988 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.0009427/0.0009428, allocations: 180.5 kB / 372 MB, free: 10.27 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.384/1.384, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0008538/0.0008535, allocations: 90.28 kB / 0.744 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 11.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2138, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001114/0.2149, allocations: 1.038 MB / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5483/0.7632, allocations: 134.3 MB / 1.112 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.7634, allocations: 2.812 kB / 1.112 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.7634, allocations: 6.672 kB / 1.112 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.7636, allocations: 42.48 kB / 1.112 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000889/0.7645, allocations: 259.2 kB / 1.112 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.7646, allocations: 136.6 kB / 1.112 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.7647, allocations: 6.047 kB / 1.112 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.7648, allocations: 27.72 kB / 1.112 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.7649, allocations: 62.94 kB / 1.112 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.7649, allocations: 2.125 kB / 1.112 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006616/0.7656, allocations: 308.6 kB / 1.113 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.7656, allocations: 24.5 kB / 1.113 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.7658, allocations: 34.14 kB / 1.113 GB, free: 18.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.7661, allocations: 177.4 kB / 1.113 GB, free: 18.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7661, allocations: 0 / 1.113 GB, free: 18.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7661, allocations: 3.938 kB / 1.113 GB, free: 18.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7661, allocations: 0 / 1.113 GB, free: 18.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003525/0.7665, allocations: 388 kB / 1.113 GB, free: 18.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.7665, allocations: 12.98 kB / 1.113 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.7666, allocations: 44.81 kB / 1.113 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.7666, allocations: 6.703 kB / 1.113 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.7667, allocations: 163.7 kB / 1.113 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.7667, allocations: 1.344 kB / 1.113 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.7667, allocations: 2.656 kB / 1.113 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.7669, allocations: 99.22 kB / 1.114 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7669, allocations: 1.125 kB / 1.114 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.767, allocations: 3.047 kB / 1.114 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.767, allocations: 13.09 kB / 1.114 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.7671, allocations: 83.28 kB / 1.114 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.7676, allocations: 329.9 kB / 1.114 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.7678, allocations: 105.2 kB / 1.114 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.7679, allocations: 52.42 kB / 1.114 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008482/0.7687, allocations: 491 kB / 1.115 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.7687, allocations: 36.53 kB / 1.115 GB, free: 17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.7687, allocations: 0 / 1.115 GB, free: 17 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002764/0.769, allocations: 121.4 kB / 1.115 GB, free: 16.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.7691, allocations: 56.78 kB / 1.115 GB, free: 16.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.7692, allocations: 116.3 kB / 1.115 GB, free: 16.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.7692, allocations: 25.7 kB / 1.115 GB, free: 16.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.7692, allocations: 100.3 kB / 1.115 GB, free: 16.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.7693, allocations: 45.95 kB / 1.115 GB, free: 16.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.7693, allocations: 0 / 1.115 GB, free: 16.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7694, allocations: 320.6 kB / 1.115 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.7695, allocations: 27.16 kB / 1.115 GB, free: 16.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.7696, allocations: 76.44 kB / 1.115 GB, free: 16.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.7697, allocations: 42.61 kB / 1.115 GB, free: 16.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7697, allocations: 1.375 kB / 1.115 GB, free: 16.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00022/0.7699, allocations: 145.2 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.7699, allocations: 9.172 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.77, allocations: 2.312 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.77, allocations: 2.844 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.7701, allocations: 28.61 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7701, allocations: 3.094 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.7702, allocations: 15.95 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.7702, allocations: 8.469 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.7703, allocations: 128.6 kB / 1.116 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.7704, allocations: 8.594 kB / 1.116 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.7706, allocations: 125.7 kB / 1.116 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7706, allocations: 2.219 kB / 1.116 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7706, allocations: 0 / 1.116 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7707, allocations: 0.6562 kB / 1.116 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.7708, allocations: 177.6 kB / 1.116 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7708, allocations: 4 kB / 1.116 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.7709, allocations: 21.81 kB / 1.116 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7709, allocations: 0 / 1.116 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.7709, allocations: 4.891 kB / 1.116 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.7709, allocations: 5.516 kB / 1.116 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7709, allocations: 0 / 1.116 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.7711, allocations: 194.5 kB / 1.116 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.7712, allocations: 102 kB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.7712, allocations: 8.141 kB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.7713, allocations: 1.5 kB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.7713, allocations: 9.422 kB / 1.116 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.7713, allocations: 3.172 kB / 1.116 GB, free: 15.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001001/0.7714, allocations: 92.77 kB / 1.117 GB, free: 15.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7714, allocations: 0 / 1.117 GB, free: 15.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004128/0.7719, allocations: 79.81 kB / 1.117 GB, free: 15.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006937/0.7726, allocations: 0.8047 MB / 1.117 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.7728, allocations: 81.17 kB / 1.117 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7728, allocations: 320 / 1.117 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.7728, allocations: 44.02 kB / 1.118 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.7731, allocations: 18.38 kB / 1.118 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.7737, allocations: 265.1 kB / 1.118 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.774, allocations: 0.6938 MB / 1.118 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.7741, allocations: 50.73 kB / 1.119 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.7742, allocations: 21.19 kB / 1.119 GB, free: 13.92 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.7742, allocations: 9.031 kB / 1.119 GB, free: 13.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.7897, allocations: 2.947 MB / 1.121 GB, free: 13.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.7899, allocations: 255.3 kB / 1.122 GB, free: 13.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.467, allocations: 5.062 kB / 1.122 GB, free: 13.32 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)