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.001204/0.001204, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001164/0.001164, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.542/1.542, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.809/1.809, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001441/0.001441, allocations: 67.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2371, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002663/0.2398, allocations: 1.318 MB / 0.7853 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6715/0.9114, allocations: 147.9 MB / 0.9298 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.9115, allocations: 1.375 kB / 0.9298 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.9115, allocations: 3.938 kB / 0.9298 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.9118, allocations: 44.36 kB / 0.9298 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.9131, allocations: 361.4 kB / 0.9301 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.9132, allocations: 66.33 kB / 0.9302 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.9132, allocations: 1.562 kB / 0.9302 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/0.9133, allocations: 39.17 kB / 0.9303 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.9134, allocations: 52.2 kB / 0.9303 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.9135, allocations: 2.844 kB / 0.9303 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.9143, allocations: 408.4 kB / 0.9307 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.9143, allocations: 23.95 kB / 0.9307 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.9144, allocations: 23.88 kB / 0.9307 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.9148, allocations: 281.8 kB / 0.931 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9148, allocations: 4 kB / 0.931 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9148, allocations: 0 / 0.931 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.9149, allocations: 0 / 0.931 GB, free: 4.176 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.0004512/0.9153, allocations: 398.1 kB / 0.9314 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.9154, allocations: 12.02 kB / 0.9314 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.9154, allocations: 8.844 kB / 0.9314 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.9155, allocations: 167.9 kB / 0.9316 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.9156, allocations: 8 kB / 0.9316 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.9156, allocations: 0 / 0.9316 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.9158, allocations: 101.6 kB / 0.9317 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.9158, allocations: 0 / 0.9317 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.9158, allocations: 0 / 0.9317 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.9158, allocations: 12.64 kB / 0.9317 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.916, allocations: 79.95 kB / 0.9318 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.9164, allocations: 340.6 kB / 0.9321 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.9166, allocations: 107.4 kB / 0.9322 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.9167, allocations: 46.11 kB / 0.9322 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009029/0.9176, allocations: 473.4 kB / 0.9327 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.9176, allocations: 37.62 kB / 0.9327 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.9176, allocations: 0 / 0.9327 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002697/0.9179, allocations: 130.3 kB / 0.9328 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.918, allocations: 55.39 kB / 0.9329 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.9181, allocations: 117.8 kB / 0.933 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.9181, allocations: 25.7 kB / 0.933 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.9182, allocations: 98.16 kB / 0.9331 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.9182, allocations: 39.39 kB / 0.9332 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.9183, allocations: 33.7 kB / 0.9332 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9184, allocations: 318.8 kB / 0.9335 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.9184, allocations: 31.98 kB / 0.9335 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.9185, allocations: 69.12 kB / 0.9336 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.9187, allocations: 125.6 kB / 0.9337 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9187, allocations: 0 / 0.9337 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00019/0.9189, allocations: 138.3 kB / 0.9339 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9189, allocations: 4 kB / 0.9339 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9189, allocations: 0 / 0.9339 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9189, allocations: 7.938 kB / 0.9339 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.919, allocations: 28.14 kB / 0.9339 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9191, allocations: 4 kB / 0.9339 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.9191, allocations: 7.938 kB / 0.9339 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.9191, allocations: 11.94 kB / 0.9339 GB, free: 0.8633 MB / 0.7169 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 9.012e-05/0.9192, allocations: 121.8 kB / 0.934 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.9193, allocations: 7.906 kB / 0.934 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.9195, allocations: 130.4 kB / 0.9342 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9195, allocations: 0 / 0.9342 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9195, allocations: 3.984 kB / 0.9342 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9195, allocations: 4.656 kB / 0.9342 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.9197, allocations: 181.5 kB / 0.9343 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9197, allocations: 0 / 0.9343 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.9198, allocations: 21.62 kB / 0.9344 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9198, allocations: 0 / 0.9344 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.9198, allocations: 3.938 kB / 0.9344 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.9198, allocations: 4 kB / 0.9344 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9198, allocations: 0.5625 kB / 0.9344 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.9201, allocations: 207.3 kB / 0.9346 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.9201, allocations: 93 kB / 0.9347 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.9201, allocations: 3.938 kB / 0.9347 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.9202, allocations: 0 / 0.9347 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.9202, allocations: 12.06 kB / 0.9347 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.9203, allocations: 6.062 kB / 0.9347 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.9203, allocations: 85.28 kB / 0.9348 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9203, allocations: 4 kB / 0.9348 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003346/0.9207, allocations: 79.92 kB / 0.9348 GB, free: 15.82 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.0003334/0.921, allocations: 175 kB / 0.935 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.9212, allocations: 105.1 kB / 0.9351 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9212, allocations: 4 kB / 0.9351 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.9213, allocations: 31.98 kB / 0.9351 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.9215, allocations: 17.39 kB / 0.9352 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.9219, allocations: 198.4 kB / 0.9353 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.9222, allocations: 0.6998 MB / 0.936 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.9222, allocations: 19.44 kB / 0.936 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.9222, allocations: 0 / 0.936 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of Templates: time 0.003628/0.9259, allocations: 1.846 MB / 0.9379 GB, free: 12.71 MB / 0.7325 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)