Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.6 MB / 307.6 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 188.8 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 0.6367 GB, free: 8.605 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 84.59 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 12 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2663, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6568/0.9232, allocations: 140.6 MB / 1.126 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.9235, allocations: 112 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004473/0.928, allocations: 2.017 MB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.904e-06/0.928, allocations: 0.7188 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.928, allocations: 5.125 kB / 1.128 GB, free: 32.98 MB / 0.7292 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.0002102/0.9282, allocations: 323 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9283, allocations: 16.8 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.9283, allocations: 3.234 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.9284, allocations: 163.7 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.9285, allocations: 2.156 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.9285, allocations: 4 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.9285, allocations: 33.08 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.9286, allocations: 0 / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.9286, allocations: 0 / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.9286, allocations: 3.125 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.9286, allocations: 4 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.9289, allocations: 463.8 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.929, allocations: 177.9 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.929, allocations: 81.72 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.929, allocations: 106.5 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.929, allocations: 0.6562 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.182e-05/0.9291, allocations: 26.33 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.9291, allocations: 134 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.9292, allocations: 97.52 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.9292, allocations: 29.7 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.9292, allocations: 84.05 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.9292, allocations: 0 / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-06/0.9293, allocations: 0.6562 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.9293, allocations: 318.3 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.9293, allocations: 7.938 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.9293, allocations: 0 / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.501e-05/0.9293, allocations: 0 / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9293, allocations: 4.062 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.469e-05/0.9294, allocations: 37.7 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.9295, allocations: 5.812 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9295, allocations: 0 / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.9295, allocations: 0 / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.469e-05/0.9295, allocations: 0 / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9295, allocations: 7.422 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.9295, allocations: 0.625 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.9295, allocations: 0 / 1.13 GB, free: 30.71 MB / 0.7292 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.296e-05/0.9296, allocations: 189.1 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.9296, allocations: 106.2 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.9297, allocations: 108.1 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.9297, allocations: 187.6 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.941e-05/0.9298, allocations: 177.8 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.9298, allocations: 180.3 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.9299, allocations: 408.6 kB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.93, allocations: 105.7 kB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.93, allocations: 109.7 kB / 1.131 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.691e-05/0.93, allocations: 176.3 kB / 1.131 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.93, allocations: 183.9 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.078e-05/0.9301, allocations: 184.2 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.807e-05/0.9301, allocations: 180.3 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.357e-05/0.9302, allocations: 307.3 kB / 1.132 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.9303, allocations: 183.6 kB / 1.132 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.9303, allocations: 180.2 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.9304, allocations: 117.7 kB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.9304, allocations: 184.1 kB / 1.133 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.9304, allocations: 101.8 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.9305, allocations: 79.28 kB / 1.133 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9305, allocations: 0 / 1.133 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002759/0.9308, allocations: 31.45 kB / 1.133 GB, free: 27.11 MB / 0.7292 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.0003278/0.9311, allocations: 241.4 kB / 1.133 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.471e-05/0.9312, allocations: 3.938 kB / 1.133 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9312, allocations: 0 / 1.133 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.9312, allocations: 0 / 1.133 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.9314, allocations: 0.5269 MB / 1.134 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.934, allocations: 1.067 MB / 1.135 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.9341, allocations: 0.6766 MB / 1.136 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.9341, allocations: 0 / 1.136 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.9342, allocations: 7.438 kB / 1.136 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.9342, allocations: 0 / 1.136 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.00265/0.9368, allocations: 0.6403 MB / 1.136 GB, free: 24.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)