Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001065/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 195.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.78 kB / 0.6708 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2105, allocations: 114.6 MB / 0.7827 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001888/0.2124, allocations: 0.6321 MB / 0.7833 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2138, allocations: 0.9965 MB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.453e-05/0.2138, allocations: 0 / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.2138, allocations: 3.938 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006683/0.2145, allocations: 75.86 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.213e-05/0.2146, allocations: 11.98 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.2146, allocations: 7.984 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.2147, allocations: 4 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.2147, allocations: 0 / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.2149, allocations: 28.62 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.215, allocations: 0 / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.2152, allocations: 91.86 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.2152, allocations: 3.984 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2152, allocations: 7.938 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2154, allocations: 67.91 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2154, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2154, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.2154, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 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.0003436/0.2157, allocations: 335.8 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2158, allocations: 8.031 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.2158, allocations: 4.938 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2159, allocations: 168.3 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.216, allocations: 4.359 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.216, allocations: 4.312 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.2161, allocations: 41.77 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2161, allocations: 3.938 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2161, allocations: 0 / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2161, allocations: 0 / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.2161, allocations: 7.984 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.2165, allocations: 464.6 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.2166, allocations: 165.1 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.2167, allocations: 88.2 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.2167, allocations: 79.22 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2167, allocations: 109.8 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2167, allocations: 0 / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.868e-05/0.2168, allocations: 29.7 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2169, allocations: 126.7 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.217, allocations: 101.8 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.217, allocations: 25.7 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.217, allocations: 84.14 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.217, allocations: 0 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2171, allocations: 17.72 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2172, allocations: 318.8 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.2172, allocations: 0 / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.2172, allocations: 3.938 kB / 0.7867 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.2172, allocations: 8.859 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2172, allocations: 0 / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.838e-05/0.2174, allocations: 33.7 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2174, allocations: 12.09 kB / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2174, allocations: 0 / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2174, allocations: 0 / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.2174, allocations: 0 / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2174, allocations: 0 / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.2175, allocations: 3.984 kB / 0.7867 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2175, allocations: 4 kB / 0.7867 GB, free: 9.543 MB / 0.6075 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 9.319e-05/0.2176, allocations: 189 kB / 0.7869 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.2176, allocations: 108.9 kB / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.2177, allocations: 112.1 kB / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/0.2177, allocations: 184.2 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/0.2178, allocations: 180.3 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.394e-05/0.2179, allocations: 184.2 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2181, allocations: 405.1 kB / 0.788 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/0.2181, allocations: 113 kB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.2182, allocations: 104.9 kB / 0.7883 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.2182, allocations: 180.3 kB / 0.7884 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.2183, allocations: 184.1 kB / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.262e-05/0.2183, allocations: 176.3 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.2184, allocations: 176.3 kB / 0.7889 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2186, allocations: 319.7 kB / 0.7892 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.2186, allocations: 182 kB / 0.7894 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.2187, allocations: 184.2 kB / 0.7896 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.2188, allocations: 101 kB / 0.7897 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.2189, allocations: 188.2 kB / 0.7899 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.2189, allocations: 105 kB / 0.79 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.2189, allocations: 79.45 kB / 0.79 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2189, allocations: 4 kB / 0.79 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002633/0.2192, allocations: 19.98 kB / 0.7901 GB, free: 5.91 MB / 0.6075 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.0003721/0.2196, allocations: 231 kB / 0.7903 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.2197, allocations: 11.92 kB / 0.7903 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2197, allocations: 0 / 0.7903 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2197, allocations: 0 / 0.7903 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.2201, allocations: 0.5256 MB / 0.7908 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.2204, allocations: 198 kB / 0.791 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.2207, allocations: 0.6731 MB / 0.7917 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.2208, allocations: 4 kB / 0.7917 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.2208, allocations: 7.438 kB / 0.7917 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2208, allocations: 0 / 0.7917 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.003074/0.2239, allocations: 0.6604 MB / 0.7923 GB, free: 3.59 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)