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.0007815/0.0007815, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005333/0.005333, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 262.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 15.72 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 88.55 MB / 0.6852 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006143/0.1366, allocations: 294.4 kB / 0.6854 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1377, allocations: 1.007 MB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.026e-05/0.1377, allocations: 0 / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.1378, allocations: 0 / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.1384, allocations: 87.84 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.423e-05/0.1384, allocations: 4 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.528e-05/0.1384, allocations: 8 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.1385, allocations: 4 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.1385, allocations: 0 / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1387, allocations: 42.81 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1387, allocations: 4.562 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1389, allocations: 91.84 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.1389, allocations: 0.5625 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1389, allocations: 29.7 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1391, allocations: 72.97 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1391, allocations: 0 / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1391, allocations: 0 / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.1391, allocations: 1.406 kB / 0.6868 GB, free: 13.38 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.0002574/0.1394, allocations: 331.5 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1394, allocations: 9.219 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.1394, allocations: 8.922 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.1395, allocations: 160.4 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1396, allocations: 0.9375 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.1396, allocations: 1.438 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.359e-05/0.1396, allocations: 37.77 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.1397, allocations: 1.562 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.1397, allocations: 0 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1397, allocations: 0 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.1397, allocations: 4 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.1401, allocations: 474.1 kB / 0.6877 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.1401, allocations: 171.3 kB / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.1402, allocations: 84.69 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1402, allocations: 75.28 kB / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1402, allocations: 107.1 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.1403, allocations: 0 / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.538e-05/0.1403, allocations: 26.36 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1404, allocations: 132.8 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.1405, allocations: 105.8 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.1405, allocations: 25.7 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.1405, allocations: 80.14 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1405, allocations: 2.469 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.1405, allocations: 13.72 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1407, allocations: 318.7 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-06/0.1407, allocations: 4 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.1407, allocations: 0 / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.1407, allocations: 9.625 kB / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1407, allocations: 5.719 kB / 0.6889 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.352e-05/0.1408, allocations: 29.7 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1408, allocations: 4 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1408, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1408, allocations: 4.875 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-05/0.1409, allocations: 3.938 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1409, allocations: 5.062 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.1409, allocations: 3.938 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1409, allocations: 0 / 0.6889 GB, free: 10.95 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.432e-05/0.141, allocations: 195.8 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.141, allocations: 105.1 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.1411, allocations: 108.1 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-05/0.1411, allocations: 180.3 kB / 0.6895 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-05/0.1412, allocations: 188.3 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/0.1413, allocations: 188.2 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1415, allocations: 397.2 kB / 0.6902 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.1415, allocations: 109 kB / 0.6903 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.1416, allocations: 108.9 kB / 0.6904 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.528e-05/0.1416, allocations: 180.3 kB / 0.6906 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.1417, allocations: 180.4 kB / 0.6908 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-05/0.1417, allocations: 180.3 kB / 0.6909 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.653e-05/0.1418, allocations: 180.3 kB / 0.6911 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1419, allocations: 319.7 kB / 0.6914 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.142, allocations: 182 kB / 0.6916 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/0.1421, allocations: 184.2 kB / 0.6918 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1421, allocations: 101 kB / 0.6918 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1422, allocations: 184.2 kB / 0.692 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.1423, allocations: 105 kB / 0.6921 GB, free: 7.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.1423, allocations: 79.28 kB / 0.6922 GB, free: 7.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 0 / 0.6922 GB, free: 7.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1426, allocations: 27.92 kB / 0.6922 GB, free: 7.324 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.0003229/0.1429, allocations: 228.2 kB / 0.6924 GB, free: 7.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.825e-05/0.143, allocations: 11.92 kB / 0.6925 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.143, allocations: 0 / 0.6925 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.143, allocations: 0 / 0.6925 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1433, allocations: 0.5263 MB / 0.693 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.1436, allocations: 209.7 kB / 0.6932 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1439, allocations: 0.6692 MB / 0.6938 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.326e-05/0.1439, allocations: 4 kB / 0.6938 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.1439, allocations: 11.42 kB / 0.6938 GB, free: 5.609 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1439, allocations: 0 / 0.6938 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Templates: time 0.002584/0.1465, allocations: 0.668 MB / 0.6945 GB, free: 4.992 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)