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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.322/1.322, allocations: 205.1 MB / 222 MB, free: 4.773 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.728/1.728, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001282/0.001282, allocations: 67.62 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2047, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002248/0.207, allocations: 1.388 MB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5155/0.7225, allocations: 145.6 MB / 0.9262 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.7226, allocations: 0 / 0.9262 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.7227, allocations: 7.969 kB / 0.9262 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.7229, allocations: 44.81 kB / 0.9263 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.7239, allocations: 321.7 kB / 0.9266 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.7241, allocations: 188.5 kB / 0.9268 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.7242, allocations: 5.359 kB / 0.9268 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.7242, allocations: 26.33 kB / 0.9268 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.7244, allocations: 60.44 kB / 0.9268 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.7244, allocations: 1.906 kB / 0.9268 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000867/0.7253, allocations: 441.4 kB / 0.9273 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.7254, allocations: 25.73 kB / 0.9273 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.7254, allocations: 24.27 kB / 0.9273 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.726, allocations: 297.4 kB / 0.9276 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.726, allocations: 0 / 0.9276 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/0.726, allocations: 3.812 kB / 0.9276 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.726, allocations: 0 / 0.9276 GB, free: 5.789 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.0006413/0.7267, allocations: 400.8 kB / 0.928 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.7267, allocations: 9.75 kB / 0.928 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.7268, allocations: 2.906 kB / 0.928 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.7269, allocations: 166.2 kB / 0.9282 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.7269, allocations: 0.9375 kB / 0.9282 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.7269, allocations: 6.812 kB / 0.9282 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.7271, allocations: 102.6 kB / 0.9283 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7271, allocations: 0 / 0.9283 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.7271, allocations: 2.141 kB / 0.9283 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.7272, allocations: 9.188 kB / 0.9283 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.7273, allocations: 84.25 kB / 0.9284 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.7278, allocations: 329.7 kB / 0.9287 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.728, allocations: 106.3 kB / 0.9288 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.728, allocations: 56.44 kB / 0.9288 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/0.729, allocations: 468.4 kB / 0.9293 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.729, allocations: 35.06 kB / 0.9293 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.729, allocations: 5.219 kB / 0.9293 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.000301/0.7293, allocations: 124 kB / 0.9294 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.7294, allocations: 53.7 kB / 0.9295 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.7295, allocations: 117.1 kB / 0.9296 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.7295, allocations: 29.86 kB / 0.9296 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.7295, allocations: 98.42 kB / 0.9297 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.7296, allocations: 38.88 kB / 0.9297 GB, free: 20 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.7296, allocations: 35.64 kB / 0.9298 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7297, allocations: 323.6 kB / 0.9301 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.7298, allocations: 34.22 kB / 0.9301 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.7299, allocations: 69.19 kB / 0.9302 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.73, allocations: 115.5 kB / 0.9303 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.73, allocations: 0.5 kB / 0.9303 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002186/0.7302, allocations: 135.9 kB / 0.9304 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7303, allocations: 5.359 kB / 0.9304 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7303, allocations: 1.688 kB / 0.9304 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7303, allocations: 10.56 kB / 0.9304 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7304, allocations: 28.91 kB / 0.9305 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7304, allocations: 1.969 kB / 0.9305 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.7305, allocations: 16.06 kB / 0.9305 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.7305, allocations: 8.531 kB / 0.9305 GB, free: 19.52 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 8.766e-05/0.7306, allocations: 123.8 kB / 0.9306 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.7306, allocations: 8.438 kB / 0.9306 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.7309, allocations: 127.2 kB / 0.9307 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.7309, allocations: 7.734 kB / 0.9308 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7309, allocations: 0.7812 kB / 0.9308 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7309, allocations: 0.75 kB / 0.9308 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.7311, allocations: 177.2 kB / 0.9309 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7311, allocations: 0 / 0.9309 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.7312, allocations: 26.33 kB / 0.931 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7312, allocations: 0.75 kB / 0.931 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.7312, allocations: 2.109 kB / 0.931 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7312, allocations: 8.781 kB / 0.931 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7312, allocations: 1.094 kB / 0.931 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.7314, allocations: 200.9 kB / 0.9312 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.7314, allocations: 90.02 kB / 0.9312 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7315, allocations: 4.484 kB / 0.9312 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.7315, allocations: 4.5 kB / 0.9312 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.7315, allocations: 10.41 kB / 0.9313 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7316, allocations: 5.969 kB / 0.9313 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.7316, allocations: 92.58 kB / 0.9314 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7316, allocations: 0.875 kB / 0.9314 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003778/0.732, allocations: 77.5 kB / 0.9314 GB, free: 18.81 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.0003664/0.7324, allocations: 181.8 kB / 0.9316 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.7326, allocations: 90.86 kB / 0.9317 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7326, allocations: 0 / 0.9317 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.7326, allocations: 40.75 kB / 0.9317 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.7329, allocations: 13.47 kB / 0.9317 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.7333, allocations: 199 kB / 0.9319 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.7336, allocations: 0.6929 MB / 0.9326 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.7337, allocations: 56.33 kB / 0.9327 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.7338, allocations: 13.2 kB / 0.9327 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7338, allocations: 0 / 0.9327 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.004542/0.7383, allocations: 1.867 MB / 0.9345 GB, free: 17.73 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)