Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_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.001332/0.001332, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003997/0.003997, allocations: 283.1 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.178/1.178, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 99.89 kB / 0.6066 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1812, allocations: 89.15 MB / 0.6936 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002318/0.1836, allocations: 0.5509 MB / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.185, allocations: 1.013 MB / 0.6952 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.185, allocations: 0 / 0.6952 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.185, allocations: 0.625 kB / 0.6952 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007015/0.1858, allocations: 89.56 kB / 0.6953 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.362e-05/0.1858, allocations: 23.91 kB / 0.6953 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.1859, allocations: 4 kB / 0.6953 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.1859, allocations: 0 / 0.6953 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.1859, allocations: 4.656 kB / 0.6953 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1861, allocations: 31.91 kB / 0.6953 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1862, allocations: 6.469 kB / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1863, allocations: 79.91 kB / 0.6954 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1863, allocations: 0 / 0.6954 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.1864, allocations: 4 kB / 0.6954 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1865, allocations: 72.12 kB / 0.6955 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1865, allocations: 0 / 0.6955 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.1865, allocations: 0 / 0.6955 GB, free: 2.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.1866, allocations: 9.688 kB / 0.6955 GB, free: 2.301 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.0003505/0.1869, allocations: 331.6 kB / 0.6958 GB, free: 1.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.187, allocations: 8.031 kB / 0.6958 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.974e-05/0.1871, allocations: 35.31 kB / 0.6958 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1871, allocations: 0.9375 kB / 0.6958 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1873, allocations: 170 kB / 0.696 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1873, allocations: 4.359 kB / 0.696 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1873, allocations: 4.375 kB / 0.696 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.1874, allocations: 45.62 kB / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1874, allocations: 0 / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.1875, allocations: 0 / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1875, allocations: 0 / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.1875, allocations: 0 / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1879, allocations: 468.5 kB / 0.6965 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.188, allocations: 169.1 kB / 0.6967 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.1881, allocations: 80.14 kB / 0.6967 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1881, allocations: 75.28 kB / 0.6968 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.1881, allocations: 117.8 kB / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1882, allocations: 0 / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.912e-05/0.1882, allocations: 29.64 kB / 0.6969 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.1883, allocations: 130.7 kB / 0.6971 GB, free: 468 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1884, allocations: 101.9 kB / 0.6972 GB, free: 356 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1884, allocations: 25.7 kB / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.1885, allocations: 88.06 kB / 0.6973 GB, free: 232 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.1885, allocations: 0 / 0.6973 GB, free: 232 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1885, allocations: 13.72 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1887, allocations: 314.8 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.1887, allocations: 0 / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.1887, allocations: 4 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.1888, allocations: 12.86 kB / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1888, allocations: 0 / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.1889, allocations: 37.62 kB / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1889, allocations: 11.94 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1889, allocations: 0 / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1889, allocations: 0 / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.1889, allocations: 0 / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.189, allocations: 0 / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.189, allocations: 4.094 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.189, allocations: 0 / 0.6977 GB, free: 15.81 MB / 0.4981 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 0.0001043/0.1891, allocations: 189.1 kB / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.1892, allocations: 104.9 kB / 0.6979 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.1892, allocations: 116 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.942e-05/0.1893, allocations: 180.3 kB / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.181e-05/0.1894, allocations: 184.2 kB / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.843e-05/0.1895, allocations: 180.3 kB / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1898, allocations: 409.2 kB / 0.699 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/0.1899, allocations: 104.9 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.19, allocations: 101 kB / 0.6992 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.1902, allocations: 180.2 kB / 0.6993 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.1903, allocations: 188.4 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.395e-05/0.1904, allocations: 184.2 kB / 0.6997 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.731e-05/0.1905, allocations: 176.3 kB / 0.6999 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1907, allocations: 307.7 kB / 0.7001 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.1908, allocations: 186.1 kB / 0.7003 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/0.1909, allocations: 184.2 kB / 0.7005 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.191, allocations: 109 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.1911, allocations: 176.3 kB / 0.7008 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.1911, allocations: 104.9 kB / 0.7009 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.1912, allocations: 83.45 kB / 0.701 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.1912, allocations: 4 kB / 0.701 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000285/0.1915, allocations: 20 kB / 0.701 GB, free: 12.2 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.0007034/0.1922, allocations: 0.881 MB / 0.7018 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.1923, allocations: 7.922 kB / 0.7018 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1923, allocations: 0 / 0.7018 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1923, allocations: 3.938 kB / 0.7018 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1927, allocations: 458.5 kB / 0.7023 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.1932, allocations: 242 kB / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1936, allocations: 0.6729 MB / 0.7032 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.1936, allocations: 4 kB / 0.7032 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1936, allocations: 7.438 kB / 0.7032 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1936, allocations: 0 / 0.7032 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.2174, allocations: 1.558 MB / 0.7047 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.122, allocations: 12.23 kB / 0.7047 GB, free: 8.48 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)