Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_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_dev_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.0007608/0.0007609, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0007772/0.0007773, allocations: 179 kB / 16.27 MB, free: 6.664 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 12 kB / 0.5077 GB, free: 4.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 82.31 MB / 0.5881 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001436/0.1629, allocations: 1.125 MB / 0.5892 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.1677, allocations: 3.154 MB / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.1677, allocations: 0 / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.995e-05/0.1678, allocations: 3.938 kB / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1681, allocations: 31.89 kB / 0.5923 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.17, allocations: 0.7751 MB / 0.5931 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1701, allocations: 99.73 kB / 0.5932 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1702, allocations: 7.984 kB / 0.5932 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.1703, allocations: 39.84 kB / 0.5932 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1705, allocations: 160.9 kB / 0.5934 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.1706, allocations: 12 kB / 0.5934 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.1726, allocations: 1.396 MB / 0.5948 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.1729, allocations: 267.8 kB / 0.595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.1731, allocations: 300 kB / 0.5953 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.1748, allocations: 1.473 MB / 0.5967 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1748, allocations: 0 / 0.5967 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.1748, allocations: 0 / 0.5967 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1748, allocations: 0 / 0.5967 GB, free: 9.617 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.01042/0.1853, allocations: 1.152 MB / 0.5979 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1853, allocations: 12.03 kB / 0.5979 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.1854, allocations: 38.73 kB / 0.5979 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003388/0.1857, allocations: 83.69 kB / 0.598 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.1861, allocations: 364.8 kB / 0.5983 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1862, allocations: 4.375 kB / 0.5983 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.1862, allocations: 11.94 kB / 0.5984 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.1867, allocations: 391.2 kB / 0.5987 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1867, allocations: 4 kB / 0.5987 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1867, allocations: 0 / 0.5987 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1867, allocations: 0 / 0.5987 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1872, allocations: 439.7 kB / 0.5991 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.1878, allocations: 0.6287 MB / 0.5998 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.1884, allocations: 0.5633 MB / 0.6003 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1887, allocations: 333.7 kB / 0.6006 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.1899, allocations: 1.044 MB / 0.6017 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1903, allocations: 396.9 kB / 0.602 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1903, allocations: 0 / 0.602 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001416/0.1917, allocations: 1.293 MB / 0.6033 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1918, allocations: 89.09 kB / 0.6034 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1929, allocations: 1.206 MB / 0.6046 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.193, allocations: 29.64 kB / 0.6046 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.1932, allocations: 261.4 kB / 0.6048 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1932, allocations: 15.81 kB / 0.6048 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.1935, allocations: 291.7 kB / 0.6051 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1936, allocations: 314 kB / 0.6054 GB, free: 220 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2569/0.4505, allocations: 1.358 MB / 0.6068 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.4516, allocations: 1.497 MB / 0.6082 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006259/0.4578, allocations: 3.538 MB / 0.6117 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4578, allocations: 3.75 kB / 0.6117 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003414/0.4613, allocations: 3.964 MB / 0.6155 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4613, allocations: 6.688 kB / 0.6155 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.4613, allocations: 3.062 kB / 0.6156 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4614, allocations: 2.844 kB / 0.6156 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4615, allocations: 15.14 kB / 0.6156 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.4615, allocations: 0 / 0.6156 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.4619, allocations: 236.5 kB / 0.6158 GB, free: 45.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.462, allocations: 20.84 kB / 0.6158 GB, free: 45.77 MB / 0.4981 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.0002312/0.4622, allocations: 245.9 kB / 0.616 GB, free: 45.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.4623, allocations: 67.22 kB / 0.6161 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4625, allocations: 70.81 kB / 0.6162 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4626, allocations: 4.281 kB / 0.6162 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4626, allocations: 1.594 kB / 0.6162 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4626, allocations: 0 / 0.6162 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.4629, allocations: 500 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4629, allocations: 2.625 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.463, allocations: 8.75 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.463, allocations: 3.906 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.463, allocations: 3.375 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.463, allocations: 6.219 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.463, allocations: 2.812 kB / 0.6167 GB, free: 45.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.4637, allocations: 0.9975 MB / 0.6177 GB, free: 45.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.4638, allocations: 148.4 kB / 0.6178 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.4638, allocations: 10.02 kB / 0.6178 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.464, allocations: 3.594 kB / 0.6178 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.464, allocations: 10.05 kB / 0.6178 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.4641, allocations: 15.56 kB / 0.6178 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005382/0.4646, allocations: 0.6704 MB / 0.6185 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4646, allocations: 3.312 kB / 0.6185 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009013/0.4655, allocations: 399.3 kB / 0.6189 GB, free: 44.73 MB / 0.4981 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.001789/0.4673, allocations: 1.918 MB / 0.6208 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.469, allocations: 2.499 MB / 0.6232 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.469, allocations: 0 / 0.6232 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.4693, allocations: 341.8 kB / 0.6235 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.4696, allocations: 34.59 kB / 0.6236 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.483, allocations: 15.03 MB / 0.6382 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4834, allocations: 0.9626 MB / 0.6392 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.4836, allocations: 30.88 kB / 0.6392 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.4838, allocations: 266.4 kB / 0.6395 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.4838, allocations: 0 / 0.6395 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4147/0.8985, allocations: 18.87 MB / 0.6579 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.8988, allocations: 281.4 kB / 0.6582 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.258, allocations: 0 / 0.6582 GB, free: 33.8 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)