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.34/1.34, allocations: 252 MB / 267.6 MB, free: 10.93 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.001056/0.001056, allocations: 185.5 kB / 327.3 MB, free: 2.184 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.771/1.771, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0008942/0.0008943, allocations: 87.77 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 10.44 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 106.3 MB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006579/0.229, allocations: 302.8 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.23, allocations: 0.9606 MB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.2301, allocations: 0 / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.2301, allocations: 3.938 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.2307, allocations: 87.84 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.636e-05/0.2307, allocations: 8 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.2308, allocations: 4 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.2308, allocations: 0 / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.2309, allocations: 0 / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.2311, allocations: 35.91 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2311, allocations: 0 / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.2312, allocations: 71.91 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.2313, allocations: 0 / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.2313, allocations: 29.7 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.423e-05/0.2314, allocations: 43.95 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2314, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2314, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2314, allocations: 0 / 0.9024 GB, free: 62.29 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.0002226/0.2316, allocations: 335.3 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2317, allocations: 8.031 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2317, allocations: 7.938 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.2318, allocations: 167 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2318, allocations: 0 / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.2318, allocations: 4 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.2319, allocations: 37.64 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2319, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.2319, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.232, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.232, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.2323, allocations: 464.6 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.2323, allocations: 173.1 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.2324, allocations: 84.08 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2324, allocations: 79.28 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2324, allocations: 109.8 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.2324, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.762e-05/0.2325, allocations: 25.7 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2325, allocations: 130.7 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.2326, allocations: 102.1 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.2326, allocations: 25.7 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.2326, allocations: 88.08 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.2326, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.2326, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.2327, allocations: 318.8 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.2327, allocations: 7.938 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.2327, allocations: 4 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.524e-05/0.2327, allocations: 0 / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2327, allocations: 0 / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.368e-05/0.2328, allocations: 41.59 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2328, allocations: 6.031 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2328, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2329, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.307e-05/0.2329, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2329, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.2329, allocations: 12.03 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2329, allocations: 192 / 0.9045 GB, free: 59.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.233, allocations: 189.1 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.233, allocations: 104.9 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.2331, allocations: 116.1 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.2331, allocations: 180.2 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/0.2331, allocations: 180.3 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.2331, allocations: 184.3 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2333, allocations: 405.1 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.2333, allocations: 105.1 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.2333, allocations: 104.9 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.791e-05/0.2333, allocations: 192.3 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.2334, allocations: 180.2 kB / 0.9064 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.2334, allocations: 184.2 kB / 0.9065 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.327e-05/0.2334, allocations: 180.3 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.272e-05/0.2335, allocations: 307.7 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.2335, allocations: 186.1 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.2336, allocations: 184.2 kB / 0.9073 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.2336, allocations: 101 kB / 0.9074 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.2337, allocations: 188.2 kB / 0.9076 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2337, allocations: 105 kB / 0.9077 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.309e-05/0.2337, allocations: 79.28 kB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2337, allocations: 4 kB / 0.9078 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002592/0.234, allocations: 16 kB / 0.9078 GB, free: 56.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/0.2343, allocations: 224.8 kB / 0.908 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.2344, allocations: 7.938 kB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2344, allocations: 4.062 kB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.2344, allocations: 0 / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2346, allocations: 0.5224 MB / 0.9086 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.235, allocations: 223.6 kB / 0.9088 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.2351, allocations: 0.677 MB / 0.9094 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.2351, allocations: 7.438 kB / 0.9094 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2351, allocations: 3.938 kB / 0.9094 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.001979/0.2371, allocations: 0.8519 MB / 0.9103 GB, free: 53.66 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)