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.00115/0.00115, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.00865/0.00865, allocations: 169.4 kB / 16.26 MB, free: 6.613 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.336/1.336, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004798/0.0004798, allocations: 18.62 kB / 0.6745 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.178, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001251/0.1793, allocations: 1.057 MB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4879/0.6672, allocations: 144 MB / 0.9297 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.6673, allocations: 0 / 0.9297 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.6674, allocations: 8.297 kB / 0.9297 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.6675, allocations: 38.31 kB / 0.9298 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.6684, allocations: 317.8 kB / 0.9301 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.6685, allocations: 192.4 kB / 0.9302 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.6686, allocations: 3.766 kB / 0.9302 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.6686, allocations: 31.55 kB / 0.9303 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.6687, allocations: 52.33 kB / 0.9303 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.6687, allocations: 2.312 kB / 0.9303 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.6693, allocations: 444.6 kB / 0.9308 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.6694, allocations: 29.95 kB / 0.9308 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.6695, allocations: 49 kB / 0.9308 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.6699, allocations: 298 kB / 0.9311 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6699, allocations: 0 / 0.9311 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6699, allocations: 0 / 0.9311 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.6699, allocations: 0 / 0.9311 GB, free: 17.45 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.0003881/0.6703, allocations: 389.7 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6703, allocations: 14.03 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.6704, allocations: 38.11 kB / 0.9315 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.6704, allocations: 3.812 kB / 0.9315 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6705, allocations: 174.7 kB / 0.9317 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.6705, allocations: 4 kB / 0.9317 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.6705, allocations: 7.969 kB / 0.9317 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.6707, allocations: 92.48 kB / 0.9318 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.6707, allocations: 0 / 0.9318 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.6707, allocations: 6.797 kB / 0.9318 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.6707, allocations: 9.969 kB / 0.9318 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.6709, allocations: 78.75 kB / 0.9319 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.6712, allocations: 341.3 kB / 0.9322 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.6714, allocations: 99.27 kB / 0.9323 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.6715, allocations: 54.33 kB / 0.9324 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008047/0.6723, allocations: 491.1 kB / 0.9328 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.6723, allocations: 36.67 kB / 0.9329 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.6723, allocations: 0 / 0.9329 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002204/0.6725, allocations: 125 kB / 0.933 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6726, allocations: 54.03 kB / 0.933 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.6727, allocations: 123 kB / 0.9332 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.6727, allocations: 29.7 kB / 0.9332 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.6727, allocations: 96.53 kB / 0.9333 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.6727, allocations: 42.41 kB / 0.9333 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.6728, allocations: 14.91 kB / 0.9333 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6729, allocations: 321.3 kB / 0.9336 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.673, allocations: 26.3 kB / 0.9337 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.673, allocations: 78.22 kB / 0.9337 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.6731, allocations: 115.7 kB / 0.9338 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6731, allocations: 0 / 0.9338 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000166/0.6733, allocations: 136.3 kB / 0.934 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.6733, allocations: 8.016 kB / 0.934 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6733, allocations: 6.562 kB / 0.934 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6734, allocations: 3.938 kB / 0.934 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.6735, allocations: 26.56 kB / 0.934 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6735, allocations: 0 / 0.934 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.6735, allocations: 16.75 kB / 0.934 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6735, allocations: 8.031 kB / 0.934 GB, free: 15.09 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 8.094e-05/0.6736, allocations: 126.4 kB / 0.9342 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.6736, allocations: 10.12 kB / 0.9342 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.6739, allocations: 130.9 kB / 0.9343 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6739, allocations: 2.719 kB / 0.9343 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6739, allocations: 0 / 0.9343 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6739, allocations: 3 kB / 0.9343 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.674, allocations: 177.5 kB / 0.9345 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.674, allocations: 4 kB / 0.9345 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.6741, allocations: 15.77 kB / 0.9345 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6741, allocations: 2.656 kB / 0.9345 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.6741, allocations: 7.625 kB / 0.9345 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6741, allocations: 0 / 0.9345 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6741, allocations: 4.828 kB / 0.9345 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.6743, allocations: 197.8 kB / 0.9347 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.6744, allocations: 92.59 kB / 0.9348 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.6744, allocations: 13.25 kB / 0.9348 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.6744, allocations: 3.75 kB / 0.9348 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.6745, allocations: 5.375 kB / 0.9348 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.6745, allocations: 2.938 kB / 0.9348 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.6745, allocations: 92.22 kB / 0.9349 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6745, allocations: 0 / 0.9349 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003143/0.6748, allocations: 74.94 kB / 0.935 GB, free: 14.38 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.000588/0.6754, allocations: 0.8162 MB / 0.9358 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.6756, allocations: 87.31 kB / 0.9358 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6756, allocations: 320 / 0.9358 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.6756, allocations: 43.47 kB / 0.9359 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.6759, allocations: 20.47 kB / 0.9359 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.6764, allocations: 266 kB / 0.9362 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.6767, allocations: 0.6941 MB / 0.9368 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.6768, allocations: 52.47 kB / 0.9369 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.6769, allocations: 20.91 kB / 0.9369 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6769, allocations: 4 kB / 0.9369 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.6884, allocations: 2.953 MB / 0.9398 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6886, allocations: 256.7 kB / 0.94 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.327, allocations: 5.75 kB / 0.94 GB, free: 12.2 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)