Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009744/0.0009742, allocations: 178.9 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008565/0.0008565, allocations: 87.61 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 12.09 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007408/0.2165, allocations: 312.2 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2176, allocations: 0.9923 MB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.2177, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.2177, allocations: 4 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.2183, allocations: 79.84 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.989e-05/0.2184, allocations: 11.94 kB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.983e-05/0.2184, allocations: 4 kB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.2185, allocations: 0 / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.2185, allocations: 7.938 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.2187, allocations: 28.25 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2187, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2189, allocations: 87.91 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.2189, allocations: 3.938 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.2189, allocations: 4 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.219, allocations: 63.84 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2191, allocations: 0 / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2191, allocations: 0 / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2191, allocations: 0 / 0.8983 GB, free: 66.53 MB / 0.6042 GB 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.0002328/0.2193, allocations: 331.5 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2194, allocations: 8.031 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.2194, allocations: 0.9375 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/0.2195, allocations: 164.4 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2195, allocations: 8.312 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-06/0.2195, allocations: 384 / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.812e-05/0.2196, allocations: 29.83 kB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2196, allocations: 3.984 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2196, allocations: 0 / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2196, allocations: 7.938 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.2197, allocations: 0 / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.22, allocations: 468.6 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.22, allocations: 173.1 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.22, allocations: 80.14 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2201, allocations: 75.28 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2201, allocations: 105.8 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2201, allocations: 4 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.248e-05/0.2202, allocations: 29.7 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2202, allocations: 134.6 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.2203, allocations: 97.86 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-06/0.2203, allocations: 25.7 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.2203, allocations: 84.05 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2203, allocations: 0 / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.2203, allocations: 13.72 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.2204, allocations: 326.8 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.2204, allocations: 0 / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.2204, allocations: 0 / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.2204, allocations: 8.859 kB / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2204, allocations: 0 / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.547e-05/0.2205, allocations: 29.7 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2206, allocations: 14.59 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2206, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2206, allocations: 3.938 kB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.406e-05/0.2206, allocations: 4.094 kB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2206, allocations: 0 / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.2206, allocations: 4 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2206, allocations: 7.984 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB 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.385e-05/0.2207, allocations: 185.1 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.2207, allocations: 109.9 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.2208, allocations: 112 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.2208, allocations: 180.3 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/0.2208, allocations: 180.2 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.2209, allocations: 180.2 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.221, allocations: 405.2 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.221, allocations: 108.9 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.221, allocations: 109.1 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/0.2211, allocations: 184.3 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.2211, allocations: 180.2 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.2211, allocations: 180.3 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.168e-05/0.2211, allocations: 180.2 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/0.2212, allocations: 307.8 kB / 0.903 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.2213, allocations: 186.2 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.2213, allocations: 184.2 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.2214, allocations: 112.9 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.2214, allocations: 176.3 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.2214, allocations: 109 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.113e-05/0.2214, allocations: 83.22 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2215, allocations: 4 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002673/0.2217, allocations: 23.92 kB / 0.9038 GB, free: 60.46 MB / 0.6042 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 (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.000288/0.222, allocations: 216.3 kB / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.2221, allocations: 11.98 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2221, allocations: 0 / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2221, allocations: 0 / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.2224, allocations: 0.533 MB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.2227, allocations: 215.7 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.2228, allocations: 0.6731 MB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.2228, allocations: 7.438 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2228, allocations: 3.938 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.001953/0.2248, allocations: 0.8471 MB / 0.9062 GB, free: 57.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)