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.001414/0.001414, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001357/0.001357, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 290.6 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5069 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 98.2 kB / 0.606 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1618, allocations: 89.16 MB / 0.693 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001903/0.1637, allocations: 0.6159 MB / 0.6936 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1652, allocations: 1.006 MB / 0.6946 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.1653, allocations: 0 / 0.6946 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.1653, allocations: 0.7812 kB / 0.6946 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.1661, allocations: 99.25 kB / 0.6947 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-05/0.1662, allocations: 8 kB / 0.6947 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.62e-05/0.1662, allocations: 0 / 0.6947 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.1663, allocations: 4 kB / 0.6947 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1663, allocations: 3.984 kB / 0.6947 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1666, allocations: 35.34 kB / 0.6948 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1666, allocations: 3.938 kB / 0.6948 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.1668, allocations: 91.84 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.1668, allocations: 0 / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.1668, allocations: 8 kB / 0.6948 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.167, allocations: 68.14 kB / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.167, allocations: 0 / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.167, allocations: 0 / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.167, allocations: 0 / 0.6949 GB, free: 2.727 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.0004297/0.1675, allocations: 343.5 kB / 0.6952 GB, free: 2.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1675, allocations: 8.031 kB / 0.6952 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.1675, allocations: 0.9375 kB / 0.6953 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1677, allocations: 168.3 kB / 0.6954 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1677, allocations: 4.375 kB / 0.6954 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1677, allocations: 384 / 0.6954 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1678, allocations: 33.83 kB / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1678, allocations: 0 / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1678, allocations: 0 / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1679, allocations: 4 kB / 0.6955 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.1679, allocations: 7.922 kB / 0.6955 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.1684, allocations: 468.6 kB / 0.6959 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.1685, allocations: 165.1 kB / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1685, allocations: 80.14 kB / 0.6961 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1686, allocations: 75.28 kB / 0.6962 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.1686, allocations: 109.8 kB / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 4.258e-06/0.1687, allocations: 4 kB / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.675e-05/0.1687, allocations: 33.7 kB / 0.6964 GB, free: 1.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.1688, allocations: 126.7 kB / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1689, allocations: 105.8 kB / 0.6966 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.169, allocations: 25.7 kB / 0.6966 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.169, allocations: 84.14 kB / 0.6967 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.169, allocations: 4 kB / 0.6967 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1691, allocations: 9.719 kB / 0.6967 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1692, allocations: 322.8 kB / 0.697 GB, free: 360 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.1692, allocations: 4 kB / 0.697 GB, free: 356 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.1693, allocations: 0 / 0.697 GB, free: 356 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.1693, allocations: 8.797 kB / 0.697 GB, free: 344 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1693, allocations: 0 / 0.697 GB, free: 344 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.637e-05/0.1694, allocations: 37.7 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1694, allocations: 6.5 kB / 0.6971 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1694, allocations: 0 / 0.6971 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1694, allocations: 8.031 kB / 0.6971 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.699e-05/0.1695, allocations: 4 kB / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1695, allocations: 0 / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.1695, allocations: 0 / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1695, allocations: 3.984 kB / 0.6971 GB, free: 280 kB / 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 0.0001144/0.1696, allocations: 185.1 kB / 0.6972 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.1697, allocations: 108.9 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.1698, allocations: 104.2 kB / 0.6974 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.49e-05/0.1699, allocations: 192.2 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.029e-05/0.17, allocations: 184.2 kB / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/0.1701, allocations: 176.5 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1703, allocations: 401.1 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.4e-05/0.1704, allocations: 117 kB / 0.6985 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1705, allocations: 108.9 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.101e-05/0.1706, allocations: 180.3 kB / 0.6987 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.1707, allocations: 176.3 kB / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-05/0.1708, allocations: 188.2 kB / 0.6991 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/0.1708, allocations: 176.3 kB / 0.6993 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.171, allocations: 319.6 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1711, allocations: 178.1 kB / 0.6997 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1712, allocations: 184.2 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.1713, allocations: 105 kB / 0.7 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1714, allocations: 184.2 kB / 0.7002 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.1715, allocations: 105 kB / 0.7003 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.1716, allocations: 79.28 kB / 0.7004 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1716, allocations: 0 / 0.7004 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000259/0.1718, allocations: 23.98 kB / 0.7004 GB, free: 12.65 MB / 0.4981 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 (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.0004518/0.1723, allocations: 237.1 kB / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.53e-05/0.1724, allocations: 7.938 kB / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1724, allocations: 0 / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1724, allocations: 0 / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1728, allocations: 460.3 kB / 0.7011 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.1732, allocations: 204.3 kB / 0.7013 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1735, allocations: 0.669 MB / 0.7019 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.1735, allocations: 7.984 kB / 0.7019 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.1736, allocations: 11.38 kB / 0.7019 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1736, allocations: 0 / 0.7019 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.003453/0.177, allocations: 0.6807 MB / 0.7026 GB, free: 10.38 MB / 0.4981 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)