Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4699/0.4699, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.000931, allocations: 97.27 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 0.4891 GB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3125, allocations: 70.05 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002013/0.3146, allocations: 0.6112 MB / 0.5581 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3159, allocations: 0.9979 MB / 0.5591 GB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.379e-05/0.3159, allocations: 0 / 0.5591 GB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.316, allocations: 0.9375 kB / 0.5591 GB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.3166, allocations: 83.34 kB / 0.5592 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.497e-05/0.3167, allocations: 9.719 kB / 0.5592 GB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.3167, allocations: 4 kB / 0.5592 GB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.3168, allocations: 3.984 kB / 0.5592 GB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.3168, allocations: 7.938 kB / 0.5592 GB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.317, allocations: 29.47 kB / 0.5592 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3171, allocations: 0 / 0.5592 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3172, allocations: 87.84 kB / 0.5593 GB, free: 43.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.3172, allocations: 3.938 kB / 0.5593 GB, free: 43.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.3173, allocations: 2.844 kB / 0.5593 GB, free: 43.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3174, allocations: 67.91 kB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3174, allocations: 4 kB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3174, allocations: 0 / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.3174, allocations: 0 / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002834/0.3177, allocations: 343.8 kB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3178, allocations: 12.03 kB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.3178, allocations: 0.9375 kB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.3179, allocations: 168.4 kB / 0.5599 GB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3179, allocations: 384 / 0.5599 GB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.3179, allocations: 384 / 0.5599 GB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.742e-05/0.318, allocations: 37.77 kB / 0.5599 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.318, allocations: 0 / 0.5599 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.318, allocations: 0 / 0.5599 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.318, allocations: 0 / 0.5599 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.3181, allocations: 0 / 0.5599 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.3184, allocations: 476.6 kB / 0.5604 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.3184, allocations: 165.1 kB / 0.5606 GB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.3184, allocations: 84.08 kB / 0.5606 GB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.3184, allocations: 75.28 kB / 0.5607 GB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3185, allocations: 113.8 kB / 0.5608 GB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3185, allocations: 0 / 0.5608 GB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.692e-05/0.3186, allocations: 25.7 kB / 0.5608 GB, free: 41.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.3186, allocations: 126.7 kB / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.3187, allocations: 101.8 kB / 0.5611 GB, free: 41.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.3187, allocations: 25.7 kB / 0.5611 GB, free: 41.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.3187, allocations: 84.14 kB / 0.5612 GB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3187, allocations: 4 kB / 0.5612 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.3187, allocations: 13.72 kB / 0.5612 GB, free: 41.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.3188, allocations: 318.8 kB / 0.5615 GB, free: 40.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.3188, allocations: 3.938 kB / 0.5615 GB, free: 40.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.3188, allocations: 0 / 0.5615 GB, free: 40.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/0.3188, allocations: 8.859 kB / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3188, allocations: 4 kB / 0.5615 GB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.75e-05/0.3189, allocations: 41.66 kB / 0.5615 GB, free: 40.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3189, allocations: 6.031 kB / 0.5615 GB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.319, allocations: 4 kB / 0.5615 GB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.319, allocations: 3.938 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.416e-05/0.319, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.319, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.319, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.319, allocations: 3.938 kB / 0.5616 GB, free: 40.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.025e-05/0.3191, allocations: 197 kB / 0.5617 GB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3191, allocations: 109 kB / 0.5618 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.3191, allocations: 104.1 kB / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.3192, allocations: 188.2 kB / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/0.3192, allocations: 176.5 kB / 0.5623 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.3192, allocations: 184.2 kB / 0.5625 GB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3194, allocations: 413.1 kB / 0.5629 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.3194, allocations: 101 kB / 0.563 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.3194, allocations: 104.9 kB / 0.5631 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/0.3194, allocations: 180.4 kB / 0.5632 GB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3195, allocations: 192.2 kB / 0.5634 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-05/0.3195, allocations: 176.3 kB / 0.5636 GB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-05/0.3195, allocations: 180.3 kB / 0.5638 GB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3197, allocations: 0.8414 MB / 0.5646 GB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.3197, allocations: 182.1 kB / 0.5647 GB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.3198, allocations: 188.2 kB / 0.5649 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.3198, allocations: 105 kB / 0.565 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.3199, allocations: 184.2 kB / 0.5652 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3199, allocations: 104.9 kB / 0.5653 GB, free: 36.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.299e-05/0.3199, allocations: 83.27 kB / 0.5654 GB, free: 36.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3199, allocations: 0 / 0.5654 GB, free: 36.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.3203, allocations: 27.94 kB / 0.5654 GB, free: 36.61 MB / 410.7 MB 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 (0): * Single equations (assignments): 0 * 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.0002936/0.3206, allocations: 228.2 kB / 0.5656 GB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.345e-05/0.3206, allocations: 4 kB / 0.5656 GB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3206, allocations: 0 / 0.5656 GB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3206, allocations: 0 / 0.5656 GB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3209, allocations: 0.5314 MB / 0.5661 GB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.3212, allocations: 189.9 kB / 0.5663 GB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3213, allocations: 0.677 MB / 0.567 GB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.3214, allocations: 8 kB / 0.567 GB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.3214, allocations: 7.438 kB / 0.567 GB, free: 34.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3214, allocations: 0 / 0.567 GB, free: 34.9 MB / 410.7 MB Notification: Performance of Templates: time 0.002419/0.3238, allocations: 0.6504 MB / 0.5676 GB, free: 34.3 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)