Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001099/0.001099, allocations: 104.8 kB / 16.36 MB, free: 5.828 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.001581/0.001581, allocations: 194.6 kB / 17.29 MB, free: 5.484 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3325, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001619/0.3342, allocations: 0.5543 MB / 0.5821 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.3352, allocations: 0.9875 MB / 0.583 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.3352, allocations: 0 / 0.583 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.3352, allocations: 0.875 kB / 0.583 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.3359, allocations: 91.23 kB / 0.5831 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.148e-05/0.3359, allocations: 11.88 kB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.3359, allocations: 11.61 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.336, allocations: 1.75 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.336, allocations: 2.406 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3362, allocations: 30.41 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3362, allocations: 1.188 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3364, allocations: 80.73 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.3364, allocations: 5.766 kB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.3364, allocations: 6.375 kB / 0.5833 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3366, allocations: 70.59 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3366, allocations: 1.875 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3366, allocations: 0 / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3366, allocations: 0.625 kB / 0.5833 GB, free: 26.2 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.0002258/0.3368, allocations: 334.6 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3369, allocations: 10.84 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.3369, allocations: 1.75 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.78e-05/0.337, allocations: 166.5 kB / 0.5838 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.337, allocations: 3.469 kB / 0.5838 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.337, allocations: 5 kB / 0.5838 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.827e-05/0.3371, allocations: 31.81 kB / 0.5839 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3371, allocations: 0 / 0.5839 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.3371, allocations: 0 / 0.5839 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3371, allocations: 0 / 0.5839 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.3371, allocations: 10.31 kB / 0.5839 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.3374, allocations: 471.6 kB / 0.5843 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.3375, allocations: 168.4 kB / 0.5845 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.3375, allocations: 81.77 kB / 0.5846 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3375, allocations: 77 kB / 0.5846 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.3375, allocations: 105.9 kB / 0.5847 GB, free: 24.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3375, allocations: 3.125 kB / 0.5847 GB, free: 24.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.97e-05/0.3376, allocations: 38.84 kB / 0.5848 GB, free: 24.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.3376, allocations: 127.8 kB / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.3377, allocations: 98.98 kB / 0.585 GB, free: 24.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.3377, allocations: 25.7 kB / 0.585 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.3377, allocations: 81.58 kB / 0.5851 GB, free: 24.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.3377, allocations: 0.5625 kB / 0.5851 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.3378, allocations: 25.7 kB / 0.5851 GB, free: 24.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.3378, allocations: 315.9 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.3378, allocations: 1.219 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.3379, allocations: 2.438 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.143e-05/0.3379, allocations: 8.641 kB / 0.5854 GB, free: 23.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3379, allocations: 3.938 kB / 0.5854 GB, free: 23.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.065e-05/0.338, allocations: 32.14 kB / 0.5855 GB, free: 23.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.338, allocations: 5.219 kB / 0.5855 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.338, allocations: 0 / 0.5855 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.338, allocations: 5.141 kB / 0.5855 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.275e-05/0.338, allocations: 0.625 kB / 0.5855 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.338, allocations: 3.984 kB / 0.5855 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.3381, allocations: 2.438 kB / 0.5855 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.3381, allocations: 0 / 0.5855 GB, free: 23.84 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.584e-05/0.3381, allocations: 191.5 kB / 0.5857 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3382, allocations: 108.6 kB / 0.5858 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.3382, allocations: 106.6 kB / 0.5859 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.3382, allocations: 184.2 kB / 0.586 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.602e-05/0.3382, allocations: 182.4 kB / 0.5862 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.3383, allocations: 182.5 kB / 0.5864 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.3384, allocations: 407.8 kB / 0.5868 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.3384, allocations: 103.1 kB / 0.5869 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.3384, allocations: 102.1 kB / 0.587 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/0.3385, allocations: 185.5 kB / 0.5872 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3385, allocations: 182 kB / 0.5873 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-05/0.3385, allocations: 184.8 kB / 0.5875 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-05/0.3385, allocations: 178.4 kB / 0.5877 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.91e-05/0.3386, allocations: 315.1 kB / 0.588 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.3386, allocations: 183.5 kB / 0.5881 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3387, allocations: 185.6 kB / 0.5883 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.3387, allocations: 105.7 kB / 0.5884 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3388, allocations: 183.5 kB / 0.5886 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3388, allocations: 106.4 kB / 0.5887 GB, free: 20.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.3388, allocations: 87.14 kB / 0.5888 GB, free: 20.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3388, allocations: 0 / 0.5888 GB, free: 20.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3391, allocations: 28.67 kB / 0.5888 GB, free: 20.26 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.000276/0.3394, allocations: 224.4 kB / 0.589 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.104e-05/0.3394, allocations: 1.906 kB / 0.589 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3394, allocations: 1.781 kB / 0.589 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3394, allocations: 3.938 kB / 0.589 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3397, allocations: 460.2 kB / 0.5895 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.34, allocations: 190.6 kB / 0.5897 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.3401, allocations: 0.6732 MB / 0.5903 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.369e-05/0.3401, allocations: 6.516 kB / 0.5903 GB, free: 18.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.3401, allocations: 8.594 kB / 0.5903 GB, free: 18.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3401, allocations: 0 / 0.5903 GB, free: 18.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002722/0.3429, allocations: 0.6542 MB / 0.591 GB, free: 18.47 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)