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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 194.4 kB / 16.14 MB, free: 6.707 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.248/1.248, allocations: 205.1 MB / 222 MB, free: 4.781 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.644/1.644, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001623/0.001623, allocations: 67.03 kB / 0.671 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1691, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002172/0.1713, allocations: 1.388 MB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4529/0.6243, allocations: 145.6 MB / 0.9264 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.6244, allocations: 0 / 0.9264 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.6244, allocations: 4 kB / 0.9264 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.6246, allocations: 41.03 kB / 0.9264 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.6254, allocations: 315.8 kB / 0.9267 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.6256, allocations: 191.1 kB / 0.9269 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.6256, allocations: 6.781 kB / 0.9269 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.6256, allocations: 28.44 kB / 0.9269 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.6258, allocations: 60 kB / 0.927 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.6258, allocations: 2.625 kB / 0.927 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006734/0.6265, allocations: 440.6 kB / 0.9274 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.6265, allocations: 31.8 kB / 0.9274 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.6266, allocations: 27.44 kB / 0.9275 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.627, allocations: 289.1 kB / 0.9277 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.627, allocations: 0 / 0.9277 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.41e-07/0.627, allocations: 0 / 0.9277 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.627, allocations: 4.938 kB / 0.9277 GB, free: 5.859 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.0004227/0.6274, allocations: 398.8 kB / 0.9281 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6275, allocations: 8.875 kB / 0.9281 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.6275, allocations: 34.86 kB / 0.9282 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.6276, allocations: 7.656 kB / 0.9282 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.6276, allocations: 171.3 kB / 0.9283 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.6277, allocations: 2.062 kB / 0.9283 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.6277, allocations: 2.656 kB / 0.9283 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.6278, allocations: 97.45 kB / 0.9284 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6278, allocations: 2.062 kB / 0.9284 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.6279, allocations: 0 / 0.9284 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.6279, allocations: 14.58 kB / 0.9284 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.628, allocations: 81.56 kB / 0.9285 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.6284, allocations: 341 kB / 0.9288 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.6286, allocations: 102.1 kB / 0.9289 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.6286, allocations: 54.2 kB / 0.929 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008238/0.6295, allocations: 466.5 kB / 0.9294 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.6295, allocations: 35.27 kB / 0.9295 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.6295, allocations: 1.094 kB / 0.9295 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0002454/0.6298, allocations: 130.1 kB / 0.9296 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.6298, allocations: 52.89 kB / 0.9296 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.6299, allocations: 117.5 kB / 0.9298 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.6299, allocations: 29.73 kB / 0.9298 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.6299, allocations: 98.06 kB / 0.9299 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.63, allocations: 38.72 kB / 0.9299 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.63, allocations: 36.25 kB / 0.93 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.6301, allocations: 318.6 kB / 0.9303 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.6302, allocations: 35.44 kB / 0.9303 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.6302, allocations: 69.02 kB / 0.9304 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.6304, allocations: 115.8 kB / 0.9305 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6304, allocations: 1.594 kB / 0.9305 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001965/0.6306, allocations: 138.2 kB / 0.9306 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6306, allocations: 4.719 kB / 0.9306 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6306, allocations: 1.875 kB / 0.9306 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6306, allocations: 5.875 kB / 0.9306 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.6307, allocations: 28.92 kB / 0.9306 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6308, allocations: 7.219 kB / 0.9306 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.6308, allocations: 15.31 kB / 0.9307 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.6308, allocations: 6.344 kB / 0.9307 GB, free: 19.55 MB / 0.7481 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.399e-05/0.6309, allocations: 122.3 kB / 0.9308 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.6309, allocations: 7.797 kB / 0.9308 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.6312, allocations: 131.6 kB / 0.9309 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6312, allocations: 1.812 kB / 0.9309 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6312, allocations: 4.219 kB / 0.9309 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6312, allocations: 1.375 kB / 0.9309 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.6314, allocations: 184.1 kB / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6314, allocations: 0.8438 kB / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.6314, allocations: 17.42 kB / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6314, allocations: 0.75 kB / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6315, allocations: 9.406 kB / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6315, allocations: 5.703 kB / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6315, allocations: 0 / 0.9311 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.6316, allocations: 203.3 kB / 0.9313 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.6317, allocations: 90.56 kB / 0.9314 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.6317, allocations: 8.344 kB / 0.9314 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.6318, allocations: 0.6562 kB / 0.9314 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.6318, allocations: 6.781 kB / 0.9314 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.6318, allocations: 8.375 kB / 0.9314 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.6319, allocations: 86.02 kB / 0.9315 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6319, allocations: 4 kB / 0.9315 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003283/0.6322, allocations: 79.94 kB / 0.9316 GB, free: 18.84 MB / 0.7481 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.0005985/0.6328, allocations: 0.813 MB / 0.9324 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.633, allocations: 87.05 kB / 0.9325 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.633, allocations: 0 / 0.9325 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.633, allocations: 42.55 kB / 0.9325 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.6333, allocations: 14.67 kB / 0.9325 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.6338, allocations: 261.5 kB / 0.9328 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.634, allocations: 0.6943 MB / 0.9335 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.6341, allocations: 53.91 kB / 0.9335 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.6341, allocations: 21.59 kB / 0.9335 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.6342, allocations: 0 / 0.9335 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/0.7577, allocations: 3.034 MB / 0.9365 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.758, allocations: 262.6 kB / 0.9367 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.49, allocations: 0 / 0.9367 GB, free: 16.62 MB / 0.7481 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)