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.GFunction_100boreholes.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.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.299/1.299, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001009/0.001009, allocations: 181.5 kB / 325.8 MB, free: 2.719 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.537/1.537, allocations: 205 MB / 0.576 GB, free: 20.99 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.0008043/0.0008041, allocations: 82.38 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 18.19 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, 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.GFunction_100boreholes): time 0.001205/0.1763, allocations: 1.149 MB / 0.8974 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003459/0.1798, allocations: 3.276 MB / 0.9006 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.1798, allocations: 0 / 0.9006 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.1799, allocations: 3.938 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1801, allocations: 39.77 kB / 0.9006 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1818, allocations: 0.7675 MB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.1819, allocations: 103.7 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.1819, allocations: 7.984 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.182, allocations: 39.84 kB / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1822, allocations: 224.9 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1822, allocations: 12 kB / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.1838, allocations: 1.392 MB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.1842, allocations: 0.6835 MB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1844, allocations: 444.9 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1859, allocations: 1.76 MB / 0.9059 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1859, allocations: 11.98 kB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1859, allocations: 4 kB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.1859, allocations: 0 / 0.9059 GB, free: 58.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008121/0.194, allocations: 1.59 MB / 0.9075 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1941, allocations: 8.031 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1942, allocations: 38.73 kB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.1945, allocations: 142.9 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1949, allocations: 0.5212 MB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1949, allocations: 384 / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.195, allocations: 8.359 kB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1953, allocations: 395.2 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1953, allocations: 0 / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1953, allocations: 4 kB / 0.9085 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1953, allocations: 0 / 0.9085 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1956, allocations: 435.7 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.1961, allocations: 0.8034 MB / 0.9097 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1965, allocations: 0.5673 MB / 0.9103 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.1967, allocations: 341.5 kB / 0.9106 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/0.1974, allocations: 1.032 MB / 0.9116 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.1976, allocations: 412.8 kB / 0.912 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.1977, allocations: 4 kB / 0.912 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009135/0.1986, allocations: 1.335 MB / 0.9133 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.1986, allocations: 85.23 kB / 0.9134 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.1998, allocations: 1.846 MB / 0.9152 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1999, allocations: 29.7 kB / 0.9152 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.2001, allocations: 477.3 kB / 0.9157 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.2001, allocations: 23.7 kB / 0.9157 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.2003, allocations: 283.6 kB / 0.916 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.2003, allocations: 301.1 kB / 0.9163 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008273/0.2012, allocations: 1.518 MB / 0.9178 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.2021, allocations: 1.648 MB / 0.9194 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.2079, allocations: 3.69 MB / 0.923 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2079, allocations: 0 / 0.923 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003107/0.211, allocations: 4.32 MB / 0.9272 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2111, allocations: 7.984 kB / 0.9272 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.2111, allocations: 0 / 0.9272 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2111, allocations: 4 kB / 0.9272 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2112, allocations: 19.94 kB / 0.9272 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2113, allocations: 0 / 0.9272 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.2118, allocations: 236.2 kB / 0.9274 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.2118, allocations: 23.98 kB / 0.9275 GB, free: 35.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003272/0.2122, allocations: 365.6 kB / 0.9278 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.2122, allocations: 126 kB / 0.9279 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.2125, allocations: 145 kB / 0.9281 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2125, allocations: 3.938 kB / 0.9281 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2125, allocations: 4 kB / 0.9281 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2126, allocations: 0 / 0.9281 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.2129, allocations: 0.6873 MB / 0.9288 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2129, allocations: 3.938 kB / 0.9288 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.628e-05/0.213, allocations: 4 kB / 0.9288 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.213, allocations: 0 / 0.9288 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.213, allocations: 11.92 kB / 0.9288 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2131, allocations: 0 / 0.9288 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2131, allocations: 0 / 0.9288 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.2137, allocations: 1.055 MB / 0.9298 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.2138, allocations: 199.1 kB / 0.93 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.2139, allocations: 3.984 kB / 0.93 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2141, allocations: 8 kB / 0.93 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.2141, allocations: 11.97 kB / 0.93 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.2142, allocations: 11.98 kB / 0.93 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000815/0.215, allocations: 1.104 MB / 0.9311 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.215, allocations: 0 / 0.9311 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008811/0.2159, allocations: 435.8 kB / 0.9315 GB, free: 31.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001845/0.2177, allocations: 1.981 MB / 0.9335 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.2193, allocations: 2.652 MB / 0.936 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2193, allocations: 4.062 kB / 0.9361 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.2195, allocations: 336.3 kB / 0.9364 GB, free: 26.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.22, allocations: 47.19 kB / 0.9364 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2881/0.5081, allocations: 36.61 MB / 0.9722 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.5088, allocations: 1.153 MB / 0.9733 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.509, allocations: 36.56 kB / 0.9733 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.5094, allocations: 435.3 kB / 0.9737 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.5095, allocations: 0 / 0.9737 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.193/0.7024, allocations: 59.18 MB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.7027, allocations: 301.1 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/3.92, allocations: 6.172 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)