Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00128/0.00128, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 194 kB / 16.53 MB, free: 6.664 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8981/0.8981, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.52 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 80.93 MB / 0.5844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00178/0.148, allocations: 0.5491 MB / 0.5849 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1494, allocations: 0.9892 MB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.1494, allocations: 4 kB / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1495, allocations: 0 / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.1501, allocations: 91.77 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.121e-05/0.1502, allocations: 19.86 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.651e-05/0.1502, allocations: 4 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1503, allocations: 4 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.1503, allocations: 4 kB / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1505, allocations: 31.97 kB / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1505, allocations: 0 / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1507, allocations: 79.91 kB / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1507, allocations: 0 / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.1507, allocations: 11.88 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1509, allocations: 63.92 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1509, allocations: 0 / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1509, allocations: 0 / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1509, allocations: 0 / 0.5862 GB, free: 2.637 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.0003115/0.1512, allocations: 339.8 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1513, allocations: 8.031 kB / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1513, allocations: 8.844 kB / 0.5866 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1514, allocations: 160.4 kB / 0.5867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1514, allocations: 384 / 0.5867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1514, allocations: 3.938 kB / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.204e-05/0.1515, allocations: 29.7 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1515, allocations: 0 / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.1515, allocations: 3.938 kB / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1515, allocations: 0 / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.1516, allocations: 11.92 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.152, allocations: 468.6 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.17e-05/0.152, allocations: 165.1 kB / 0.5874 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.1521, allocations: 80.14 kB / 0.5874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1521, allocations: 87.22 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1521, allocations: 105.8 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1522, allocations: 3.938 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.994e-05/0.1522, allocations: 25.7 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1523, allocations: 130.7 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.1524, allocations: 101.8 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1524, allocations: 25.7 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.1524, allocations: 84.14 kB / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1524, allocations: 0 / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1525, allocations: 17.72 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.1526, allocations: 318.8 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-06/0.1526, allocations: 0 / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/0.1526, allocations: 0 / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.271e-05/0.1526, allocations: 12.8 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1526, allocations: 64 / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.911e-05/0.1527, allocations: 37.7 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1527, allocations: 8 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1527, allocations: 0 / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1528, allocations: 0 / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-05/0.1528, allocations: 0 / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1528, allocations: 0 / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.1528, allocations: 3.984 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1528, allocations: 0 / 0.5884 GB, free: 200 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.0001187/0.1529, allocations: 193.3 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.153, allocations: 108.8 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.1531, allocations: 104.1 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-05/0.1532, allocations: 180.3 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-05/0.1532, allocations: 188.2 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/0.1533, allocations: 176.3 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.1536, allocations: 409.1 kB / 0.5897 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/0.1536, allocations: 112.8 kB / 0.5898 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.1537, allocations: 109 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.139e-05/0.1537, allocations: 184.2 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.1538, allocations: 180.5 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.986e-05/0.1539, allocations: 180.2 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.295e-05/0.1539, allocations: 188.3 kB / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.1541, allocations: 307.7 kB / 0.5909 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1541, allocations: 178.1 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.1542, allocations: 188.2 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1543, allocations: 105 kB / 0.5913 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.1544, allocations: 180.2 kB / 0.5915 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.1544, allocations: 105 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.1545, allocations: 83.22 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1545, allocations: 0 / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002647/0.1547, allocations: 27.92 kB / 0.5917 GB, free: 12.56 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.0003159/0.1551, allocations: 221.9 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.559e-05/0.1551, allocations: 11.98 kB / 0.5919 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1551, allocations: 0 / 0.5919 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.1552, allocations: 3.938 kB / 0.5919 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1555, allocations: 456.4 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.1558, allocations: 202 kB / 0.5925 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1561, allocations: 0.669 MB / 0.5932 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.1561, allocations: 4 kB / 0.5932 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.1561, allocations: 7.438 kB / 0.5932 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1561, allocations: 4 kB / 0.5932 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.002588/0.1587, allocations: 0.6608 MB / 0.5939 GB, free: 10.32 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)