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.873/1.873, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.001168/0.001168, allocations: 172.5 kB / 372.2 MB, free: 10.13 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.245/1.245, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0008142/0.0008142, allocations: 94.34 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 12.59 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001066/0.1724, allocations: 1.045 MB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4666/0.639, allocations: 134.3 MB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.6391, allocations: 5.25 kB / 1.112 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.6392, allocations: 1.453 kB / 1.112 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.6393, allocations: 41.53 kB / 1.112 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.6402, allocations: 300.3 kB / 1.113 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.6404, allocations: 143.5 kB / 1.113 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.6404, allocations: 2.891 kB / 1.113 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.6405, allocations: 31.92 kB / 1.113 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.6406, allocations: 57.7 kB / 1.113 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.6406, allocations: 1.281 kB / 1.113 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007172/0.6413, allocations: 425.4 kB / 1.113 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.6414, allocations: 32.69 kB / 1.113 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.6415, allocations: 52.12 kB / 1.113 GB, free: 18.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.6418, allocations: 188.4 kB / 1.114 GB, free: 18.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6418, allocations: 1.969 kB / 1.114 GB, free: 18.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6418, allocations: 5.375 kB / 1.114 GB, free: 18.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.6418, allocations: 0 / 1.114 GB, free: 18.62 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.0003271/0.6422, allocations: 392.6 kB / 1.114 GB, free: 18.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6422, allocations: 11.48 kB / 1.114 GB, free: 18.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.6423, allocations: 37.3 kB / 1.114 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.6423, allocations: 3.688 kB / 1.114 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.546e-05/0.6424, allocations: 172 kB / 1.114 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.6424, allocations: 1.375 kB / 1.114 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.6424, allocations: 1.375 kB / 1.114 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.6426, allocations: 99.25 kB / 1.114 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.6426, allocations: 0 / 1.114 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.6426, allocations: 1.281 kB / 1.114 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.6426, allocations: 11.72 kB / 1.114 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.6428, allocations: 79 kB / 1.114 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.6431, allocations: 333.9 kB / 1.115 GB, free: 17.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.6433, allocations: 109.7 kB / 1.115 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.6434, allocations: 54.97 kB / 1.115 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007432/0.6441, allocations: 484.5 kB / 1.115 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.6441, allocations: 33.72 kB / 1.115 GB, free: 17.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.6441, allocations: 0 / 1.115 GB, free: 17.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002289/0.6444, allocations: 129.6 kB / 1.115 GB, free: 17.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.6444, allocations: 52.75 kB / 1.116 GB, free: 17.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.6445, allocations: 119.4 kB / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.6445, allocations: 25.7 kB / 1.116 GB, free: 16.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.6446, allocations: 99.56 kB / 1.116 GB, free: 16.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.6446, allocations: 39.56 kB / 1.116 GB, free: 16.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.6446, allocations: 4.5 kB / 1.116 GB, free: 16.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.6447, allocations: 317.8 kB / 1.116 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.6447, allocations: 27.23 kB / 1.116 GB, free: 16.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.6448, allocations: 71.97 kB / 1.116 GB, free: 16.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.6449, allocations: 123.5 kB / 1.116 GB, free: 16.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6449, allocations: 1.375 kB / 1.116 GB, free: 16.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001727/0.6451, allocations: 135.6 kB / 1.116 GB, free: 16.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6451, allocations: 9.953 kB / 1.116 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6451, allocations: 1.531 kB / 1.116 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6451, allocations: 6.781 kB / 1.116 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.6452, allocations: 28 kB / 1.116 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6453, allocations: 3.594 kB / 1.116 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.6453, allocations: 10.72 kB / 1.116 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6453, allocations: 10.72 kB / 1.117 GB, free: 16.3 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 7.123e-05/0.6454, allocations: 128.6 kB / 1.117 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.6454, allocations: 11.5 kB / 1.117 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.6456, allocations: 123.8 kB / 1.117 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6456, allocations: 5.312 kB / 1.117 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6457, allocations: 4.641 kB / 1.117 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6457, allocations: 2.109 kB / 1.117 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.6458, allocations: 178.3 kB / 1.117 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6458, allocations: 0 / 1.117 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.6459, allocations: 19.77 kB / 1.117 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.6459, allocations: 4.938 kB / 1.117 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.6459, allocations: 5.422 kB / 1.117 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6459, allocations: 1.688 kB / 1.117 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6459, allocations: 0 / 1.117 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.6461, allocations: 193.5 kB / 1.117 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.6461, allocations: 102.6 kB / 1.117 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6461, allocations: 12.19 kB / 1.117 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.6462, allocations: 2.156 kB / 1.117 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.6462, allocations: 8.719 kB / 1.117 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.6462, allocations: 10.08 kB / 1.117 GB, free: 15.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.6463, allocations: 86.45 kB / 1.117 GB, free: 15.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6463, allocations: 0 / 1.117 GB, free: 15.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003331/0.6466, allocations: 78.62 kB / 1.117 GB, free: 15.58 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.0006059/0.6472, allocations: 0.8152 MB / 1.118 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.6474, allocations: 86.81 kB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6474, allocations: 0 / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.6475, allocations: 36.47 kB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.6477, allocations: 18.41 kB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.6482, allocations: 267.1 kB / 1.119 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.6484, allocations: 0.6891 MB / 1.119 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.6485, allocations: 54.89 kB / 1.119 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.6486, allocations: 18.41 kB / 1.119 GB, free: 13.99 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.6486, allocations: 0 / 1.119 GB, free: 13.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/0.9272, allocations: 2.943 MB / 1.122 GB, free: 13.73 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.9274, allocations: 255.3 kB / 1.122 GB, free: 13.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.715, allocations: 4.344 kB / 1.122 GB, free: 13.4 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)