Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8403/0.8403, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 181.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008944, allocations: 100.1 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 275.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.559e-05, allocations: 4 kB / 0.6835 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4174, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.5365, allocations: 110.3 MB / 0.872 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5368, allocations: 107.8 kB / 0.8721 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004797/0.5416, allocations: 2.021 MB / 0.8741 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5416, allocations: 0 / 0.8741 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5416, allocations: 4 kB / 0.8741 GB, free: 12.18 MB / 0.5417 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.0002596/0.5419, allocations: 325.4 kB / 0.8744 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5419, allocations: 12.03 kB / 0.8744 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.542, allocations: 4 kB / 0.8744 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.5421, allocations: 163.1 kB / 0.8745 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5421, allocations: 3.953 kB / 0.8746 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.5422, allocations: 8 kB / 0.8746 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.5422, allocations: 29.7 kB / 0.8746 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.5423, allocations: 3.938 kB / 0.8746 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.5423, allocations: 0 / 0.8746 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5423, allocations: 0 / 0.8746 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.5423, allocations: 4 kB / 0.8746 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.5427, allocations: 468.5 kB / 0.875 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.5428, allocations: 173.2 kB / 0.8752 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.5429, allocations: 84.14 kB / 0.8753 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5429, allocations: 75.28 kB / 0.8754 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.5429, allocations: 105.8 kB / 0.8755 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.543, allocations: 3.984 kB / 0.8755 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.45e-05/0.543, allocations: 29.64 kB / 0.8755 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.5431, allocations: 134.7 kB / 0.8756 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.5432, allocations: 93 kB / 0.8757 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.5432, allocations: 25.7 kB / 0.8757 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.5432, allocations: 84.12 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.5432, allocations: 0 / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.5433, allocations: 0 / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5434, allocations: 310.8 kB / 0.8761 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.5434, allocations: 4 kB / 0.8761 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.5434, allocations: 4 kB / 0.8761 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.623e-05/0.5434, allocations: 3.953 kB / 0.8761 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5434, allocations: 4 kB / 0.8761 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.585e-05/0.5435, allocations: 41.55 kB / 0.8762 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5435, allocations: 4 kB / 0.8762 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5436, allocations: 1.797 kB / 0.8762 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5436, allocations: 0 / 0.8762 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.554e-05/0.5436, allocations: 7.984 kB / 0.8762 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5436, allocations: 0 / 0.8762 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.5436, allocations: 4.094 kB / 0.8762 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.5436, allocations: 0 / 0.8762 GB, free: 9.785 MB / 0.5417 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 8.373e-05/0.5437, allocations: 180.2 kB / 0.8764 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.5438, allocations: 105 kB / 0.8765 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.5439, allocations: 108 kB / 0.8766 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/0.5439, allocations: 177 kB / 0.8767 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.242e-05/0.544, allocations: 192.2 kB / 0.8769 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.755e-05/0.5441, allocations: 184.2 kB / 0.8771 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5443, allocations: 405.2 kB / 0.8775 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.09e-05/0.5443, allocations: 112.9 kB / 0.8776 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.5444, allocations: 101 kB / 0.8777 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-05/0.5445, allocations: 184.2 kB / 0.8779 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/0.5445, allocations: 180.3 kB / 0.878 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.139e-05/0.5446, allocations: 180.3 kB / 0.8782 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-05/0.5447, allocations: 184.2 kB / 0.8784 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.5448, allocations: 303.8 kB / 0.8787 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.5449, allocations: 190 kB / 0.8788 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.545, allocations: 176.3 kB / 0.879 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.5451, allocations: 110.1 kB / 0.8791 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.5452, allocations: 180.3 kB / 0.8793 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.5452, allocations: 104.9 kB / 0.8794 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.5452, allocations: 83.27 kB / 0.8795 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5453, allocations: 4 kB / 0.8795 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002688/0.5455, allocations: 24 kB / 0.8795 GB, free: 6.176 MB / 0.5417 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.0004003/0.5459, allocations: 234 kB / 0.8797 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.807e-05/0.546, allocations: 4 kB / 0.8797 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.546, allocations: 8.062 kB / 0.8797 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.546, allocations: 0 / 0.8797 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.5463, allocations: 0.5223 MB / 0.8802 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.5492, allocations: 1.054 MB / 0.8813 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.5494, allocations: 0.6731 MB / 0.8819 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.5494, allocations: 0 / 0.8819 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.5495, allocations: 15.42 kB / 0.8819 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.5495, allocations: 4 kB / 0.8819 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of Templates: time 0.002557/0.552, allocations: 0.6572 MB / 0.8826 GB, free: 3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)