Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 185.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009262/0.0009264, allocations: 84.2 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8.531 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.593/4.802, allocations: 2.173 GB / 3.073 GB, free: 48.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/4.802, allocations: 99.92 kB / 3.074 GB, free: 48.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05266/4.855, allocations: 27.98 MB / 3.101 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.172e-06/4.855, allocations: 0 / 3.101 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.542e-06/4.855, allocations: 0 / 3.101 GB, free: 19.88 MB / 0.8855 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.0004102/4.855, allocations: 399.9 kB / 3.101 GB, free: 19.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/4.855, allocations: 8.031 kB / 3.101 GB, free: 19.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/4.856, allocations: 42.52 kB / 3.101 GB, free: 19.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/4.856, allocations: 7.906 kB / 3.101 GB, free: 19.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/4.856, allocations: 171 kB / 3.101 GB, free: 19.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/4.856, allocations: 4 kB / 3.101 GB, free: 19.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/4.856, allocations: 0 / 3.101 GB, free: 19.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/4.856, allocations: 98.91 kB / 3.102 GB, free: 19.06 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/4.856, allocations: 3.984 kB / 3.102 GB, free: 19.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/4.856, allocations: 0 / 3.102 GB, free: 19.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/4.856, allocations: 15.94 kB / 3.102 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/4.856, allocations: 83.89 kB / 3.102 GB, free: 18.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/4.856, allocations: 336.7 kB / 3.102 GB, free: 18.58 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/4.857, allocations: 104 kB / 3.102 GB, free: 18.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/4.857, allocations: 453.5 kB / 3.102 GB, free: 17.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/4.857, allocations: 38.78 kB / 3.103 GB, free: 17.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 2.726e-06/4.857, allocations: 4.094 kB / 3.103 GB, free: 17.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0002235/4.857, allocations: 121.4 kB / 3.103 GB, free: 17.76 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/4.857, allocations: 55.41 kB / 3.103 GB, free: 17.69 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.793e-05/4.857, allocations: 105 kB / 3.103 GB, free: 17.58 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/4.857, allocations: 29.64 kB / 3.103 GB, free: 17.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/4.857, allocations: 96.27 kB / 3.103 GB, free: 17.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/4.858, allocations: 39.45 kB / 3.103 GB, free: 17.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/4.858, allocations: 4 kB / 3.103 GB, free: 17.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/4.858, allocations: 314.8 kB / 3.103 GB, free: 17.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/4.858, allocations: 35.97 kB / 3.103 GB, free: 17.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/4.858, allocations: 73.02 kB / 3.103 GB, free: 16.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/4.858, allocations: 52.56 kB / 3.103 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/4.858, allocations: 0 / 3.103 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000154/4.858, allocations: 138.4 kB / 3.104 GB, free: 16.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/4.858, allocations: 7.953 kB / 3.104 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/4.858, allocations: 4 kB / 3.104 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/4.858, allocations: 0 / 3.104 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/4.858, allocations: 27.98 kB / 3.104 GB, free: 16.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/4.858, allocations: 3.938 kB / 3.104 GB, free: 16.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/4.858, allocations: 12.06 kB / 3.104 GB, free: 16.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/4.858, allocations: 12 kB / 3.104 GB, free: 16.7 MB / 0.8855 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 5.842e-05/4.858, allocations: 125.8 kB / 3.104 GB, free: 16.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/4.858, allocations: 0 / 3.104 GB, free: 16.57 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/4.858, allocations: 130.2 kB / 3.104 GB, free: 16.44 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/4.858, allocations: 4 kB / 3.104 GB, free: 16.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/4.858, allocations: 4 kB / 3.104 GB, free: 16.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/4.858, allocations: 0 / 3.104 GB, free: 16.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/4.859, allocations: 181.6 kB / 3.104 GB, free: 16.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/4.859, allocations: 0 / 3.104 GB, free: 16.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/4.859, allocations: 19.98 kB / 3.104 GB, free: 16.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/4.859, allocations: 0 / 3.104 GB, free: 16.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/4.859, allocations: 4 kB / 3.104 GB, free: 16.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/4.859, allocations: 3.953 kB / 3.104 GB, free: 16.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/4.859, allocations: 256 / 3.104 GB, free: 16.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/4.859, allocations: 203.3 kB / 3.104 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/4.859, allocations: 93.03 kB / 3.104 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/4.859, allocations: 7.984 kB / 3.104 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/4.859, allocations: 4 kB / 3.104 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/4.859, allocations: 7.953 kB / 3.104 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/4.859, allocations: 4 kB / 3.104 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.837e-05/4.859, allocations: 87.27 kB / 3.104 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/4.859, allocations: 0 / 3.104 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000467/4.86, allocations: 119.9 kB / 3.105 GB, free: 15.62 MB / 0.8855 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.001009/4.861, allocations: 1.266 MB / 3.106 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000146/4.861, allocations: 80.17 kB / 3.106 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/4.861, allocations: 0 / 3.106 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/4.861, allocations: 44.17 kB / 3.106 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/4.861, allocations: 21.97 kB / 3.106 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/4.861, allocations: 272 kB / 3.106 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/4.862, allocations: 0.6887 MB / 3.107 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000121/4.862, allocations: 56.86 kB / 3.107 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/4.862, allocations: 19.44 kB / 3.107 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/4.862, allocations: 0 / 3.107 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/4.884, allocations: 11.81 MB / 3.118 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/4.884, allocations: 243 kB / 3.119 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/6.856, allocations: 3.281 kB / 3.119 GB, free: 1.215 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)