Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.63/1.63, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009191/0.0009192, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009407, allocations: 100.7 kB / 0.7808 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004354, allocations: 12.66 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6134, allocations: 120.3 MB / 1.026 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.7845, allocations: 142.9 MB / 1.166 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.7848, allocations: 105.8 kB / 1.166 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004609/0.7894, allocations: 1.969 MB / 1.168 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7894, allocations: 5.281 kB / 1.168 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.7894, allocations: 0 / 1.168 GB, free: 13.32 MB / 0.7448 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.0002819/0.7897, allocations: 328.3 kB / 1.168 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.7898, allocations: 8.031 kB / 1.168 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.7898, allocations: 2.375 kB / 1.168 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.7899, allocations: 164.4 kB / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.79, allocations: 8.375 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.79, allocations: 1.656 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.063e-05/0.7901, allocations: 30.2 kB / 1.168 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7901, allocations: 192 / 1.168 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.7901, allocations: 8.5 kB / 1.168 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.7901, allocations: 0 / 1.168 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.7901, allocations: 8.266 kB / 1.168 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.7905, allocations: 457.6 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.7906, allocations: 178.6 kB / 1.169 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.7907, allocations: 80.67 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.7907, allocations: 75.97 kB / 1.169 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.7907, allocations: 116.6 kB / 1.169 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7907, allocations: 0 / 1.169 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.841e-05/0.7908, allocations: 29.7 kB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.7909, allocations: 126.7 kB / 1.169 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.791, allocations: 98.92 kB / 1.17 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.791, allocations: 25.7 kB / 1.17 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.791, allocations: 92.02 kB / 1.17 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-06/0.791, allocations: 4.719 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.791, allocations: 3.938 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7912, allocations: 315.4 kB / 1.17 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.7912, allocations: 2.438 kB / 1.17 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.7912, allocations: 0 / 1.17 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.7912, allocations: 8.859 kB / 1.17 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7912, allocations: 0 / 1.17 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.138e-05/0.7913, allocations: 41.7 kB / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7913, allocations: 8 kB / 1.17 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7914, allocations: 3.984 kB / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.7914, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.478e-05/0.7914, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.7914, allocations: 3.938 kB / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.7914, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.7914, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 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 8.58e-05/0.7915, allocations: 189.1 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.7916, allocations: 105 kB / 1.17 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.7916, allocations: 104.1 kB / 1.17 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-05/0.7917, allocations: 192.2 kB / 1.171 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-05/0.7917, allocations: 177 kB / 1.171 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/0.7918, allocations: 180.2 kB / 1.171 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.792, allocations: 409.2 kB / 1.171 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.7921, allocations: 108.9 kB / 1.171 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.7921, allocations: 108.9 kB / 1.172 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.244e-05/0.7922, allocations: 176.3 kB / 1.172 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.7923, allocations: 184.2 kB / 1.172 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-05/0.7923, allocations: 180.2 kB / 1.172 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.238e-05/0.7924, allocations: 188.2 kB / 1.172 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.7925, allocations: 303.8 kB / 1.173 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.7926, allocations: 186 kB / 1.173 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.7927, allocations: 180.3 kB / 1.173 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.7928, allocations: 112.9 kB / 1.173 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.7929, allocations: 176.3 kB / 1.173 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.7929, allocations: 105 kB / 1.173 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.7929, allocations: 79.27 kB / 1.173 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.793, allocations: 0 / 1.173 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002735/0.7932, allocations: 20 kB / 1.173 GB, free: 7.297 MB / 0.7448 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.0003917/0.7936, allocations: 253 kB / 1.174 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.67e-05/0.7937, allocations: 7.984 kB / 1.174 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7937, allocations: 0 / 1.174 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.7937, allocations: 0 / 1.174 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.7941, allocations: 0.5263 MB / 1.174 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.7944, allocations: 206.4 kB / 1.174 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.7946, allocations: 0.677 MB / 1.175 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.7947, allocations: 0.75 kB / 1.175 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.7947, allocations: 7.438 kB / 1.175 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.7947, allocations: 4 kB / 1.175 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.002731/0.7974, allocations: 0.638 MB / 1.176 GB, free: 4.98 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)