Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 174.3 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007108/0.0007108, allocations: 92.91 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 13.38 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007388/0.2067, allocations: 322.1 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2079, allocations: 0.9884 MB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.216e-05/0.2079, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.2079, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.2086, allocations: 75.86 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.957e-05/0.2086, allocations: 19.92 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.049e-05/0.2087, allocations: 8 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.2087, allocations: 3.984 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.2088, allocations: 4 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.209, allocations: 32.19 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.209, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.2092, allocations: 83.86 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.2092, allocations: 3.984 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.2092, allocations: 0 / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2093, allocations: 67.91 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2094, allocations: 0 / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2094, allocations: 3.938 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2094, allocations: 7.938 kB / 0.8978 GB, free: 66.46 MB / 0.6042 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.0002339/0.2096, allocations: 331.5 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2097, allocations: 8.031 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.2097, allocations: 34.75 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.2097, allocations: 0.9375 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.2098, allocations: 164.4 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2098, allocations: 384 / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.2098, allocations: 4.359 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.602e-05/0.2099, allocations: 37.64 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2099, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2099, allocations: 4 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2099, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.21, allocations: 4 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.2102, allocations: 468.5 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.2103, allocations: 169.1 kB / 0.899 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.2103, allocations: 84.17 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2103, allocations: 75.28 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2104, allocations: 105.8 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2104, allocations: 0 / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.888e-05/0.2104, allocations: 29.64 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2105, allocations: 134.7 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.2105, allocations: 101.8 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.2106, allocations: 25.7 kB / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.2106, allocations: 88.05 kB / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2106, allocations: 0 / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.2106, allocations: 9.719 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.2107, allocations: 314.8 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.2107, allocations: 4 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-06/0.2107, allocations: 4 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.2107, allocations: 12.84 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2107, allocations: 0 / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.802e-05/0.2108, allocations: 33.64 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2108, allocations: 6.656 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2109, allocations: 0 / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.2109, allocations: 7.938 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-05/0.2109, allocations: 0 / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2109, allocations: 0 / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.2109, allocations: 12.09 kB / 0.9 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.2109, allocations: 0 / 0.9 GB, free: 63.98 MB / 0.6042 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 6.173e-05/0.211, allocations: 189.1 kB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2111, allocations: 113.8 kB / 0.9003 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.2111, allocations: 108 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.2111, allocations: 176.3 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.592e-05/0.2111, allocations: 188.2 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.2112, allocations: 180.3 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2113, allocations: 405.1 kB / 0.9013 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.2113, allocations: 105 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.2113, allocations: 105.1 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.2114, allocations: 188.2 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.2114, allocations: 180.3 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-05/0.2114, allocations: 184.2 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/0.2115, allocations: 176.3 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.2115, allocations: 311.7 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2116, allocations: 182.1 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.2116, allocations: 180.2 kB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.2117, allocations: 109 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2117, allocations: 180.2 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2117, allocations: 108.9 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.2118, allocations: 83.45 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2118, allocations: 4 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002642/0.212, allocations: 23.94 kB / 0.9033 GB, free: 60.35 MB / 0.6042 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.0004091/0.2124, allocations: 0.8587 MB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.991e-05/0.2125, allocations: 7.938 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2125, allocations: 0 / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2125, allocations: 0 / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2128, allocations: 0.5185 MB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.2132, allocations: 243.5 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2133, allocations: 0.677 MB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.2134, allocations: 0 / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.2134, allocations: 7.438 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2134, allocations: 3.938 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.3164, allocations: 1.317 MB / 0.9068 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.3167, allocations: 333.5 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.328, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)