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.587/1.587, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001309/0.001309, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.444/1.444, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.000836/0.0008362, allocations: 83.58 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.107e-05, allocations: 8 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6825, allocations: 116.3 MB / 0.9733 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.8719, allocations: 139.8 MB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.8722, allocations: 104.8 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00465/0.8769, allocations: 2.023 MB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8769, allocations: 0 / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8769, allocations: 1.719 kB / 1.112 GB, free: 8.262 MB / 0.7136 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.0002588/0.8772, allocations: 318.5 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8772, allocations: 12.03 kB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.8773, allocations: 0.625 kB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.8774, allocations: 167 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.8774, allocations: 0.5312 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.8774, allocations: 4.594 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.057e-05/0.8775, allocations: 0 / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.443e-05/0.8776, allocations: 35.23 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8776, allocations: 4 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.8776, allocations: 0 / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.8776, allocations: 0.5938 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.878, allocations: 445 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.8781, allocations: 166 kB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.8781, allocations: 84.77 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.8782, allocations: 79.38 kB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.8782, allocations: 114.8 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.8782, allocations: 0.5938 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.978e-05/0.8783, allocations: 26.58 kB / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.8783, allocations: 51.41 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.8784, allocations: 98.47 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.8784, allocations: 25.7 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.8785, allocations: 84.05 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.8785, allocations: 3.156 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.8785, allocations: 0 / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8786, allocations: 314.8 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.8786, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.8786, allocations: 8 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.8787, allocations: 5.547 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8787, allocations: 4 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000123/0.8788, allocations: 34.39 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.8789, allocations: 14.58 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8789, allocations: 0 / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.8789, allocations: 0 / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.666e-05/0.8789, allocations: 2.438 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8789, allocations: 0 / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.879, allocations: 0 / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.879, allocations: 0 / 1.114 GB, free: 6.008 MB / 0.7136 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 () * 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 7.892e-05/0.8791, allocations: 185.5 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.8791, allocations: 102.3 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.8792, allocations: 108.7 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.708e-05/0.8792, allocations: 185.1 kB / 1.115 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.471e-05/0.8793, allocations: 177.1 kB / 1.115 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/0.8794, allocations: 185.4 kB / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.8796, allocations: 377.8 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.8796, allocations: 112.1 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.8797, allocations: 107 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-05/0.8797, allocations: 180.2 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.8798, allocations: 180.3 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-05/0.8799, allocations: 188.3 kB / 1.116 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.617e-05/0.88, allocations: 184.2 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.8801, allocations: 300 kB / 1.116 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.8802, allocations: 186.1 kB / 1.117 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.8803, allocations: 188.2 kB / 1.117 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.8804, allocations: 111.7 kB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.8804, allocations: 176.3 kB / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.8805, allocations: 101 kB / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.8805, allocations: 83.27 kB / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8805, allocations: 0 / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002734/0.8808, allocations: 24 kB / 1.117 GB, free: 2.441 MB / 0.7136 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 () * 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.0004242/0.8812, allocations: 242.2 kB / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.8813, allocations: 0 / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8813, allocations: 0 / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.8813, allocations: 0 / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.8816, allocations: 0.5302 MB / 1.118 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.8843, allocations: 1.035 MB / 1.119 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.8846, allocations: 0.6768 MB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.8847, allocations: 0 / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.8847, allocations: 7.438 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8847, allocations: 0 / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.00263/0.8873, allocations: 0.6458 MB / 1.12 GB, free: 15.31 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)