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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001306/0.001306, allocations: 197.2 kB / 16.26 MB, free: 6.625 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9304/0.9304, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 64.34 kB / 0.505 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1915, allocations: 80.93 MB / 0.584 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002067/0.1936, allocations: 0.614 MB / 0.5846 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1952, allocations: 0.9892 MB / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.1952, allocations: 0 / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.1952, allocations: 0 / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007898/0.196, allocations: 83.8 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.063e-05/0.1961, allocations: 15.98 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.1962, allocations: 4 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1962, allocations: 0 / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.1962, allocations: 4 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1965, allocations: 35.91 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1965, allocations: 0 / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.1967, allocations: 75.91 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.1967, allocations: 4 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.1967, allocations: 7.938 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1969, allocations: 63.92 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1969, allocations: 0 / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1969, allocations: 0 / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1969, allocations: 0 / 0.5859 GB, free: 2.789 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.0003528/0.1973, allocations: 339.8 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1973, allocations: 12.03 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.1974, allocations: 30.75 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1974, allocations: 4.844 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1975, allocations: 168.4 kB / 0.5864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1976, allocations: 4.125 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1976, allocations: 0 / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.1977, allocations: 33.58 kB / 0.5864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1977, allocations: 0 / 0.5864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1977, allocations: 7.984 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1977, allocations: 4 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.1977, allocations: 0 / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1981, allocations: 464.6 kB / 0.5869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.1982, allocations: 177.1 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.1983, allocations: 84.14 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1983, allocations: 79.22 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.1984, allocations: 105.8 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1984, allocations: 0 / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.033e-05/0.1984, allocations: 29.7 kB / 0.5874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1985, allocations: 130.7 kB / 0.5875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.1986, allocations: 97.86 kB / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1986, allocations: 29.7 kB / 0.5876 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.1987, allocations: 84.08 kB / 0.5877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-06/0.1987, allocations: 4 kB / 0.5877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1987, allocations: 9.719 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1988, allocations: 322.8 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.1988, allocations: 4 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.1989, allocations: 4 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.1989, allocations: 8.922 kB / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1989, allocations: 0 / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.415e-05/0.199, allocations: 33.7 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.199, allocations: 4 kB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.199, allocations: 0 / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1991, allocations: 0 / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.227e-05/0.1991, allocations: 7.938 kB / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1991, allocations: 7.969 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.1991, allocations: 3.906 kB / 0.5881 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1991, allocations: 3.938 kB / 0.5881 GB, free: 288 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 9.28e-05/0.1992, allocations: 189.2 kB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.1993, allocations: 105 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.1994, allocations: 104.2 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/0.1994, allocations: 184.2 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/0.1995, allocations: 184.2 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.093e-05/0.1996, allocations: 188.1 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1998, allocations: 405.2 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/0.1998, allocations: 105 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.1998, allocations: 104.9 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.988e-05/0.1999, allocations: 176.3 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.2, allocations: 188.2 kB / 0.5899 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.489e-05/0.2, allocations: 180.3 kB / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-05/0.2001, allocations: 184.2 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2003, allocations: 307.8 kB / 0.5906 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.2003, allocations: 182 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.2004, allocations: 184.2 kB / 0.5909 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.2005, allocations: 108.9 kB / 0.591 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.2006, allocations: 176.3 kB / 0.5912 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.2006, allocations: 101.2 kB / 0.5913 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.2007, allocations: 95.14 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2007, allocations: 0 / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002545/0.2009, allocations: 23.98 kB / 0.5914 GB, free: 12.66 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.0006169/0.2015, allocations: 0.8588 MB / 0.5922 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.2016, allocations: 8 kB / 0.5922 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2016, allocations: 0 / 0.5922 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.2016, allocations: 0 / 0.5922 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.202, allocations: 467.6 kB / 0.5927 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.2025, allocations: 241.8 kB / 0.5929 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2027, allocations: 0.669 MB / 0.5936 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.2028, allocations: 4 kB / 0.5936 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.2028, allocations: 11.42 kB / 0.5936 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2028, allocations: 0 / 0.5936 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5515/0.7543, allocations: 1.435 MB / 0.595 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.7546, allocations: 313.7 kB / 0.5953 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.583, allocations: 3.938 kB / 0.5953 GB, free: 8.742 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)