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.64/1.64, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001049/0.001049, allocations: 184.9 kB / 361.4 MB, free: 6.824 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.688/1.688, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008554/0.0008549, allocations: 95.06 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.447e-05, allocations: 4 kB / 0.8519 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8142, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.222/6.037, allocations: 2.054 GB / 3.019 GB, free: 107.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/6.037, allocations: 100.5 kB / 3.019 GB, free: 107 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05391/6.091, allocations: 27.69 MB / 3.046 GB, free: 79.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/6.091, allocations: 4 kB / 3.046 GB, free: 79.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.412e-06/6.091, allocations: 0 / 3.046 GB, free: 79.23 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.0004597/6.092, allocations: 394.2 kB / 3.046 GB, free: 78.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/6.092, allocations: 8.031 kB / 3.046 GB, free: 78.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/6.092, allocations: 7.953 kB / 3.046 GB, free: 78.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/6.092, allocations: 166.9 kB / 3.047 GB, free: 78.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/6.092, allocations: 4 kB / 3.047 GB, free: 78.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/6.092, allocations: 3.984 kB / 3.047 GB, free: 78.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001724/6.092, allocations: 63.98 kB / 3.047 GB, free: 78.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/6.092, allocations: 93.66 kB / 3.047 GB, free: 78.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/6.092, allocations: 0 / 3.047 GB, free: 78.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/6.092, allocations: 0 / 3.047 GB, free: 78.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/6.092, allocations: 15.94 kB / 3.047 GB, free: 78.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/6.093, allocations: 313.3 kB / 3.047 GB, free: 78.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/6.093, allocations: 94.47 kB / 3.047 GB, free: 77.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/6.093, allocations: 40.92 kB / 3.047 GB, free: 77.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/6.094, allocations: 471 kB / 3.048 GB, free: 77.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/6.094, allocations: 30.56 kB / 3.048 GB, free: 77.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/6.094, allocations: 0 / 3.048 GB, free: 77.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.07961/6.173, allocations: 8.848 MB / 3.056 GB, free: 68.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/6.173, allocations: 59.41 kB / 3.056 GB, free: 68.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/6.174, allocations: 102.9 kB / 3.056 GB, free: 68.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/6.174, allocations: 25.7 kB / 3.057 GB, free: 68.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/6.174, allocations: 104.3 kB / 3.057 GB, free: 68.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/6.174, allocations: 39.39 kB / 3.057 GB, free: 68.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/6.174, allocations: 0 / 3.057 GB, free: 68.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/6.174, allocations: 324.1 kB / 3.057 GB, free: 67.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/6.174, allocations: 24 kB / 3.057 GB, free: 67.76 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/6.174, allocations: 71.23 kB / 3.057 GB, free: 67.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07782/6.252, allocations: 8.797 MB / 3.066 GB, free: 58.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/6.252, allocations: 0 / 3.066 GB, free: 58.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.09355/6.345, allocations: 8.881 MB / 3.074 GB, free: 49.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/6.346, allocations: 8 kB / 3.074 GB, free: 49.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/6.346, allocations: 0 / 3.074 GB, free: 49.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/6.346, allocations: 4 kB / 3.074 GB, free: 49.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/6.346, allocations: 31.94 kB / 3.074 GB, free: 49.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/6.346, allocations: 7.938 kB / 3.074 GB, free: 49.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/6.346, allocations: 11.84 kB / 3.074 GB, free: 49.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/6.346, allocations: 8.156 kB / 3.074 GB, free: 49.89 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 () * 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 7.277e-05/6.346, allocations: 101 kB / 3.074 GB, free: 49.79 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07824/6.424, allocations: 8.859 MB / 3.083 GB, free: 40.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/6.424, allocations: 4 kB / 3.083 GB, free: 40.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07784/6.502, allocations: 8.874 MB / 3.092 GB, free: 32.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/6.502, allocations: 4 kB / 3.092 GB, free: 32.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/6.502, allocations: 2.188 kB / 3.092 GB, free: 32.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/6.502, allocations: 7.984 kB / 3.092 GB, free: 32.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/6.502, allocations: 154.2 kB / 3.092 GB, free: 31.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/6.502, allocations: 0 / 3.092 GB, free: 31.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/6.502, allocations: 15.98 kB / 3.092 GB, free: 31.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/6.502, allocations: 0 / 3.092 GB, free: 31.81 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/6.502, allocations: 4 kB / 3.092 GB, free: 31.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/6.502, allocations: 0 / 3.092 GB, free: 31.81 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/6.502, allocations: 11.83 kB / 3.092 GB, free: 31.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07498/6.577, allocations: 8.945 MB / 3.101 GB, free: 22.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/6.578, allocations: 93 kB / 3.101 GB, free: 22.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/6.578, allocations: 0 / 3.101 GB, free: 22.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/6.578, allocations: 0 / 3.101 GB, free: 22.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/6.578, allocations: 11.95 kB / 3.101 GB, free: 22.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/6.578, allocations: 5.297 kB / 3.101 GB, free: 22.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.229e-05/6.578, allocations: 85.28 kB / 3.101 GB, free: 22.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/6.578, allocations: 4 kB / 3.101 GB, free: 22.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005039/6.578, allocations: 111.8 kB / 3.101 GB, free: 22.5 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 () * 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.07678/6.655, allocations: 10.1 MB / 3.111 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000199/6.655, allocations: 69.12 kB / 3.111 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/6.655, allocations: 4.312 kB / 3.111 GB, free: 12.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/6.655, allocations: 39.92 kB / 3.111 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/6.656, allocations: 18.84 kB / 3.111 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/6.656, allocations: 183.2 kB / 3.111 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/6.656, allocations: 0.6931 MB / 3.112 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001253/6.656, allocations: 55.17 kB / 3.112 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/6.656, allocations: 23.42 kB / 3.112 GB, free: 11.25 MB / 0.948 GB Notification: Performance of SimCode: time 4.1e-07/6.656, allocations: 0 / 3.112 GB, free: 11.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/6.684, allocations: 6.835 MB / 3.119 GB, free: 4.488 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/6.684, allocations: 214.8 kB / 3.119 GB, free: 4.199 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/8.673, allocations: 0.75 kB / 3.119 GB, free: 4.199 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)