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.00153/0.00153, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001458/0.001458, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8234/0.8234, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 72.03 kB / 0.5061 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3365, allocations: 80.93 MB / 0.5851 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001655/0.3382, allocations: 0.5472 MB / 0.5856 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.3392, allocations: 0.985 MB / 0.5866 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.3392, allocations: 1.125 kB / 0.5866 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.3393, allocations: 0 / 0.5866 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005882/0.3399, allocations: 95.23 kB / 0.5867 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.095e-05/0.3399, allocations: 15.69 kB / 0.5867 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.34, allocations: 11.8 kB / 0.5867 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.34, allocations: 2.156 kB / 0.5867 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.3401, allocations: 2.438 kB / 0.5867 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3403, allocations: 27.5 kB / 0.5868 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3403, allocations: 1.875 kB / 0.5868 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3404, allocations: 79.88 kB / 0.5868 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.3404, allocations: 5.75 kB / 0.5868 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.3405, allocations: 5.344 kB / 0.5868 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3406, allocations: 64.17 kB / 0.5869 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3406, allocations: 0.7812 kB / 0.5869 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3406, allocations: 1.281 kB / 0.5869 GB, free: 24.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3406, allocations: 0 / 0.5869 GB, free: 24.14 MB / 446.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.0002289/0.3409, allocations: 335.4 kB / 0.5872 GB, free: 23.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3409, allocations: 11.08 kB / 0.5872 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.3409, allocations: 5.656 kB / 0.5872 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.341, allocations: 165.8 kB / 0.5874 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.341, allocations: 2.875 kB / 0.5874 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.341, allocations: 3.938 kB / 0.5874 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.764e-05/0.3411, allocations: 28.73 kB / 0.5874 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3411, allocations: 3.984 kB / 0.5874 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.3411, allocations: 0.8438 kB / 0.5874 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3411, allocations: 5.297 kB / 0.5874 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.3412, allocations: 2.656 kB / 0.5874 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.3415, allocations: 468.2 kB / 0.5879 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/0.3415, allocations: 175.1 kB / 0.5881 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.3415, allocations: 80.73 kB / 0.5881 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3415, allocations: 76.5 kB / 0.5882 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3416, allocations: 108 kB / 0.5883 GB, free: 22.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3416, allocations: 0 / 0.5883 GB, free: 22.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.995e-05/0.3416, allocations: 31.8 kB / 0.5883 GB, free: 22.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.3417, allocations: 136.4 kB / 0.5885 GB, free: 22.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.3417, allocations: 99.52 kB / 0.5886 GB, free: 22.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-06/0.3418, allocations: 26.86 kB / 0.5886 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.3418, allocations: 81.52 kB / 0.5887 GB, free: 22.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.3418, allocations: 0 / 0.5887 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.3418, allocations: 16.97 kB / 0.5887 GB, free: 22.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.3419, allocations: 319.8 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.3419, allocations: 1.469 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-06/0.3419, allocations: 1.938 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.3419, allocations: 7.328 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3419, allocations: 1.281 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.027e-05/0.342, allocations: 36.02 kB / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.342, allocations: 5.938 kB / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.342, allocations: 0 / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3421, allocations: 1.344 kB / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.3421, allocations: 0.5625 kB / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3421, allocations: 5.609 kB / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.3421, allocations: 5.312 kB / 0.5891 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3421, allocations: 3.938 kB / 0.5891 GB, free: 21.77 MB / 446.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 4.867e-05/0.3422, allocations: 196.4 kB / 0.5892 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.3422, allocations: 102.4 kB / 0.5893 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.3422, allocations: 110 kB / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.3423, allocations: 178.8 kB / 0.5896 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.3423, allocations: 181.6 kB / 0.5898 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.3423, allocations: 186.5 kB / 0.59 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3425, allocations: 401.5 kB / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.3425, allocations: 110.3 kB / 0.5905 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.3425, allocations: 101 kB / 0.5906 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/0.3425, allocations: 177.9 kB / 0.5907 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3426, allocations: 192.5 kB / 0.5909 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.139e-05/0.3426, allocations: 180.2 kB / 0.5911 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/0.3426, allocations: 185.6 kB / 0.5913 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.3427, allocations: 312 kB / 0.5916 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.3427, allocations: 180.4 kB / 0.5917 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.3427, allocations: 182.7 kB / 0.5919 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.3428, allocations: 106 kB / 0.592 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.3428, allocations: 183.5 kB / 0.5922 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3429, allocations: 106.1 kB / 0.5923 GB, free: 18.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.3429, allocations: 82 kB / 0.5924 GB, free: 18.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3429, allocations: 2.406 kB / 0.5924 GB, free: 18.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3432, allocations: 26.14 kB / 0.5924 GB, free: 18.2 MB / 446.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.0003167/0.3435, allocations: 226.9 kB / 0.5926 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.555e-05/0.3436, allocations: 1.531 kB / 0.5926 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3436, allocations: 1.844 kB / 0.5926 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.3436, allocations: 0 / 0.5926 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3438, allocations: 463.8 kB / 0.593 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.3441, allocations: 221.2 kB / 0.5933 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.857e-05/0.3442, allocations: 0.6719 MB / 0.5939 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.3443, allocations: 8.969 kB / 0.5939 GB, free: 16.64 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3443, allocations: 0 / 0.5939 GB, free: 16.64 MB / 446.1 MB Notification: Performance of Templates: time 0.002344/0.3466, allocations: 0.8562 MB / 0.5948 GB, free: 16.27 MB / 446.1 MB 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)