Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 188.3 kB / 16.64 MB, free: 6.594 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.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.00143/0.00143, allocations: 66.75 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2084, allocations: 114.5 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002294/0.2108, allocations: 1.341 MB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5279/0.7386, allocations: 147.9 MB / 0.9294 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.7387, allocations: 0 / 0.9294 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.7388, allocations: 4.547 kB / 0.9294 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.739, allocations: 43.33 kB / 0.9294 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009979/0.74, allocations: 357.5 kB / 0.9298 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.7401, allocations: 66.36 kB / 0.9298 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.7401, allocations: 5.875 kB / 0.9298 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.7402, allocations: 34.14 kB / 0.9299 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.7403, allocations: 48.91 kB / 0.9299 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.7403, allocations: 2.969 kB / 0.9299 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.741, allocations: 412.5 kB / 0.9303 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.7411, allocations: 29.61 kB / 0.9303 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.7411, allocations: 29.7 kB / 0.9304 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.7416, allocations: 273.2 kB / 0.9306 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7416, allocations: 0 / 0.9306 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7416, allocations: 0 / 0.9306 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.7416, allocations: 0 / 0.9306 GB, free: 3.047 MB / 0.7169 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.0004945/0.7421, allocations: 400.4 kB / 0.931 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.7421, allocations: 7.812 kB / 0.931 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.7422, allocations: 38.84 kB / 0.931 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.7422, allocations: 7.625 kB / 0.9311 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.7423, allocations: 174 kB / 0.9312 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.7423, allocations: 2.719 kB / 0.9312 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.7423, allocations: 2.594 kB / 0.9312 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.7425, allocations: 97.39 kB / 0.9313 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7425, allocations: 0 / 0.9313 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.7425, allocations: 3.312 kB / 0.9313 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.7426, allocations: 10.12 kB / 0.9313 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.7427, allocations: 83.19 kB / 0.9314 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.7431, allocations: 343.4 kB / 0.9317 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.7433, allocations: 100.4 kB / 0.9318 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.7433, allocations: 53.02 kB / 0.9319 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.7441, allocations: 467 kB / 0.9323 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.7441, allocations: 39.8 kB / 0.9324 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.7441, allocations: 0 / 0.9324 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002321/0.7444, allocations: 122.8 kB / 0.9325 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.7444, allocations: 58.11 kB / 0.9325 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.7445, allocations: 114.3 kB / 0.9326 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7445, allocations: 25.7 kB / 0.9327 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.7446, allocations: 100 kB / 0.9328 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.7446, allocations: 42.91 kB / 0.9328 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.7446, allocations: 36.89 kB / 0.9328 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.7447, allocations: 318.8 kB / 0.9331 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.7448, allocations: 29.72 kB / 0.9332 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.7448, allocations: 70.11 kB / 0.9332 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.745, allocations: 117.1 kB / 0.9334 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.745, allocations: 0.5625 kB / 0.9334 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001696/0.7451, allocations: 144.8 kB / 0.9335 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7452, allocations: 9.969 kB / 0.9335 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.7452, allocations: 2.625 kB / 0.9335 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.7452, allocations: 6.562 kB / 0.9335 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7453, allocations: 29.14 kB / 0.9335 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7453, allocations: 4.125 kB / 0.9335 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.7454, allocations: 12.28 kB / 0.9336 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.7454, allocations: 8.5 kB / 0.9336 GB, free: 16.7 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 7.003e-05/0.7455, allocations: 119.3 kB / 0.9337 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.7455, allocations: 7.141 kB / 0.9337 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.7457, allocations: 131.9 kB / 0.9338 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7457, allocations: 0 / 0.9338 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7457, allocations: 0.7031 kB / 0.9338 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7457, allocations: 3.234 kB / 0.9338 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.7459, allocations: 180 kB / 0.934 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7459, allocations: 0.7031 kB / 0.934 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.7459, allocations: 15.16 kB / 0.934 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.746, allocations: 7.219 kB / 0.934 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.746, allocations: 10.77 kB / 0.934 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.746, allocations: 0.7031 kB / 0.934 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.746, allocations: 0 / 0.934 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.7461, allocations: 204.5 kB / 0.9342 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.7462, allocations: 93.2 kB / 0.9343 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7462, allocations: 5.938 kB / 0.9343 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.7463, allocations: 4.312 kB / 0.9343 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.7463, allocations: 8.438 kB / 0.9343 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.7463, allocations: 4.609 kB / 0.9343 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.7463, allocations: 91.62 kB / 0.9344 GB, free: 16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7464, allocations: 0 / 0.9344 GB, free: 16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003258/0.7467, allocations: 79.39 kB / 0.9345 GB, free: 15.98 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.0005752/0.7473, allocations: 0.815 MB / 0.9353 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.7474, allocations: 88.73 kB / 0.9354 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7474, allocations: 0 / 0.9354 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.7475, allocations: 40.7 kB / 0.9354 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.7477, allocations: 24.67 kB / 0.9354 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.7482, allocations: 240.9 kB / 0.9357 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.7484, allocations: 0.6913 MB / 0.9363 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000105/0.7485, allocations: 53.91 kB / 0.9364 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.7486, allocations: 21.78 kB / 0.9364 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.7486, allocations: 0 / 0.9364 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.7654, allocations: 3.179 MB / 0.9395 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.782, allocations: 12.12 kB / 0.9395 GB, free: 13.93 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)