Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001255/0.001256, allocations: 172.9 kB / 366.7 MB, free: 1.656 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.085/2.085, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008796/0.0008797, allocations: 86.14 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.606e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.758, allocations: 116.3 MB / 0.9734 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.483/6.241, allocations: 2.055 GB / 3.029 GB, free: 26.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/6.242, allocations: 102.8 kB / 3.029 GB, free: 26.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09443/6.336, allocations: 27.69 MB / 3.056 GB, free: 1.523 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.185e-06/6.336, allocations: 0 / 3.056 GB, free: 1.523 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.654e-06/6.336, allocations: 0 / 3.056 GB, free: 1.523 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.0005443/6.337, allocations: 398.2 kB / 3.056 GB, free: 1.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/6.337, allocations: 16.03 kB / 3.056 GB, free: 1.074 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/6.337, allocations: 3.953 kB / 3.056 GB, free: 1.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/6.337, allocations: 170.9 kB / 3.056 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/6.337, allocations: 0 / 3.056 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/6.337, allocations: 4 kB / 3.056 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001726/6.337, allocations: 63.97 kB / 3.057 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/6.338, allocations: 91.62 kB / 3.057 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/6.338, allocations: 0 / 3.057 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/6.338, allocations: 0 / 3.057 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/6.338, allocations: 15.95 kB / 3.057 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/6.338, allocations: 313.2 kB / 3.057 GB, free: 352 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/6.338, allocations: 91.19 kB / 3.057 GB, free: 252 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/6.338, allocations: 48.92 kB / 3.057 GB, free: 200 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7355/7.074, allocations: 462.5 kB / 3.058 GB, free: 266 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/7.074, allocations: 32.78 kB / 3.058 GB, free: 266 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 3.347e-06/7.074, allocations: 1.625 kB / 3.058 GB, free: 266 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.08277/7.157, allocations: 8.855 MB / 3.066 GB, free: 265.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/7.157, allocations: 59.31 kB / 3.066 GB, free: 265.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/7.157, allocations: 99.77 kB / 3.066 GB, free: 265.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/7.157, allocations: 25.7 kB / 3.066 GB, free: 265.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/7.157, allocations: 100.5 kB / 3.066 GB, free: 265.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/7.157, allocations: 39.25 kB / 3.066 GB, free: 265.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/7.157, allocations: 0 / 3.066 GB, free: 265.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/7.157, allocations: 318 kB / 3.067 GB, free: 265 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/7.157, allocations: 35.72 kB / 3.067 GB, free: 265 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/7.157, allocations: 67.78 kB / 3.067 GB, free: 264.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07447/7.232, allocations: 8.802 MB / 3.075 GB, free: 264.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/7.232, allocations: 0 / 3.075 GB, free: 264.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07608/7.308, allocations: 8.878 MB / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/7.308, allocations: 5.625 kB / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/7.308, allocations: 4.531 kB / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/7.308, allocations: 3.516 kB / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/7.308, allocations: 30.89 kB / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/7.308, allocations: 0 / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/7.308, allocations: 10.62 kB / 3.084 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/7.308, allocations: 9.688 kB / 3.084 GB, free: 263.8 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 0.0001098/7.308, allocations: 112.2 kB / 3.084 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07739/7.386, allocations: 8.848 MB / 3.093 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/7.386, allocations: 7.812 kB / 3.093 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07958/7.466, allocations: 8.873 MB / 3.102 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/7.466, allocations: 5.875 kB / 3.102 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/7.466, allocations: 3.953 kB / 3.102 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/7.466, allocations: 1.031 kB / 3.102 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/7.466, allocations: 157.3 kB / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/7.466, allocations: 2.344 kB / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/7.466, allocations: 18.44 kB / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/7.466, allocations: 0.9375 kB / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/7.466, allocations: 1.031 kB / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/7.466, allocations: 2.469 kB / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/7.466, allocations: 0 / 3.102 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07975/7.546, allocations: 8.958 MB / 3.111 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/7.546, allocations: 94.86 kB / 3.111 GB, free: 261.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/7.546, allocations: 1.062 kB / 3.111 GB, free: 261.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/7.546, allocations: 0 / 3.111 GB, free: 261.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/7.546, allocations: 6.672 kB / 3.111 GB, free: 261.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/7.546, allocations: 3.5 kB / 3.111 GB, free: 261.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.732e-05/7.546, allocations: 88.06 kB / 3.111 GB, free: 261.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.41e-07/7.546, allocations: 4 kB / 3.111 GB, free: 261.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005948/7.547, allocations: 107.3 kB / 3.111 GB, free: 261.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.08221/7.629, allocations: 10.1 MB / 3.121 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003454/7.63, allocations: 69.83 kB / 3.121 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/7.63, allocations: 4.312 kB / 3.121 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/7.63, allocations: 40.05 kB / 3.121 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/7.63, allocations: 9.734 kB / 3.121 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/7.631, allocations: 185.9 kB / 3.121 GB, free: 257.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/7.631, allocations: 0.6969 MB / 3.122 GB, free: 256.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001886/7.631, allocations: 51.7 kB / 3.122 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/7.631, allocations: 21.7 kB / 3.122 GB, free: 256.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/7.632, allocations: 0 / 3.122 GB, free: 256.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/7.668, allocations: 6.842 MB / 3.128 GB, free: 253.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/7.668, allocations: 197.5 kB / 3.129 GB, free: 253.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/9.644, allocations: 0 / 3.129 GB, free: 253.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)