Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009954, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5057/0.5057, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 92.09 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003197, allocations: 8 kB / 0.4983 GB, free: 42.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 72.32 MB / 0.5689 GB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.6193, allocations: 103.3 MB / 0.6698 GB, free: 1.148 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.6197, allocations: 103.9 kB / 0.6699 GB, free: 1.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005268/0.6249, allocations: 2.148 MB / 0.672 GB, free: 14.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.625, allocations: 0 / 0.672 GB, free: 14.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.625, allocations: 0 / 0.672 GB, free: 14.91 MB / 474.7 MB 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.0002995/0.6253, allocations: 332 kB / 0.6723 GB, free: 14.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6253, allocations: 12.03 kB / 0.6723 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.6254, allocations: 7.859 kB / 0.6723 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.6255, allocations: 159.1 kB / 0.6725 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.6255, allocations: 4 kB / 0.6725 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.6255, allocations: 8 kB / 0.6725 GB, free: 14.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.875e-05/0.6256, allocations: 37.62 kB / 0.6725 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.6256, allocations: 0 / 0.6725 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.6257, allocations: 0 / 0.6725 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.6257, allocations: 0 / 0.6725 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.6257, allocations: 7.953 kB / 0.6725 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.6261, allocations: 456.6 kB / 0.673 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.6262, allocations: 173.2 kB / 0.6731 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.6262, allocations: 75.28 kB / 0.6732 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6262, allocations: 109.8 kB / 0.6733 GB, free: 13.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.6262, allocations: 0 / 0.6733 GB, free: 13.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.987e-05/0.6263, allocations: 33.64 kB / 0.6733 GB, free: 13.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.6264, allocations: 134.7 kB / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.6265, allocations: 93 kB / 0.6736 GB, free: 13.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.6265, allocations: 25.7 kB / 0.6736 GB, free: 13.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.6265, allocations: 84.08 kB / 0.6737 GB, free: 12.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.6265, allocations: 0 / 0.6737 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6265, allocations: 0 / 0.6737 GB, free: 12.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6267, allocations: 318.8 kB / 0.674 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.6267, allocations: 4 kB / 0.674 GB, free: 12.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.6267, allocations: 4 kB / 0.674 GB, free: 12.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.78e-05/0.6267, allocations: 3.938 kB / 0.674 GB, free: 12.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6267, allocations: 0 / 0.674 GB, free: 12.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.6268, allocations: 33.7 kB / 0.674 GB, free: 12.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6268, allocations: 7.938 kB / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6269, allocations: 0 / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6269, allocations: 0 / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.481e-05/0.6269, allocations: 0 / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6269, allocations: 7.953 kB / 0.674 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.6269, allocations: 96 / 0.674 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.6269, allocations: 4 kB / 0.674 GB, free: 12.59 MB / 474.7 MB 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.34e-05/0.627, allocations: 189.1 kB / 0.6742 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.6271, allocations: 108.9 kB / 0.6743 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.6271, allocations: 104.1 kB / 0.6744 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.6272, allocations: 176.3 kB / 0.6746 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.896e-05/0.6273, allocations: 188.2 kB / 0.6748 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/0.6273, allocations: 187.9 kB / 0.6749 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.6275, allocations: 401.2 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/0.6275, allocations: 105 kB / 0.6754 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.6276, allocations: 109 kB / 0.6755 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.156e-05/0.6276, allocations: 180.2 kB / 0.6757 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.6277, allocations: 180.3 kB / 0.6759 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-05/0.6278, allocations: 184.2 kB / 0.676 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.917e-05/0.6278, allocations: 180.3 kB / 0.6762 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.6279, allocations: 311.8 kB / 0.6765 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.628, allocations: 190.1 kB / 0.6767 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.6281, allocations: 184.2 kB / 0.6769 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.6282, allocations: 105 kB / 0.677 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.6282, allocations: 180.2 kB / 0.6771 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.6283, allocations: 101 kB / 0.6772 GB, free: 9.078 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.6283, allocations: 83.28 kB / 0.6773 GB, free: 8.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6283, allocations: 3.938 kB / 0.6773 GB, free: 8.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000255/0.6286, allocations: 27.98 kB / 0.6773 GB, free: 8.965 MB / 474.7 MB 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.0003468/0.6289, allocations: 245 kB / 0.6776 GB, free: 8.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.147e-05/0.629, allocations: 0 / 0.6776 GB, free: 8.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.629, allocations: 0 / 0.6776 GB, free: 8.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.629, allocations: 12 kB / 0.6776 GB, free: 8.719 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.6293, allocations: 0.531 MB / 0.6781 GB, free: 8.184 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.6323, allocations: 1.144 MB / 0.6792 GB, free: 7.012 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.6326, allocations: 0.6731 MB / 0.6799 GB, free: 6.312 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.738e-05/0.6326, allocations: 4 kB / 0.6799 GB, free: 6.309 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.6326, allocations: 15.42 kB / 0.6799 GB, free: 6.293 MB / 474.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6326, allocations: 4 kB / 0.6799 GB, free: 6.289 MB / 474.7 MB Notification: Performance of Templates: time 0.002728/0.6354, allocations: 0.6439 MB / 0.6805 GB, free: 5.684 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)