Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.00866/0.00866, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.002035/0.002036, allocations: 195.6 kB / 16.68 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8228/0.8228, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 71.7 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1611, allocations: 80.21 MB / 0.6593 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002545/0.1637, allocations: 1.398 MB / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004949/0.1687, allocations: 3.028 MB / 0.6636 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.1687, allocations: 4 kB / 0.6636 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1689, allocations: 7.922 kB / 0.6636 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.1691, allocations: 31.78 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.1715, allocations: 0.9865 MB / 0.6646 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1717, allocations: 91.67 kB / 0.6647 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1718, allocations: 11.92 kB / 0.6647 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.1719, allocations: 39.89 kB / 0.6647 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1721, allocations: 139.6 kB / 0.6649 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.1721, allocations: 16 kB / 0.6649 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.1742, allocations: 1.381 MB / 0.6662 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.1744, allocations: 259.9 kB / 0.6665 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.1747, allocations: 270.3 kB / 0.6667 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.1765, allocations: 1.495 MB / 0.6682 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1765, allocations: 0 / 0.6682 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1765, allocations: 0 / 0.6682 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.1765, allocations: 0 / 0.6682 GB, free: 1.539 MB / 0.4981 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.01071/0.1873, allocations: 1.247 MB / 0.6694 GB, free: 244 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1873, allocations: 8.031 kB / 0.6694 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1874, allocations: 38.73 kB / 0.6694 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.1878, allocations: 92.25 kB / 0.6695 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.1882, allocations: 357 kB / 0.6699 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1882, allocations: 8.125 kB / 0.6699 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.1883, allocations: 4 kB / 0.6699 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.1888, allocations: 395.1 kB / 0.6703 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1888, allocations: 0 / 0.6703 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1888, allocations: 0 / 0.6703 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1888, allocations: 0 / 0.6703 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.1893, allocations: 439.7 kB / 0.6707 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.1899, allocations: 0.6408 MB / 0.6713 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.1905, allocations: 0.5632 MB / 0.6719 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.1909, allocations: 337.7 kB / 0.6722 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.192, allocations: 1.028 MB / 0.6732 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.1925, allocations: 408.8 kB / 0.6736 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 3.297e-06/0.1925, allocations: 3.984 kB / 0.6736 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001463/0.194, allocations: 1.293 MB / 0.6748 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.1941, allocations: 81.11 kB / 0.6749 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.1954, allocations: 1.214 MB / 0.6761 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.1955, allocations: 29.69 kB / 0.6761 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.1957, allocations: 265.9 kB / 0.6764 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1957, allocations: 19.84 kB / 0.6764 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.1961, allocations: 347.5 kB / 0.6767 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1962, allocations: 314 kB / 0.677 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.1975, allocations: 1.357 MB / 0.6784 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.199, allocations: 1.501 MB / 0.6798 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007243/0.2063, allocations: 3.545 MB / 0.6833 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2063, allocations: 0 / 0.6833 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004557/0.2108, allocations: 3.969 MB / 0.6872 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.2109, allocations: 8 kB / 0.6872 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.2109, allocations: 3.984 kB / 0.6872 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.211, allocations: 0 / 0.6872 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2111, allocations: 15.94 kB / 0.6872 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2111, allocations: 4 kB / 0.6872 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.2116, allocations: 237.3 kB / 0.6874 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.2117, allocations: 27.98 kB / 0.6875 GB, free: 13.16 MB / 0.5294 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.0003183/0.212, allocations: 241.6 kB / 0.6877 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.2121, allocations: 67.34 kB / 0.6877 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.2124, allocations: 78.83 kB / 0.6878 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2124, allocations: 0 / 0.6878 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2124, allocations: 4 kB / 0.6878 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2124, allocations: 0 / 0.6878 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.2129, allocations: 0.4928 MB / 0.6883 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2129, allocations: 3.938 kB / 0.6883 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.213, allocations: 8.031 kB / 0.6883 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.213, allocations: 7.984 kB / 0.6883 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.213, allocations: 0 / 0.6883 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.213, allocations: 0 / 0.6883 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.213, allocations: 4 kB / 0.6883 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.214, allocations: 1.006 MB / 0.6893 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2142, allocations: 152.5 kB / 0.6895 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.2142, allocations: 4 kB / 0.6895 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2144, allocations: 8 kB / 0.6895 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2144, allocations: 7.984 kB / 0.6895 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.2144, allocations: 7.984 kB / 0.6895 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007537/0.2152, allocations: 0.6726 MB / 0.6901 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2152, allocations: 0 / 0.6901 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001038/0.2163, allocations: 403 kB / 0.6905 GB, free: 9.902 MB / 0.5294 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.002522/0.2188, allocations: 1.931 MB / 0.6924 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.2213, allocations: 2.495 MB / 0.6948 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2214, allocations: 4.062 kB / 0.6948 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.2217, allocations: 335.8 kB / 0.6952 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.2221, allocations: 43.33 kB / 0.6952 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.2383, allocations: 15.06 MB / 0.7099 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.239, allocations: 0.9756 MB / 0.7109 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.2391, allocations: 36.55 kB / 0.7109 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.2395, allocations: 259.3 kB / 0.7111 GB, free: 4.543 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.2395, allocations: 0 / 0.7111 GB, free: 4.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/0.2869, allocations: 19.58 MB / 0.7303 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.7, allocations: 8.766 kB / 0.7303 GB, free: 1.137 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)