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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 104.3 kB / 16.36 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 192 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 292.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9491/0.9491, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001839, allocations: 107.3 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1433, allocations: 86.96 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001651/0.1449, allocations: 0.5546 MB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1461, allocations: 1.011 MB / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.1461, allocations: 0 / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1461, allocations: 0 / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.1468, allocations: 99.78 kB / 0.6833 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.088e-05/0.1468, allocations: 8 kB / 0.6833 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.1469, allocations: 7.922 kB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.1469, allocations: 4 kB / 0.6833 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.1469, allocations: 0 / 0.6833 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1471, allocations: 44.48 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-06/0.1471, allocations: 4 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1473, allocations: 83.91 kB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.1473, allocations: 0 / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.1473, allocations: 3.984 kB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1475, allocations: 71.86 kB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1475, allocations: 0 / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.74e-06/0.1475, allocations: 3.984 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1475, allocations: 3.938 kB / 0.6835 GB, free: 5.527 MB / 494.1 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.0002789/0.1478, allocations: 331.6 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1478, allocations: 12.03 kB / 0.6838 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.1479, allocations: 4.938 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.148, allocations: 160.4 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.148, allocations: 4.312 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.148, allocations: 384 / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/0.1481, allocations: 37.83 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1481, allocations: 0 / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1481, allocations: 3.984 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.1481, allocations: 0 / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.1482, allocations: 4 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.1485, allocations: 464.6 kB / 0.6845 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.1486, allocations: 169.1 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.1486, allocations: 84.17 kB / 0.6847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1487, allocations: 75.28 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.1487, allocations: 109.8 kB / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1487, allocations: 0 / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.248e-05/0.1488, allocations: 33.69 kB / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.1488, allocations: 134.6 kB / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.1489, allocations: 101.8 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.1489, allocations: 25.7 kB / 0.6852 GB, free: 3.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.149, allocations: 84.14 kB / 0.6852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.149, allocations: 4 kB / 0.6852 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.149, allocations: 13.72 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.1491, allocations: 318.8 kB / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.1491, allocations: 0 / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.1492, allocations: 0 / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/0.1492, allocations: 8.859 kB / 0.6856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1492, allocations: 0 / 0.6856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.742e-05/0.1493, allocations: 37.77 kB / 0.6856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1493, allocations: 11.94 kB / 0.6856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1493, allocations: 3.938 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1493, allocations: 0 / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.327e-05/0.1493, allocations: 3.938 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1493, allocations: 7.984 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.1494, allocations: 0 / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1494, allocations: 4 kB / 0.6856 GB, free: 3.074 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.1495, allocations: 189.1 kB / 0.6858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1495, allocations: 101 kB / 0.6859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.1496, allocations: 112 kB / 0.686 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-05/0.1496, allocations: 180.3 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.044e-05/0.1497, allocations: 185 kB / 0.6864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/0.1498, allocations: 180.2 kB / 0.6865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.15, allocations: 409.2 kB / 0.6869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-05/0.15, allocations: 104.9 kB / 0.687 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.15, allocations: 105 kB / 0.6871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.913e-05/0.1501, allocations: 180.3 kB / 0.6873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.1502, allocations: 180.4 kB / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.933e-05/0.1502, allocations: 180.3 kB / 0.6876 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.148e-05/0.1503, allocations: 188.2 kB / 0.6878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1504, allocations: 303.8 kB / 0.6881 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1505, allocations: 186 kB / 0.6883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2375/0.388, allocations: 180.2 kB / 0.6885 GB, free: 18.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.3881, allocations: 104.4 kB / 0.6886 GB, free: 18.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.3882, allocations: 180.5 kB / 0.6887 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3882, allocations: 103.2 kB / 0.6888 GB, free: 18.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.3882, allocations: 83 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3882, allocations: 0 / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3885, allocations: 25.5 kB / 0.6889 GB, free: 18.11 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/0.3888, allocations: 223.2 kB / 0.6892 GB, free: 17.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.3889, allocations: 8.078 kB / 0.6892 GB, free: 17.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3889, allocations: 0 / 0.6892 GB, free: 17.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3889, allocations: 5.078 kB / 0.6892 GB, free: 17.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3892, allocations: 465.8 kB / 0.6896 GB, free: 17.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.3895, allocations: 202.3 kB / 0.6898 GB, free: 17.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.142e-05/0.3896, allocations: 0.672 MB / 0.6905 GB, free: 16.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.61e-05/0.3896, allocations: 5.875 kB / 0.6905 GB, free: 16.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.3896, allocations: 9.406 kB / 0.6905 GB, free: 16.64 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3896, allocations: 0 / 0.6905 GB, free: 16.64 MB / 494.1 MB Notification: Performance of Templates: time 0.002794/0.3924, allocations: 0.6829 MB / 0.6911 GB, free: 16.63 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)