Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.435/1.435, allocations: 287.4 MB / 302.5 MB, free: 8.297 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.0008506/0.0008505, allocations: 175.1 kB / 371.1 MB, free: 10.84 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.209/1.209, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006945/0.0006946, allocations: 91.58 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003391, allocations: 11.44 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001071/0.1756, allocations: 1.045 MB / 0.9798 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4863/0.6619, allocations: 134.3 MB / 1.111 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.662, allocations: 0 / 1.111 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.6621, allocations: 1.172 kB / 1.111 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.6622, allocations: 44.53 kB / 1.111 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.6631, allocations: 256.4 kB / 1.111 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.6633, allocations: 140.4 kB / 1.111 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.6633, allocations: 4.812 kB / 1.111 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.6634, allocations: 32.69 kB / 1.111 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.6635, allocations: 59.03 kB / 1.111 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.6635, allocations: 2.188 kB / 1.111 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.6641, allocations: 308.5 kB / 1.112 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.6642, allocations: 26.69 kB / 1.112 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.6642, allocations: 33.39 kB / 1.112 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.6645, allocations: 176.8 kB / 1.112 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6645, allocations: 0 / 1.112 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6645, allocations: 0 / 1.112 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6645, allocations: 1.375 kB / 1.112 GB, free: 1.922 MB / 0.6823 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.0004295/0.6649, allocations: 388.5 kB / 1.112 GB, free: 17.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.665, allocations: 9.938 kB / 1.112 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.665, allocations: 38.02 kB / 1.112 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.6651, allocations: 8.188 kB / 1.112 GB, free: 17.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6652, allocations: 167.1 kB / 1.113 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6652, allocations: 8.5 kB / 1.113 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6652, allocations: 6.25 kB / 1.113 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.6654, allocations: 96.95 kB / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6654, allocations: 0 / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6654, allocations: 0 / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.6655, allocations: 12.19 kB / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.6656, allocations: 79.22 kB / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.666, allocations: 342.1 kB / 1.113 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.6662, allocations: 99.62 kB / 1.113 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.6663, allocations: 56.44 kB / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/0.6671, allocations: 483.4 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.6671, allocations: 35.75 kB / 1.114 GB, free: 16.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.6671, allocations: 3.719 kB / 1.114 GB, free: 16.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002279/0.6674, allocations: 118.4 kB / 1.114 GB, free: 16.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.6674, allocations: 60.69 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.6675, allocations: 114.2 kB / 1.114 GB, free: 16.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.6675, allocations: 29.64 kB / 1.114 GB, free: 16.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.6675, allocations: 100.3 kB / 1.114 GB, free: 16.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.6676, allocations: 36.62 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.6676, allocations: 3.344 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.6677, allocations: 319.6 kB / 1.114 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.6677, allocations: 27.8 kB / 1.114 GB, free: 15.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.6678, allocations: 74.5 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.6679, allocations: 114.8 kB / 1.115 GB, free: 15.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6679, allocations: 0 / 1.115 GB, free: 15.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001905/0.6681, allocations: 138.5 kB / 1.115 GB, free: 15.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6682, allocations: 7.344 kB / 1.115 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6682, allocations: 2.125 kB / 1.115 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6682, allocations: 7.969 kB / 1.115 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6683, allocations: 29.34 kB / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6683, allocations: 2.219 kB / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.6684, allocations: 14.3 kB / 1.115 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.6684, allocations: 10.56 kB / 1.115 GB, free: 15.59 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 8.061e-05/0.6685, allocations: 130.1 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.6685, allocations: 8.562 kB / 1.115 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.6687, allocations: 123 kB / 1.115 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6687, allocations: 1.156 kB / 1.115 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6687, allocations: 5.094 kB / 1.115 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6687, allocations: 0.6562 kB / 1.115 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.6689, allocations: 185.2 kB / 1.115 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6689, allocations: 0.7031 kB / 1.115 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.669, allocations: 20.44 kB / 1.115 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.669, allocations: 1.641 kB / 1.115 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.669, allocations: 8.75 kB / 1.115 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.669, allocations: 1 kB / 1.115 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.669, allocations: 0.75 kB / 1.115 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.6692, allocations: 200.6 kB / 1.116 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.6692, allocations: 98.38 kB / 1.116 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.6693, allocations: 5.875 kB / 1.116 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.6693, allocations: 3.25 kB / 1.116 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.6693, allocations: 6.844 kB / 1.116 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.6694, allocations: 2.219 kB / 1.116 GB, free: 14.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.6694, allocations: 89.47 kB / 1.116 GB, free: 14.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6694, allocations: 0 / 1.116 GB, free: 14.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003065/0.6697, allocations: 76.92 kB / 1.116 GB, free: 14.89 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.0006024/0.6703, allocations: 0.8067 MB / 1.117 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.6705, allocations: 93.02 kB / 1.117 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6705, allocations: 0.9688 kB / 1.117 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.6706, allocations: 38.91 kB / 1.117 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.6708, allocations: 20.97 kB / 1.117 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.6713, allocations: 265.3 kB / 1.117 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.6715, allocations: 0.6903 MB / 1.118 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.6717, allocations: 62.14 kB / 1.118 GB, free: 13.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.6717, allocations: 20.09 kB / 1.118 GB, free: 13.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6717, allocations: 0 / 1.118 GB, free: 13.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1878/0.8595, allocations: 2.924 MB / 1.121 GB, free: 13.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.8598, allocations: 249.5 kB / 1.121 GB, free: 12.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.463, allocations: 4 kB / 1.121 GB, free: 12.71 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)