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.8175/0.8175, allocations: 143.4 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 181 kB / 191.5 MB, free: 5.758 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.364/1.364, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0008303/0.0008303, allocations: 94.2 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 271.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 14.47 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 82.79 MB / 0.7738 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.6079, allocations: 110.3 MB / 0.8815 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.6082, allocations: 110.3 kB / 0.8816 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004379/0.6126, allocations: 2.04 MB / 0.8836 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6126, allocations: 1.969 kB / 0.8836 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.6126, allocations: 0 / 0.8836 GB, free: 31.27 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.0001908/0.6128, allocations: 330.7 kB / 0.8839 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6129, allocations: 7.469 kB / 0.8839 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.6129, allocations: 9.969 kB / 0.8839 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.642e-05/0.613, allocations: 163 kB / 0.8841 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.613, allocations: 6.922 kB / 0.8841 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.613, allocations: 1.25 kB / 0.8841 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.549e-05/0.6131, allocations: 27.2 kB / 0.8841 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6131, allocations: 3.359 kB / 0.8841 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6131, allocations: 0 / 0.8841 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6131, allocations: 0 / 0.8841 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.6131, allocations: 4.938 kB / 0.8841 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.6134, allocations: 471 kB / 0.8846 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.6135, allocations: 167.4 kB / 0.8847 GB, free: 30 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.6135, allocations: 75.28 kB / 0.8848 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.6135, allocations: 109.8 kB / 0.8849 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6135, allocations: 0 / 0.8849 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.806e-05/0.6136, allocations: 34.31 kB / 0.8849 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.6136, allocations: 128.3 kB / 0.8851 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.6137, allocations: 95.39 kB / 0.8851 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.6137, allocations: 36.42 kB / 0.8852 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.6137, allocations: 84.05 kB / 0.8853 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.6137, allocations: 0 / 0.8853 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.6137, allocations: 0 / 0.8853 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.6138, allocations: 318.1 kB / 0.8856 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.6138, allocations: 4.156 kB / 0.8856 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-06/0.6138, allocations: 0 / 0.8856 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.354e-05/0.6138, allocations: 0.6875 kB / 0.8856 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6138, allocations: 6.891 kB / 0.8856 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.236e-05/0.6139, allocations: 35.19 kB / 0.8856 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6139, allocations: 5.375 kB / 0.8856 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.614, allocations: 0 / 0.8856 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.614, allocations: 4.094 kB / 0.8856 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.391e-05/0.614, allocations: 3.969 kB / 0.8856 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.614, allocations: 0 / 0.8856 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.614, allocations: 0.6875 kB / 0.8856 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.614, allocations: 0 / 0.8856 GB, free: 29.06 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 () * 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 4.823e-05/0.6141, allocations: 187.3 kB / 0.8858 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.6141, allocations: 109 kB / 0.8859 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.6149, allocations: 111.5 kB / 0.886 GB, free: 44.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/0.6149, allocations: 182.4 kB / 0.8862 GB, free: 44.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.615, allocations: 187.1 kB / 0.8864 GB, free: 44.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.704e-05/0.615, allocations: 177.6 kB / 0.8865 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.6152, allocations: 398.8 kB / 0.8869 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.6153, allocations: 110.4 kB / 0.887 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.6153, allocations: 115.6 kB / 0.8871 GB, free: 43.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-05/0.6154, allocations: 180.9 kB / 0.8873 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.6155, allocations: 179.9 kB / 0.8875 GB, free: 43.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.993e-05/0.6155, allocations: 176.8 kB / 0.8876 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.294e-05/0.6156, allocations: 185.2 kB / 0.8878 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.6157, allocations: 309.1 kB / 0.8881 GB, free: 42.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.6158, allocations: 182 kB / 0.8883 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.6159, allocations: 183.2 kB / 0.8885 GB, free: 42.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.6159, allocations: 107.2 kB / 0.8886 GB, free: 41.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.616, allocations: 176.3 kB / 0.8887 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.616, allocations: 115.7 kB / 0.8888 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.6161, allocations: 90.73 kB / 0.8889 GB, free: 41.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6161, allocations: 0 / 0.8889 GB, free: 41.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003002/0.6164, allocations: 27.08 kB / 0.889 GB, free: 41.52 MB / 0.5573 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.0003548/0.6168, allocations: 233.1 kB / 0.8892 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.065e-05/0.6168, allocations: 2.812 kB / 0.8892 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6168, allocations: 0 / 0.8892 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.6168, allocations: 0 / 0.8892 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.6171, allocations: 0.5345 MB / 0.8897 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.6201, allocations: 1.071 MB / 0.8907 GB, free: 40.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.6203, allocations: 0.6748 MB / 0.8914 GB, free: 39.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.6204, allocations: 7.062 kB / 0.8914 GB, free: 39.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.6204, allocations: 10.25 kB / 0.8914 GB, free: 39.91 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/0.6204, allocations: 0 / 0.8914 GB, free: 39.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.002578/0.623, allocations: 0.6353 MB / 0.892 GB, free: 39.86 MB / 0.5573 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)