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.443/1.443, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.9 kB / 316.3 MB, free: 3.293 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.657/1.657, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008782/0.0008784, allocations: 85.8 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.302e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.187/6.425, allocations: 2.173 GB / 3.059 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/6.425, allocations: 105.2 kB / 3.059 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05094/6.476, allocations: 27.37 MB / 3.086 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.744e-06/6.476, allocations: 0 / 3.086 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.454e-06/6.476, allocations: 0 / 3.086 GB, free: 168.9 MB / 0.8698 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.0004394/6.477, allocations: 397.5 kB / 3.086 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/6.477, allocations: 8.875 kB / 3.086 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/6.477, allocations: 15.8 kB / 3.086 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/6.477, allocations: 159.1 kB / 3.086 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/6.477, allocations: 4 kB / 3.086 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/6.477, allocations: 4 kB / 3.086 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001527/6.477, allocations: 74.22 kB / 3.086 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/6.477, allocations: 84.34 kB / 3.086 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/6.477, allocations: 4 kB / 3.086 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/6.478, allocations: 3.953 kB / 3.086 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/6.478, allocations: 8.75 kB / 3.086 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/6.478, allocations: 310.8 kB / 3.087 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/6.478, allocations: 96.95 kB / 3.087 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/6.478, allocations: 48.59 kB / 3.087 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/6.479, allocations: 466.5 kB / 3.087 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/6.479, allocations: 38.52 kB / 3.087 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/6.479, allocations: 3.938 kB / 3.087 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.07538/6.554, allocations: 8.845 MB / 3.096 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/6.554, allocations: 59.34 kB / 3.096 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/6.554, allocations: 104.8 kB / 3.096 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/6.554, allocations: 25.7 kB / 3.096 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/6.554, allocations: 96.27 kB / 3.096 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/6.554, allocations: 35.02 kB / 3.096 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/6.554, allocations: 4 kB / 3.096 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/6.554, allocations: 322.6 kB / 3.097 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/6.555, allocations: 22.81 kB / 3.097 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/6.555, allocations: 68.02 kB / 3.097 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07512/6.63, allocations: 8.805 MB / 3.105 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/6.63, allocations: 0 / 3.105 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07607/6.706, allocations: 8.88 MB / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/6.706, allocations: 11.98 kB / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/6.706, allocations: 0 / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/6.706, allocations: 8.109 kB / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/6.706, allocations: 27.98 kB / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/6.706, allocations: 4 kB / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/6.706, allocations: 7.844 kB / 3.114 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/6.706, allocations: 8 kB / 3.114 GB, free: 140.7 MB / 0.8698 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.681e-05/6.706, allocations: 108.7 kB / 3.114 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07607/6.782, allocations: 8.841 MB / 3.123 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/6.782, allocations: 11.86 kB / 3.123 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0743/6.857, allocations: 8.881 MB / 3.131 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/6.857, allocations: 0 / 3.131 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/6.857, allocations: 0 / 3.131 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/6.857, allocations: 3.984 kB / 3.131 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/6.857, allocations: 157.4 kB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/6.857, allocations: 4 kB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/6.857, allocations: 12 kB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/6.857, allocations: 0 / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/6.857, allocations: 11.98 kB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/6.857, allocations: 3.953 kB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/6.857, allocations: 0 / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07479/6.932, allocations: 8.945 MB / 3.14 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/6.932, allocations: 88.97 kB / 3.14 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/6.932, allocations: 4 kB / 3.14 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/6.932, allocations: 256 / 3.14 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/6.932, allocations: 15.94 kB / 3.14 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/6.932, allocations: 4 kB / 3.14 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.504e-05/6.932, allocations: 91.14 kB / 3.14 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.932, allocations: 3.938 kB / 3.14 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004953/6.933, allocations: 105.7 kB / 3.141 GB, free: 114.5 MB / 0.8698 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.07561/7.009, allocations: 10.11 MB / 3.15 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002167/7.009, allocations: 70.36 kB / 3.151 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/7.009, allocations: 0 / 3.151 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/7.009, allocations: 39.61 kB / 3.151 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/7.009, allocations: 12.61 kB / 3.151 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/7.01, allocations: 181.6 kB / 3.151 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/7.01, allocations: 0.6963 MB / 3.151 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001603/7.01, allocations: 52.97 kB / 3.151 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/7.01, allocations: 23.25 kB / 3.151 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of SimCode: time 8.51e-07/7.01, allocations: 0 / 3.151 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/7.037, allocations: 6.84 MB / 3.158 GB, free: 96.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/7.037, allocations: 214.1 kB / 3.158 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/8.835, allocations: 0 / 3.158 GB, free: 96.54 MB / 0.8698 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)