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.361/1.361, allocations: 252 MB / 267.3 MB, free: 10.85 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.001008/0.001008, allocations: 178.2 kB / 327 MB, free: 2.094 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.493/1.493, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007432/0.0007432, allocations: 97.97 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 10.72 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1886, allocations: 106.3 MB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001296/0.19, allocations: 1.06 MB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1454/0.3354, allocations: 144 MB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.3355, allocations: 4 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.3355, allocations: 0 / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3357, allocations: 47.73 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3368, allocations: 310.9 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.3371, allocations: 195.7 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.3371, allocations: 0 / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.3372, allocations: 35.86 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3374, allocations: 59.86 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3374, allocations: 0 / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008284/0.3382, allocations: 439 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.3383, allocations: 27.95 kB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.3384, allocations: 57.56 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.3389, allocations: 283.6 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3389, allocations: 7.875 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3389, allocations: 4 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3389, allocations: 0 / 1.044 GB, free: 12.23 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.0004913/0.3394, allocations: 379.4 kB / 1.044 GB, free: 11.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3394, allocations: 12.03 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.3395, allocations: 38.73 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.3395, allocations: 8.844 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3396, allocations: 168.1 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3396, allocations: 7.938 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3397, allocations: 0 / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3399, allocations: 101.6 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3399, allocations: 0 / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3399, allocations: 3.984 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.3399, allocations: 15.98 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3401, allocations: 81.36 kB / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.3405, allocations: 332.7 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3407, allocations: 106.5 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.3408, allocations: 56.91 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/0.3417, allocations: 489.4 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3417, allocations: 30.56 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3417, allocations: 0 / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002746/0.342, allocations: 129.4 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3421, allocations: 51.41 kB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.3422, allocations: 117.8 kB / 1.046 GB, free: 9.855 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3422, allocations: 25.8 kB / 1.046 GB, free: 9.824 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3422, allocations: 92.12 kB / 1.046 GB, free: 9.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3423, allocations: 51.53 kB / 1.046 GB, free: 9.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.3423, allocations: 0 / 1.046 GB, free: 9.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3425, allocations: 318.8 kB / 1.047 GB, free: 9.359 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.3425, allocations: 27.98 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.3426, allocations: 73.12 kB / 1.047 GB, free: 9.242 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3428, allocations: 113.1 kB / 1.047 GB, free: 9.113 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3428, allocations: 0 / 1.047 GB, free: 9.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002114/0.343, allocations: 141.8 kB / 1.047 GB, free: 8.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.343, allocations: 12 kB / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.343, allocations: 0 / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.343, allocations: 7.938 kB / 1.047 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3432, allocations: 31.92 kB / 1.047 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3432, allocations: 7.938 kB / 1.047 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.3432, allocations: 7.844 kB / 1.047 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.3433, allocations: 12 kB / 1.047 GB, free: 8.891 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3434, allocations: 121.8 kB / 1.047 GB, free: 8.762 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3434, allocations: 3.984 kB / 1.047 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.3437, allocations: 130.4 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3437, allocations: 3.938 kB / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3437, allocations: 0 / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3437, allocations: 0 / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3439, allocations: 185.6 kB / 1.047 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3439, allocations: 0 / 1.047 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.344, allocations: 23.92 kB / 1.047 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.344, allocations: 8 kB / 1.047 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.344, allocations: 0 / 1.047 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.344, allocations: 3.938 kB / 1.047 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.344, allocations: 0 / 1.047 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.3442, allocations: 195.4 kB / 1.048 GB, free: 8.145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.3443, allocations: 93.09 kB / 1.048 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3443, allocations: 0 / 1.048 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.3444, allocations: 7.922 kB / 1.048 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.3444, allocations: 12 kB / 1.048 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3444, allocations: 4 kB / 1.048 GB, free: 8.012 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.3445, allocations: 83.27 kB / 1.048 GB, free: 7.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3445, allocations: 4 kB / 1.048 GB, free: 7.926 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003448/0.3448, allocations: 79.92 kB / 1.048 GB, free: 7.848 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007222/0.3456, allocations: 0.8098 MB / 1.049 GB, free: 7.012 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.3457, allocations: 84.22 kB / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3458, allocations: 0 / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.3458, allocations: 36.14 kB / 1.049 GB, free: 6.895 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3461, allocations: 26.48 kB / 1.049 GB, free: 6.871 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.3467, allocations: 270 kB / 1.049 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.347, allocations: 0.6888 MB / 1.05 GB, free: 5.855 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.3471, allocations: 56.34 kB / 1.05 GB, free: 5.797 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3472, allocations: 19.38 kB / 1.05 GB, free: 5.781 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.3472, allocations: 3.938 kB / 1.05 GB, free: 5.777 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.3606, allocations: 2.97 MB / 1.053 GB, free: 3.039 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.3609, allocations: 280 kB / 1.053 GB, free: 2.672 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.057, allocations: 0 / 1.053 GB, free: 2.672 MB / 0.698 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)