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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001107/0.001107, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 275 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 91.47 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.137, allocations: 86.99 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001632/0.1387, allocations: 0.6244 MB / 0.6801 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1399, allocations: 1.003 MB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.1399, allocations: 0 / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.14, allocations: 0 / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005986/0.1406, allocations: 91.84 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.604e-05/0.1406, allocations: 7.938 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.026e-05/0.1406, allocations: 4 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.1407, allocations: 3.984 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.1407, allocations: 11.92 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1409, allocations: 28.27 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1409, allocations: 3.984 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1411, allocations: 79.92 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1411, allocations: 7.984 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.1411, allocations: 4 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1413, allocations: 87.77 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1413, allocations: 0 / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1413, allocations: 0 / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.1413, allocations: 0 / 0.6814 GB, free: 15.16 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.0002844/0.1416, allocations: 331.6 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1416, allocations: 12.03 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.1416, allocations: 4.875 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1418, allocations: 160.4 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.1418, allocations: 384 / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1418, allocations: 4.375 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.842e-05/0.1419, allocations: 37.81 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1419, allocations: 0 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1419, allocations: 0 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1419, allocations: 0 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1419, allocations: 4 kB / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.1423, allocations: 460.6 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.1423, allocations: 181.1 kB / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.1424, allocations: 80.66 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1424, allocations: 79.22 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1424, allocations: 105.8 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1425, allocations: 0 / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.363e-05/0.1425, allocations: 37.53 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1426, allocations: 130.7 kB / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.1427, allocations: 105.8 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.1427, allocations: 25.7 kB / 0.6831 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1427, allocations: 80.14 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1427, allocations: 0 / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.1428, allocations: 17.7 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.1429, allocations: 318.8 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.1429, allocations: 8 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.1429, allocations: 4 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.1429, allocations: 4.859 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1429, allocations: 0 / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.162e-05/0.143, allocations: 37.64 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.143, allocations: 4 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.143, allocations: 3.984 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1431, allocations: 0 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.351e-05/0.1431, allocations: 96 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1431, allocations: 4 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.1431, allocations: 192 / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.1431, allocations: 4 kB / 0.6835 GB, free: 12.72 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.106e-05/0.1432, allocations: 190.4 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.1433, allocations: 105 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.1433, allocations: 112 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.784e-05/0.1434, allocations: 188.3 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-05/0.1434, allocations: 180.2 kB / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.912e-05/0.1435, allocations: 176.3 kB / 0.6844 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1437, allocations: 409.2 kB / 0.6848 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.1437, allocations: 104.9 kB / 0.6849 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.1438, allocations: 101 kB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.774e-05/0.1438, allocations: 188.2 kB / 0.6852 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.1439, allocations: 180.3 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.125e-05/0.144, allocations: 184.3 kB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.623e-05/0.144, allocations: 180.2 kB / 0.6857 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1442, allocations: 311.7 kB / 0.686 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.1442, allocations: 186.1 kB / 0.6862 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.1443, allocations: 176.3 kB / 0.6864 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1444, allocations: 104.9 kB / 0.6865 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.1444, allocations: 176.3 kB / 0.6866 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.1445, allocations: 112.9 kB / 0.6867 GB, free: 9.203 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.925e-05/0.1445, allocations: 95.2 kB / 0.6868 GB, free: 9.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1445, allocations: 0 / 0.6868 GB, free: 9.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1448, allocations: 23.94 kB / 0.6869 GB, free: 9.086 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.0003276/0.1451, allocations: 224.4 kB / 0.6871 GB, free: 8.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.591e-05/0.1452, allocations: 8 kB / 0.6871 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1452, allocations: 0 / 0.6871 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1452, allocations: 0 / 0.6871 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1455, allocations: 0.5224 MB / 0.6876 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.1458, allocations: 207.2 kB / 0.6878 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1461, allocations: 0.677 MB / 0.6885 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.183e-05/0.1461, allocations: 0 / 0.6885 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.1461, allocations: 11.44 kB / 0.6885 GB, free: 7.391 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1461, allocations: 0 / 0.6885 GB, free: 7.391 MB / 494.1 MB Notification: Performance of Templates: time 0.002594/0.1487, allocations: 0.6758 MB / 0.6891 GB, free: 6.762 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)