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.004997/0.004997, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001133/0.001133, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9346/0.9346, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 60.14 kB / 0.5857 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3952, allocations: 80.91 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001794/0.397, allocations: 0.5628 MB / 0.6652 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3982, allocations: 0.9887 MB / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.3982, allocations: 0 / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.3983, allocations: 0 / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007044/0.399, allocations: 94.42 kB / 0.6663 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.241e-05/0.399, allocations: 7.312 kB / 0.6663 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.3991, allocations: 7.859 kB / 0.6663 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.3991, allocations: 5.625 kB / 0.6663 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.3992, allocations: 5.375 kB / 0.6663 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.3994, allocations: 32.62 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.3994, allocations: 0 / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3996, allocations: 76.27 kB / 0.6664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.3996, allocations: 5.609 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.3996, allocations: 1.156 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.3998, allocations: 70.86 kB / 0.6665 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3998, allocations: 1.375 kB / 0.6665 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3998, allocations: 3.938 kB / 0.6665 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3998, allocations: 3.938 kB / 0.6665 GB, free: 6.223 MB / 0.4981 GB 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.000232/0.4, allocations: 340 kB / 0.6668 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4001, allocations: 10.44 kB / 0.6668 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.4001, allocations: 0.9375 kB / 0.6668 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.998e-05/0.4002, allocations: 165.6 kB / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4002, allocations: 5.625 kB / 0.667 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.4002, allocations: 0 / 0.667 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.4003, allocations: 28.14 kB / 0.667 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4003, allocations: 0 / 0.667 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4003, allocations: 4 kB / 0.667 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4003, allocations: 3.984 kB / 0.667 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.832e-05/0.4004, allocations: 2.469 kB / 0.667 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.4007, allocations: 467.2 kB / 0.6675 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.4007, allocations: 170.6 kB / 0.6676 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.4007, allocations: 84.14 kB / 0.6677 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.4008, allocations: 79.28 kB / 0.6678 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4008, allocations: 107 kB / 0.6679 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4008, allocations: 0 / 0.6679 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.656e-05/0.4009, allocations: 30.98 kB / 0.6679 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4009, allocations: 130.7 kB / 0.6681 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.401, allocations: 99.33 kB / 0.6682 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.401, allocations: 29.7 kB / 0.6682 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.401, allocations: 85.42 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.401, allocations: 0 / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.4011, allocations: 12.69 kB / 0.6683 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.4011, allocations: 318.8 kB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.4011, allocations: 1.531 kB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.4011, allocations: 5.188 kB / 0.6686 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.4012, allocations: 15.33 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4012, allocations: 0 / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.32e-05/0.4013, allocations: 35.08 kB / 0.6686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4013, allocations: 6.031 kB / 0.6686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4013, allocations: 0 / 0.6686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4013, allocations: 0 / 0.6686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.4013, allocations: 5.531 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.4014, allocations: 3.984 kB / 0.6686 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.4014, allocations: 1.688 kB / 0.6686 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.4014, allocations: 3.938 kB / 0.6687 GB, free: 3.84 MB / 0.4981 GB 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 4.728e-05/0.4014, allocations: 187.9 kB / 0.6688 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.4015, allocations: 102.1 kB / 0.6689 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.4015, allocations: 113.1 kB / 0.669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.4015, allocations: 177.3 kB / 0.6692 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/0.4016, allocations: 189.3 kB / 0.6694 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.4016, allocations: 181.3 kB / 0.6696 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.4017, allocations: 407.3 kB / 0.6699 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.4018, allocations: 106.1 kB / 0.67 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.4018, allocations: 101 kB / 0.6701 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/0.4018, allocations: 181.3 kB / 0.6703 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4018, allocations: 177.4 kB / 0.6705 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.972e-05/0.4018, allocations: 185.5 kB / 0.6707 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-05/0.4019, allocations: 181.5 kB / 0.6708 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.913e-05/0.4019, allocations: 311.9 kB / 0.6711 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.402, allocations: 183.9 kB / 0.6713 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.402, allocations: 192.2 kB / 0.6715 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.4021, allocations: 102.3 kB / 0.6716 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.4021, allocations: 181.3 kB / 0.6718 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4021, allocations: 106.1 kB / 0.6719 GB, free: 352 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.447e-05/0.4021, allocations: 82.34 kB / 0.6719 GB, free: 272 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4022, allocations: 0 / 0.6719 GB, free: 272 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002794/0.4024, allocations: 22.67 kB / 0.672 GB, free: 264 kB / 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.0002717/0.4027, allocations: 233.1 kB / 0.6722 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.99e-05/0.4028, allocations: 2.156 kB / 0.6722 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4028, allocations: 0 / 0.6722 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.4028, allocations: 1.156 kB / 0.6722 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.4031, allocations: 462.8 kB / 0.6726 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.4035, allocations: 195.8 kB / 0.6728 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.4037, allocations: 0.6751 MB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.4037, allocations: 5 kB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.4038, allocations: 16.55 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.4038, allocations: 1.312 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.002632/0.4064, allocations: 0.6548 MB / 0.6741 GB, free: 14.38 MB / 0.5137 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)