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.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001459/0.001459, allocations: 181 kB / 371.8 MB, free: 10.27 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.369/1.369, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008773, allocations: 94.78 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 12.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001247/0.2193, allocations: 1.03 MB / 0.9805 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6406/0.86, allocations: 125 MB / 1.103 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.167e-05/0.8601, allocations: 3.938 kB / 1.103 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.8601, allocations: 4.984 kB / 1.103 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.8603, allocations: 29.3 kB / 1.103 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.8612, allocations: 238.6 kB / 1.103 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.8613, allocations: 32.02 kB / 1.103 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.8614, allocations: 5.875 kB / 1.103 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.8614, allocations: 23.31 kB / 1.103 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.8615, allocations: 35.77 kB / 1.103 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.8615, allocations: 4.625 kB / 1.103 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006003/0.8621, allocations: 290.1 kB / 1.103 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.8622, allocations: 27.92 kB / 1.103 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.8623, allocations: 34.2 kB / 1.103 GB, free: 18.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.8626, allocations: 146.4 kB / 1.103 GB, free: 18.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.8627, allocations: 1.188 kB / 1.103 GB, free: 18.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8627, allocations: 0 / 1.103 GB, free: 18.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.8627, allocations: 0 / 1.103 GB, free: 18.6 MB / 0.698 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.0004029/0.8631, allocations: 389.3 kB / 1.104 GB, free: 18.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8631, allocations: 16.55 kB / 1.104 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.8632, allocations: 38.89 kB / 1.104 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.8632, allocations: 7.031 kB / 1.104 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.8633, allocations: 164.9 kB / 1.104 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.8633, allocations: 1.188 kB / 1.104 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.8634, allocations: 6.672 kB / 1.104 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.8636, allocations: 90.28 kB / 1.104 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8636, allocations: 0 / 1.104 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8636, allocations: 10.98 kB / 1.104 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.8637, allocations: 11.7 kB / 1.104 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.8638, allocations: 83.5 kB / 1.104 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.8643, allocations: 333.4 kB / 1.104 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.8645, allocations: 101.5 kB / 1.105 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/0.8654, allocations: 489.6 kB / 1.105 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.8654, allocations: 37.7 kB / 1.105 GB, free: 17.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.8654, allocations: 1.438 kB / 1.105 GB, free: 17.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000291/0.8657, allocations: 122.4 kB / 1.105 GB, free: 17.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.8658, allocations: 57 kB / 1.105 GB, free: 17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.8659, allocations: 111.1 kB / 1.105 GB, free: 16.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.8659, allocations: 26.61 kB / 1.105 GB, free: 16.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.866, allocations: 106.4 kB / 1.105 GB, free: 16.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.866, allocations: 36.91 kB / 1.106 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.866, allocations: 4.125 kB / 1.106 GB, free: 16.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8661, allocations: 315.2 kB / 1.106 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.8662, allocations: 38.81 kB / 1.106 GB, free: 16.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.8663, allocations: 69.22 kB / 1.106 GB, free: 16.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.8664, allocations: 40.56 kB / 1.106 GB, free: 16.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8664, allocations: 7.234 kB / 1.106 GB, free: 16.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002569/0.8666, allocations: 135.7 kB / 1.106 GB, free: 16.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.8667, allocations: 11.36 kB / 1.106 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8667, allocations: 2.344 kB / 1.106 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.8667, allocations: 2.219 kB / 1.106 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.8669, allocations: 30.67 kB / 1.106 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8669, allocations: 1.969 kB / 1.106 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.8669, allocations: 14.91 kB / 1.106 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.8669, allocations: 5.219 kB / 1.106 GB, free: 16.32 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.867, allocations: 124.4 kB / 1.106 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.8671, allocations: 14.91 kB / 1.106 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.8673, allocations: 126 kB / 1.106 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8673, allocations: 1.5 kB / 1.106 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8674, allocations: 1.875 kB / 1.106 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8674, allocations: 4 kB / 1.106 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.8676, allocations: 184.3 kB / 1.107 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8676, allocations: 0 / 1.107 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.8677, allocations: 18.86 kB / 1.107 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8677, allocations: 3.656 kB / 1.107 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8677, allocations: 1.438 kB / 1.107 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8677, allocations: 7.891 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8677, allocations: 1.062 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.868, allocations: 199.7 kB / 1.107 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.8681, allocations: 89.56 kB / 1.107 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.8681, allocations: 8.594 kB / 1.107 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.8682, allocations: 3.406 kB / 1.107 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.8682, allocations: 9.094 kB / 1.107 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.8682, allocations: 2.719 kB / 1.107 GB, free: 15.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.8683, allocations: 95.34 kB / 1.107 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8683, allocations: 0 / 1.107 GB, free: 15.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004338/0.8687, allocations: 75.83 kB / 1.107 GB, free: 15.61 MB / 0.698 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 (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.0009735/0.8697, allocations: 0.8092 MB / 1.108 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.87, allocations: 86.17 kB / 1.108 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.87, allocations: 0 / 1.108 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.8701, allocations: 39.88 kB / 1.108 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.8703, allocations: 23.09 kB / 1.108 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.871, allocations: 263.4 kB / 1.108 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.8713, allocations: 0.698 MB / 1.109 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.8715, allocations: 48.05 kB / 1.109 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.8716, allocations: 19.47 kB / 1.109 GB, free: 14.02 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8716, allocations: 1.859 kB / 1.109 GB, free: 14.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.8891, allocations: 2.935 MB / 1.112 GB, free: 13.76 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.8894, allocations: 260.2 kB / 1.112 GB, free: 13.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.516, allocations: 0 / 1.112 GB, free: 13.42 MB / 0.698 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)