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.646/1.646, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001202/0.001202, allocations: 177 kB / 371.8 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.465/1.465, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009391/0.000939, allocations: 109 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004268, allocations: 12.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2181, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.73/4.948, allocations: 2.055 GB / 3.035 GB, free: 263.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/4.948, allocations: 99.92 kB / 3.035 GB, free: 263.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05474/5.003, allocations: 28.29 MB / 3.062 GB, free: 234.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/5.003, allocations: 4 kB / 3.062 GB, free: 234.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.804e-06/5.003, allocations: 0 / 3.062 GB, free: 234.5 MB / 0.948 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.0005331/5.003, allocations: 395.8 kB / 3.063 GB, free: 234.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/5.004, allocations: 16.02 kB / 3.063 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/5.004, allocations: 38.55 kB / 3.063 GB, free: 234 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/5.004, allocations: 7.953 kB / 3.063 GB, free: 234 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/5.004, allocations: 163 kB / 3.063 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/5.004, allocations: 4 kB / 3.063 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/5.004, allocations: 0 / 3.063 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/5.004, allocations: 93.66 kB / 3.063 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/5.004, allocations: 3.984 kB / 3.063 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/5.004, allocations: 7.938 kB / 3.063 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/5.004, allocations: 11.98 kB / 3.063 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/5.004, allocations: 79.91 kB / 3.063 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/5.005, allocations: 348.5 kB / 3.064 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/5.005, allocations: 100.1 kB / 3.064 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/5.006, allocations: 457.5 kB / 3.064 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/5.006, allocations: 38.52 kB / 3.064 GB, free: 232.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/5.006, allocations: 0 / 3.064 GB, free: 232.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002726/5.006, allocations: 121.9 kB / 3.064 GB, free: 232.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/5.006, allocations: 59.39 kB / 3.064 GB, free: 232.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/5.006, allocations: 101 kB / 3.064 GB, free: 232.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/5.006, allocations: 29.69 kB / 3.064 GB, free: 232.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/5.006, allocations: 108.1 kB / 3.064 GB, free: 232.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/5.006, allocations: 31.55 kB / 3.065 GB, free: 232 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/5.006, allocations: 0 / 3.065 GB, free: 232 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/5.006, allocations: 318.8 kB / 3.065 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/5.006, allocations: 27.97 kB / 3.065 GB, free: 231.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/5.006, allocations: 77.64 kB / 3.065 GB, free: 231.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.379e-05/5.006, allocations: 41.02 kB / 3.065 GB, free: 231.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.006, allocations: 4 kB / 3.065 GB, free: 231.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000188/5.007, allocations: 145.4 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/5.007, allocations: 8 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/5.007, allocations: 3.953 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/5.007, allocations: 4 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/5.007, allocations: 27.98 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/5.007, allocations: 7.938 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/5.007, allocations: 3.906 kB / 3.065 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/5.007, allocations: 8 kB / 3.065 GB, free: 231.3 MB / 0.948 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 9.031e-05/5.007, allocations: 127.3 kB / 3.065 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/5.007, allocations: 7.906 kB / 3.065 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/5.007, allocations: 125.6 kB / 3.065 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/5.007, allocations: 3.953 kB / 3.065 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/5.007, allocations: 4 kB / 3.065 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/5.007, allocations: 0 / 3.065 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/5.007, allocations: 185.6 kB / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/5.008, allocations: 0 / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/5.008, allocations: 19.98 kB / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/5.008, allocations: 4 kB / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/5.008, allocations: 4 kB / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/5.008, allocations: 0 / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/5.008, allocations: 3.953 kB / 3.066 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/5.008, allocations: 199.4 kB / 3.066 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/5.008, allocations: 92.94 kB / 3.066 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/5.008, allocations: 8 kB / 3.066 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/5.008, allocations: 4 kB / 3.066 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/5.008, allocations: 11.94 kB / 3.066 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/5.008, allocations: 0 / 3.066 GB, free: 230.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.662e-05/5.008, allocations: 91.27 kB / 3.066 GB, free: 230.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.11e-07/5.008, allocations: 0 / 3.066 GB, free: 230.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000534/5.009, allocations: 115.9 kB / 3.066 GB, free: 230.3 MB / 0.948 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.001181/5.01, allocations: 1.274 MB / 3.067 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001751/5.01, allocations: 83.84 kB / 3.067 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.01, allocations: 0 / 3.067 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/5.01, allocations: 39.92 kB / 3.067 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/5.01, allocations: 13.47 kB / 3.068 GB, free: 228.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/5.011, allocations: 277.6 kB / 3.068 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/5.011, allocations: 0.6926 MB / 3.068 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001325/5.011, allocations: 53.09 kB / 3.068 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/5.011, allocations: 23.42 kB / 3.069 GB, free: 227.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/5.011, allocations: 0 / 3.069 GB, free: 227.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/5.034, allocations: 11.81 MB / 3.08 GB, free: 216.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/5.034, allocations: 248.6 kB / 3.08 GB, free: 215.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/7.031, allocations: 4.062 kB / 3.08 GB, free: 215.8 MB / 0.948 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)