Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.392/2.392, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001503/0.001502, allocations: 184.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001136/0.001135, allocations: 102 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.844e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8094, allocations: 115.2 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.835, allocations: 2.054 GB / 3.018 GB, free: 64.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/6.835, allocations: 97.5 kB / 3.018 GB, free: 64.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09297/6.928, allocations: 27.69 MB / 3.045 GB, free: 40.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/6.928, allocations: 0 / 3.045 GB, free: 40.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.843e-06/6.928, allocations: 0 / 3.045 GB, free: 40.73 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.0004462/6.929, allocations: 398.1 kB / 3.045 GB, free: 40.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/6.929, allocations: 12.03 kB / 3.045 GB, free: 40.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/6.929, allocations: 7.938 kB / 3.045 GB, free: 40.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/6.929, allocations: 173.5 kB / 3.045 GB, free: 40.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/6.929, allocations: 0 / 3.045 GB, free: 40.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/6.929, allocations: 4 kB / 3.045 GB, free: 40.06 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001946/6.929, allocations: 71.91 kB / 3.045 GB, free: 39.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/6.93, allocations: 82.38 kB / 3.046 GB, free: 39.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/6.93, allocations: 0 / 3.046 GB, free: 39.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/6.93, allocations: 7.953 kB / 3.046 GB, free: 39.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/6.93, allocations: 15.97 kB / 3.046 GB, free: 39.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/6.93, allocations: 316.6 kB / 3.046 GB, free: 39.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/6.93, allocations: 89.06 kB / 3.046 GB, free: 39.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/6.93, allocations: 52.94 kB / 3.046 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008563/6.931, allocations: 459 kB / 3.046 GB, free: 38.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/6.931, allocations: 38.52 kB / 3.046 GB, free: 38.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/6.931, allocations: 4 kB / 3.046 GB, free: 38.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.1534/7.085, allocations: 8.846 MB / 3.055 GB, free: 29.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/7.085, allocations: 51.41 kB / 3.055 GB, free: 29.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/7.085, allocations: 105 kB / 3.055 GB, free: 29.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/7.085, allocations: 25.7 kB / 3.055 GB, free: 29.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/7.085, allocations: 104.2 kB / 3.055 GB, free: 29.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/7.085, allocations: 39.45 kB / 3.055 GB, free: 29.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/7.085, allocations: 0 / 3.055 GB, free: 29.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/7.085, allocations: 310.8 kB / 3.056 GB, free: 29.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/7.085, allocations: 31.98 kB / 3.056 GB, free: 29.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/7.085, allocations: 73.92 kB / 3.056 GB, free: 29.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1541/7.24, allocations: 8.793 MB / 3.064 GB, free: 20.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/7.24, allocations: 2.25 kB / 3.064 GB, free: 20.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.1554/7.395, allocations: 8.881 MB / 3.073 GB, free: 11.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/7.395, allocations: 7.938 kB / 3.073 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/7.395, allocations: 4 kB / 3.073 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/7.395, allocations: 3.953 kB / 3.073 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/7.395, allocations: 27.98 kB / 3.073 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/7.395, allocations: 2.734 kB / 3.073 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/7.395, allocations: 11.84 kB / 3.073 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/7.395, allocations: 8 kB / 3.073 GB, free: 11.39 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 8.253e-05/7.396, allocations: 122.2 kB / 3.073 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1547/7.55, allocations: 8.849 MB / 3.082 GB, free: 2.398 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/7.55, allocations: 7.953 kB / 3.082 GB, free: 2.391 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8108/8.361, allocations: 8.877 MB / 3.091 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/8.361, allocations: 2.75 kB / 3.091 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/8.361, allocations: 0 / 3.091 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/8.361, allocations: 0 / 3.091 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/8.361, allocations: 153.6 kB / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/8.361, allocations: 0 / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/8.362, allocations: 23.34 kB / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/8.362, allocations: 2.875 kB / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/8.362, allocations: 0 / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/8.362, allocations: 5.203 kB / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/8.362, allocations: 0 / 3.091 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1568/8.519, allocations: 8.95 MB / 3.1 GB, free: 333.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/8.519, allocations: 93.28 kB / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/8.519, allocations: 0.5156 kB / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/8.519, allocations: 1.547 kB / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/8.519, allocations: 5.703 kB / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/8.519, allocations: 9.469 kB / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.574e-05/8.519, allocations: 86.3 kB / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/8.519, allocations: 0 / 3.1 GB, free: 333.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006517/8.52, allocations: 113 kB / 3.1 GB, free: 333.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 () * 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.1616/8.681, allocations: 10.09 MB / 3.11 GB, free: 332 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002955/8.682, allocations: 76.05 kB / 3.11 GB, free: 332 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/8.682, allocations: 0 / 3.11 GB, free: 332 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/8.682, allocations: 41.08 kB / 3.11 GB, free: 332 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/8.682, allocations: 14.75 kB / 3.11 GB, free: 332 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/8.683, allocations: 182.9 kB / 3.11 GB, free: 331.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/8.683, allocations: 0.6945 MB / 3.111 GB, free: 331.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002833/8.683, allocations: 54.47 kB / 3.111 GB, free: 331.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/8.683, allocations: 21.44 kB / 3.111 GB, free: 331.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/8.683, allocations: 4 kB / 3.111 GB, free: 331.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/8.737, allocations: 6.835 MB / 3.117 GB, free: 330.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/8.737, allocations: 204.3 kB / 3.118 GB, free: 330.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/11.45, allocations: 0 / 3.118 GB, free: 330.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)