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.001183/0.001183, allocations: 110.1 kB / 15.99 MB, free: 6.355 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.001301/0.001301, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.305/1.305, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.2 MB / 422.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 0.5019 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4257, allocations: 80.19 MB / 0.5803 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001685/0.4274, allocations: 0.6171 MB / 0.5809 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.4285, allocations: 0.9923 MB / 0.5818 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.4286, allocations: 0 / 0.5818 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.4286, allocations: 0.875 kB / 0.5818 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000674/0.4293, allocations: 82.77 kB / 0.5819 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.003e-05/0.4293, allocations: 16.2 kB / 0.5819 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.4294, allocations: 9.469 kB / 0.5819 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.4294, allocations: 0 / 0.5819 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.4294, allocations: 2.688 kB / 0.5819 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.4297, allocations: 30.84 kB / 0.582 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.4297, allocations: 1.344 kB / 0.582 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.4298, allocations: 80 kB / 0.582 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-06/0.4299, allocations: 1.062 kB / 0.582 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.4299, allocations: 9.062 kB / 0.5821 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.43, allocations: 50.78 kB / 0.5821 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.43, allocations: 0 / 0.5821 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.43, allocations: 1.594 kB / 0.5821 GB, free: 25.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.43, allocations: 0 / 0.5821 GB, free: 25.73 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.0002784/0.4303, allocations: 335.3 kB / 0.5824 GB, free: 25.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4304, allocations: 9.312 kB / 0.5824 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4304, allocations: 4.938 kB / 0.5824 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.4305, allocations: 167.8 kB / 0.5826 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4305, allocations: 1.625 kB / 0.5826 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.4305, allocations: 3.938 kB / 0.5826 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.211e-05/0.4306, allocations: 32.56 kB / 0.5826 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4306, allocations: 2.5 kB / 0.5826 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4306, allocations: 0 / 0.5826 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4306, allocations: 0 / 0.5826 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.4307, allocations: 2.844 kB / 0.5826 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.431, allocations: 467.8 kB / 0.5831 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.431, allocations: 167.5 kB / 0.5832 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.4311, allocations: 84.14 kB / 0.5833 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4311, allocations: 76.53 kB / 0.5834 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.4311, allocations: 108.1 kB / 0.5835 GB, free: 24.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4311, allocations: 0.9688 kB / 0.5835 GB, free: 24.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.505e-05/0.4312, allocations: 34.91 kB / 0.5835 GB, free: 24.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4312, allocations: 131.2 kB / 0.5837 GB, free: 23.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.4313, allocations: 100.7 kB / 0.5838 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.4313, allocations: 28.3 kB / 0.5838 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.4313, allocations: 84.12 kB / 0.5839 GB, free: 23.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.4314, allocations: 1.438 kB / 0.5839 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.4314, allocations: 18.83 kB / 0.5839 GB, free: 23.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.4314, allocations: 316.1 kB / 0.5842 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-06/0.4314, allocations: 6.125 kB / 0.5842 GB, free: 23.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.4315, allocations: 5.094 kB / 0.5842 GB, free: 23.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.4315, allocations: 8.734 kB / 0.5842 GB, free: 23.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4315, allocations: 1.438 kB / 0.5842 GB, free: 23.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.018e-05/0.4316, allocations: 35.3 kB / 0.5842 GB, free: 23.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4316, allocations: 7.219 kB / 0.5842 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4316, allocations: 4.766 kB / 0.5843 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4316, allocations: 1.594 kB / 0.5843 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.747e-05/0.4317, allocations: 0.625 kB / 0.5843 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4317, allocations: 0 / 0.5843 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.4317, allocations: 2.781 kB / 0.5843 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.4317, allocations: 0 / 0.5843 GB, free: 23.36 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 5.441e-05/0.4318, allocations: 187.2 kB / 0.5844 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.4318, allocations: 107.5 kB / 0.5845 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.4318, allocations: 110.5 kB / 0.5846 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.4319, allocations: 185.4 kB / 0.5848 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/0.4319, allocations: 181.7 kB / 0.585 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.4319, allocations: 183 kB / 0.5852 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4321, allocations: 407.7 kB / 0.5856 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.4321, allocations: 106 kB / 0.5857 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.4321, allocations: 102.5 kB / 0.5858 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/0.4321, allocations: 183.8 kB / 0.5859 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.4322, allocations: 177.5 kB / 0.5861 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.352e-05/0.4322, allocations: 184.3 kB / 0.5863 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-05/0.4322, allocations: 190.5 kB / 0.5865 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.624e-05/0.4323, allocations: 306.3 kB / 0.5867 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.4323, allocations: 183.2 kB / 0.5869 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4324, allocations: 186.6 kB / 0.5871 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.4324, allocations: 101 kB / 0.5872 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.4324, allocations: 182.5 kB / 0.5874 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4325, allocations: 111.6 kB / 0.5875 GB, free: 19.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.503e-05/0.4325, allocations: 82.2 kB / 0.5876 GB, free: 19.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4325, allocations: 1.375 kB / 0.5876 GB, free: 19.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.4328, allocations: 30.75 kB / 0.5876 GB, free: 19.78 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.0003583/0.4331, allocations: 220.6 kB / 0.5878 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.111e-05/0.4332, allocations: 3.312 kB / 0.5878 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4332, allocations: 1.969 kB / 0.5878 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.4332, allocations: 1.125 kB / 0.5878 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4335, allocations: 458.1 kB / 0.5882 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.4338, allocations: 224.9 kB / 0.5885 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4339, allocations: 0.6747 MB / 0.5891 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.4339, allocations: 8.719 kB / 0.5891 GB, free: 18.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4339, allocations: 1.875 kB / 0.5891 GB, free: 18.22 MB / 446.1 MB Notification: Performance of Templates: time 0.002407/0.4364, allocations: 0.8597 MB / 0.59 GB, free: 17.85 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)