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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007685/0.007685, allocations: 101.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 251.7 MB / 0.5094 GB, free: 3.031 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001512, allocations: 71.91 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1947, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002242/0.197, allocations: 1.331 MB / 0.8294 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6551/0.852, allocations: 147.9 MB / 0.9738 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.8522, allocations: 0 / 0.9738 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.048e-05/0.8522, allocations: 3.969 kB / 0.9738 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.8525, allocations: 45.69 kB / 0.9738 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.8537, allocations: 364.7 kB / 0.9742 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.8538, allocations: 66.38 kB / 0.9742 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.8539, allocations: 8.281 kB / 0.9743 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.8539, allocations: 30.61 kB / 0.9743 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.854, allocations: 54.5 kB / 0.9743 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.8541, allocations: 2.188 kB / 0.9743 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.8548, allocations: 416.7 kB / 0.9747 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.8549, allocations: 30.33 kB / 0.9748 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.855, allocations: 29.11 kB / 0.9748 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.8554, allocations: 269.9 kB / 0.9751 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8554, allocations: 0 / 0.9751 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8555, allocations: 1.312 kB / 0.9751 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8555, allocations: 0 / 0.9751 GB, free: 7.355 MB / 0.7325 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.0004698/0.8559, allocations: 394.8 kB / 0.9754 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.856, allocations: 8.406 kB / 0.9754 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.856, allocations: 11.75 kB / 0.9754 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.8562, allocations: 168 kB / 0.9756 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8562, allocations: 8.094 kB / 0.9756 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.8562, allocations: 6.062 kB / 0.9756 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.8564, allocations: 98.03 kB / 0.9757 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.8564, allocations: 0 / 0.9757 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8564, allocations: 0 / 0.9757 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.8565, allocations: 12.17 kB / 0.9757 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.8566, allocations: 78.97 kB / 0.9758 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.8571, allocations: 342.3 kB / 0.9761 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.8573, allocations: 99.27 kB / 0.9762 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.8574, allocations: 50.28 kB / 0.9763 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009189/0.8583, allocations: 477.4 kB / 0.9767 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.8583, allocations: 38.06 kB / 0.9768 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.8583, allocations: 0 / 0.9768 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003104/0.8587, allocations: 120.5 kB / 0.9769 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8587, allocations: 60.53 kB / 0.9769 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.8588, allocations: 116.3 kB / 0.977 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8588, allocations: 25.7 kB / 0.9771 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.8589, allocations: 96.28 kB / 0.9772 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.8589, allocations: 48.28 kB / 0.9772 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.859, allocations: 31 kB / 0.9772 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8591, allocations: 318.5 kB / 0.9775 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.8592, allocations: 35.22 kB / 0.9776 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.8592, allocations: 69.52 kB / 0.9776 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.8594, allocations: 113.7 kB / 0.9778 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8594, allocations: 1.125 kB / 0.9778 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001935/0.8596, allocations: 139.4 kB / 0.9779 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8596, allocations: 6.188 kB / 0.9779 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8596, allocations: 1.25 kB / 0.9779 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8597, allocations: 2.281 kB / 0.9779 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8598, allocations: 34.11 kB / 0.9779 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8598, allocations: 6.094 kB / 0.9779 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.8598, allocations: 14.66 kB / 0.9779 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.8599, allocations: 4.562 kB / 0.978 GB, free: 5.027 MB / 0.7325 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.0001056/0.86, allocations: 129.4 kB / 0.9781 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.86, allocations: 17.11 kB / 0.9781 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.8602, allocations: 116.1 kB / 0.9782 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8602, allocations: 1.125 kB / 0.9782 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8603, allocations: 3.938 kB / 0.9782 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8603, allocations: 3.125 kB / 0.9782 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.8604, allocations: 181.3 kB / 0.9784 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8604, allocations: 2.125 kB / 0.9784 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.8605, allocations: 21.89 kB / 0.9784 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8605, allocations: 4 kB / 0.9784 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.8605, allocations: 1.5 kB / 0.9784 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8606, allocations: 0 / 0.9784 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8606, allocations: 7.75 kB / 0.9784 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.8607, allocations: 200.6 kB / 0.9786 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.8608, allocations: 91.98 kB / 0.9787 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.8608, allocations: 3.859 kB / 0.9787 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.607e-05/0.8609, allocations: 3.375 kB / 0.9787 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.8609, allocations: 13.75 kB / 0.9787 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.8609, allocations: 3 kB / 0.9787 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.861, allocations: 94.72 kB / 0.9788 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.861, allocations: 0 / 0.9788 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003485/0.8613, allocations: 81.2 kB / 0.9789 GB, free: 4.312 MB / 0.7325 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.0003133/0.8616, allocations: 189.5 kB / 0.9791 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.8618, allocations: 84.53 kB / 0.9791 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.8618, allocations: 0 / 0.9791 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.8619, allocations: 36.92 kB / 0.9792 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.8622, allocations: 15.66 kB / 0.9792 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.8625, allocations: 175.2 kB / 0.9794 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.8627, allocations: 0.6912 MB / 0.98 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.8628, allocations: 53.25 kB / 0.9801 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.8629, allocations: 15.69 kB / 0.9801 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8629, allocations: 0 / 0.9801 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of Templates: time 0.004568/0.8675, allocations: 1.921 MB / 0.982 GB, free: 3.184 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)