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.0008105/0.0008106, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008622/0.0008622, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 267.1 kB / 291.3 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 13.69 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 88.56 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006267/0.1417, allocations: 290.4 kB / 0.6848 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1428, allocations: 0.977 MB / 0.6858 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.28e-05/0.1428, allocations: 1.625 kB / 0.6858 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.187e-06/0.1428, allocations: 0 / 0.6858 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.1434, allocations: 83.84 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.686e-05/0.1435, allocations: 7.938 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.285e-05/0.1435, allocations: 6.531 kB / 0.6859 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.1435, allocations: 0 / 0.6859 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.1436, allocations: 7.984 kB / 0.6859 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1438, allocations: 36.23 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1438, allocations: 0 / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1439, allocations: 67.88 kB / 0.686 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.1439, allocations: 4.438 kB / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.144, allocations: 25.7 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1441, allocations: 52.5 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1441, allocations: 8.688 kB / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1441, allocations: 0 / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.1441, allocations: 0 / 0.686 GB, free: 13.86 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.000255/0.1444, allocations: 328.6 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.1444, allocations: 8.031 kB / 0.6864 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.1444, allocations: 8.516 kB / 0.6864 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1445, allocations: 163.9 kB / 0.6865 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1445, allocations: 0 / 0.6865 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.1446, allocations: 1.75 kB / 0.6865 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.024e-05/0.1446, allocations: 37.69 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.1446, allocations: 0 / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1447, allocations: 0 / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1447, allocations: 0.9688 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.1447, allocations: 11.89 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.145, allocations: 464.1 kB / 0.687 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.1451, allocations: 165.1 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.1452, allocations: 84.17 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1452, allocations: 75.91 kB / 0.6873 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.1452, allocations: 106.5 kB / 0.6874 GB, free: 12.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1452, allocations: 4.5 kB / 0.6874 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.92e-05/0.1453, allocations: 36.61 kB / 0.6875 GB, free: 12.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.1454, allocations: 130.7 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.1455, allocations: 97.86 kB / 0.6877 GB, free: 11.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.1455, allocations: 25.7 kB / 0.6877 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1455, allocations: 88.05 kB / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.1455, allocations: 0.75 kB / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.1455, allocations: 0 / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1456, allocations: 315.6 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1457, allocations: 5.719 kB / 0.6881 GB, free: 11.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.1457, allocations: 0 / 0.6881 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.344e-05/0.1457, allocations: 0 / 0.6881 GB, free: 11.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1457, allocations: 0.6562 kB / 0.6881 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.963e-05/0.1458, allocations: 43.45 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1458, allocations: 4 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1458, allocations: 0 / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.1458, allocations: 0 / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.1458, allocations: 3.953 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1459, allocations: 4 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1459, allocations: 10.62 kB / 0.6882 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1459, allocations: 0 / 0.6882 GB, free: 11.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/0.146, allocations: 189.8 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.146, allocations: 105 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1461, allocations: 108.9 kB / 0.6886 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-05/0.1461, allocations: 176.8 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.245e-05/0.1462, allocations: 185.4 kB / 0.6889 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/0.1463, allocations: 193.2 kB / 0.6891 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1465, allocations: 401.3 kB / 0.6895 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/0.1465, allocations: 105 kB / 0.6896 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1466, allocations: 105 kB / 0.6897 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-05/0.1466, allocations: 180.2 kB / 0.6898 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.1467, allocations: 180.5 kB / 0.69 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.086e-05/0.1467, allocations: 180.2 kB / 0.6902 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.824e-05/0.1468, allocations: 188.3 kB / 0.6904 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.1469, allocations: 315.7 kB / 0.6907 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.147, allocations: 178.1 kB / 0.6908 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.1471, allocations: 184.2 kB / 0.691 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1471, allocations: 105 kB / 0.6911 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.1472, allocations: 180.3 kB / 0.6913 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.1473, allocations: 108.9 kB / 0.6914 GB, free: 7.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.428e-05/0.1473, allocations: 79.28 kB / 0.6915 GB, free: 7.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1473, allocations: 0 / 0.6915 GB, free: 7.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1476, allocations: 31.88 kB / 0.6915 GB, free: 7.84 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 (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.0003062/0.1479, allocations: 219.6 kB / 0.6917 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.046e-05/0.1479, allocations: 8 kB / 0.6917 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1479, allocations: 3.938 kB / 0.6917 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1479, allocations: 0 / 0.6917 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1483, allocations: 0.5224 MB / 0.6922 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.1486, allocations: 193.9 kB / 0.6924 GB, free: 6.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1488, allocations: 0.6809 MB / 0.6931 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.1489, allocations: 0 / 0.6931 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.1489, allocations: 7.438 kB / 0.6931 GB, free: 6.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1489, allocations: 8 kB / 0.6931 GB, free: 6.141 MB / 494.1 MB Notification: Performance of Templates: time 0.002511/0.1514, allocations: 0.6679 MB / 0.6937 GB, free: 5.523 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)