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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001064/0.001064, allocations: 181 kB / 326.5 MB, free: 2.238 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.559/1.559, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009052/0.0009055, allocations: 98.53 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003502, allocations: 9.219 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001429/0.2323, allocations: 1.04 MB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1424/0.3747, allocations: 125 MB / 1.023 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.3749, allocations: 0 / 1.023 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 6.014e-05/0.3749, allocations: 3.984 kB / 1.023 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3751, allocations: 27.95 kB / 1.023 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.376, allocations: 247.2 kB / 1.024 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.3761, allocations: 35.94 kB / 1.024 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3761, allocations: 0 / 1.024 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.3762, allocations: 19.92 kB / 1.024 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3763, allocations: 39.89 kB / 1.024 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3763, allocations: 0 / 1.024 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.3769, allocations: 291.5 kB / 1.024 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.3769, allocations: 19.98 kB / 1.024 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.377, allocations: 37.64 kB / 1.024 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3773, allocations: 156 kB / 1.024 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3773, allocations: 0 / 1.024 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3773, allocations: 0 / 1.024 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3773, allocations: 0 / 1.024 GB, free: 0.5703 MB / 0.6667 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.0004103/0.3777, allocations: 375.3 kB / 1.024 GB, free: 160 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3778, allocations: 11.97 kB / 1.024 GB, free: 148 kB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.3778, allocations: 38.52 kB / 1.024 GB, free: 100 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.3779, allocations: 7.906 kB / 1.025 GB, free: 92 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.378, allocations: 171 kB / 1.025 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.378, allocations: 7.938 kB / 1.025 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.378, allocations: 4 kB / 1.025 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3782, allocations: 89.64 kB / 1.025 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3782, allocations: 0 / 1.025 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3783, allocations: 8 kB / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.3783, allocations: 11.95 kB / 1.025 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3784, allocations: 77.22 kB / 1.025 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.3789, allocations: 336.7 kB / 1.025 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3791, allocations: 106.4 kB / 1.025 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/0.38, allocations: 493.5 kB / 1.026 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.38, allocations: 30.56 kB / 1.026 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.38, allocations: 0 / 1.026 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0002571/0.3803, allocations: 125.8 kB / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3803, allocations: 59.41 kB / 1.026 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.3804, allocations: 113.8 kB / 1.026 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3804, allocations: 29.64 kB / 1.026 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.3805, allocations: 104.3 kB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3805, allocations: 35.45 kB / 1.026 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.3805, allocations: 0 / 1.026 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3806, allocations: 322.8 kB / 1.027 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.3807, allocations: 23.98 kB / 1.027 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.3808, allocations: 73.12 kB / 1.027 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.3809, allocations: 39.98 kB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3809, allocations: 4 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000184/0.3811, allocations: 141.3 kB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3811, allocations: 11.94 kB / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3811, allocations: 0 / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3811, allocations: 8.156 kB / 1.027 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3812, allocations: 27.98 kB / 1.027 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3812, allocations: 4 kB / 1.027 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.3813, allocations: 7.844 kB / 1.027 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3813, allocations: 8 kB / 1.027 GB, free: 13.39 MB / 0.6823 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 8.605e-05/0.3814, allocations: 125.8 kB / 1.027 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3814, allocations: 7.953 kB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.3816, allocations: 134.3 kB / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3817, allocations: 0 / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3817, allocations: 0 / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3817, allocations: 3.984 kB / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3819, allocations: 177.7 kB / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3819, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.3819, allocations: 19.92 kB / 1.027 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3819, allocations: 4 kB / 1.027 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.382, allocations: 7.953 kB / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.382, allocations: 4 kB / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.382, allocations: 3.984 kB / 1.027 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3821, allocations: 195.4 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.3822, allocations: 85.09 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3822, allocations: 11.94 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.3823, allocations: 3.953 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.3823, allocations: 7.938 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3823, allocations: 3.984 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.3824, allocations: 95.53 kB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3824, allocations: 0 / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003449/0.3827, allocations: 83.86 kB / 1.028 GB, free: 12.33 MB / 0.6823 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.0006607/0.3834, allocations: 0.8099 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.3836, allocations: 80.11 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3836, allocations: 0 / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.3836, allocations: 40.2 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3838, allocations: 22.12 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.3844, allocations: 266.3 kB / 1.029 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3847, allocations: 0.6926 MB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.3848, allocations: 56.3 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.3848, allocations: 27.42 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3849, allocations: 0 / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.3999, allocations: 2.916 MB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.4002, allocations: 254.2 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.047, allocations: 0 / 1.033 GB, free: 7.242 MB / 0.6823 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)