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.001647/0.001646, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00186/0.00186, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.107/2.107, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.236/1.236, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 8.562 kB / 0.5033 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4295, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002336/0.4319, allocations: 1.104 MB / 0.5841 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00673/0.4386, allocations: 2.782 MB / 0.5868 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.4388, allocations: 4.656 kB / 0.5868 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.4389, allocations: 14.86 kB / 0.5868 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.4392, allocations: 22.17 kB / 0.5868 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.4431, allocations: 0.7303 MB / 0.5876 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.4432, allocations: 55.22 kB / 0.5876 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.4433, allocations: 3.062 kB / 0.5876 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.4434, allocations: 34.44 kB / 0.5876 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.4437, allocations: 144.5 kB / 0.5878 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.4437, allocations: 12.78 kB / 0.5878 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.4466, allocations: 1.254 MB / 0.589 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.447, allocations: 246.6 kB / 0.5893 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.4471, allocations: 112.3 kB / 0.5894 GB, free: 500 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.4493, allocations: 0.9707 MB / 0.5903 GB, free: 264 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4493, allocations: 0 / 0.5903 GB, free: 264 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4493, allocations: 0 / 0.5903 GB, free: 264 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.4494, allocations: 4 kB / 0.5903 GB, free: 260 kB / 430.1 MB 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.01166/0.461, allocations: 1.174 MB / 0.5915 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.4611, allocations: 10.52 kB / 0.5915 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.255e-05/0.4612, allocations: 32.33 kB / 0.5915 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/0.4618, allocations: 85.92 kB / 0.5916 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.4625, allocations: 355.5 kB / 0.5919 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4625, allocations: 7.641 kB / 0.5919 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.4626, allocations: 5.312 kB / 0.5919 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.4633, allocations: 392 kB / 0.5923 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4634, allocations: 0.8438 kB / 0.5923 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.4634, allocations: 1.375 kB / 0.5923 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.4634, allocations: 0 / 0.5923 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.4642, allocations: 440.7 kB / 0.5927 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4655, allocations: 0.6329 MB / 0.5933 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.4662, allocations: 0.5624 MB / 0.5939 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.4675, allocations: 1.042 MB / 0.5949 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000659/0.4682, allocations: 395.8 kB / 0.5953 GB, free: 13.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.4682, allocations: 4 kB / 0.5953 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001843/0.4701, allocations: 1.292 MB / 0.5966 GB, free: 13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.4702, allocations: 83.95 kB / 0.5966 GB, free: 12.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.472, allocations: 1.187 MB / 0.5978 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.472, allocations: 31.61 kB / 0.5978 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.4723, allocations: 264.8 kB / 0.5981 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.4724, allocations: 27 kB / 0.5981 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.4724, allocations: 0 / 0.5981 GB, free: 11.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.4726, allocations: 423 kB / 0.5985 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4741, allocations: 1.358 MB / 0.5998 GB, free: 10.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.4757, allocations: 1.496 MB / 0.6013 GB, free: 10.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.4779, allocations: 1.901 MB / 0.6032 GB, free: 9.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4779, allocations: 0 / 0.6032 GB, free: 9.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005368/0.4833, allocations: 3.941 MB / 0.607 GB, free: 7.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4833, allocations: 5.031 kB / 0.607 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.4833, allocations: 0.9688 kB / 0.607 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4834, allocations: 2.281 kB / 0.607 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.4836, allocations: 15.3 kB / 0.607 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4836, allocations: 5.031 kB / 0.607 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.4846, allocations: 231.7 kB / 0.6072 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.4847, allocations: 26.3 kB / 0.6073 GB, free: 6.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005434/0.4852, allocations: 245.8 kB / 0.6075 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4853, allocations: 64.12 kB / 0.6076 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.4857, allocations: 78.2 kB / 0.6076 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4857, allocations: 0.9375 kB / 0.6076 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4858, allocations: 5 kB / 0.6076 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4858, allocations: 1.125 kB / 0.6076 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.4864, allocations: 0.4894 MB / 0.6081 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4864, allocations: 0 / 0.6081 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.4865, allocations: 5.25 kB / 0.6081 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4865, allocations: 1.375 kB / 0.6081 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4865, allocations: 6.578 kB / 0.6081 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4865, allocations: 3.938 kB / 0.6081 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4865, allocations: 5.469 kB / 0.6081 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.4875, allocations: 1.01 MB / 0.6091 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4876, allocations: 151.9 kB / 0.6093 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.4877, allocations: 8 kB / 0.6093 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4879, allocations: 8 kB / 0.6093 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4879, allocations: 7.984 kB / 0.6093 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.488, allocations: 7.984 kB / 0.6093 GB, free: 4.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008523/0.4888, allocations: 0.6609 MB / 0.61 GB, free: 4.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4888, allocations: 0 / 0.61 GB, free: 4.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002009/0.4908, allocations: 391.9 kB / 0.6103 GB, free: 3.863 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003009/0.4939, allocations: 2.003 MB / 0.6123 GB, free: 1.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.4963, allocations: 2.494 MB / 0.6147 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4963, allocations: 4 kB / 0.6147 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.4966, allocations: 347.7 kB / 0.6151 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4968, allocations: 32.62 kB / 0.6151 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.5002, allocations: 2.568 MB / 0.6176 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.5007, allocations: 0.9837 MB / 0.6186 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.5009, allocations: 32.56 kB / 0.6186 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.5012, allocations: 259.3 kB / 0.6188 GB, free: 11.02 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5012, allocations: 4 kB / 0.6188 GB, free: 11.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.772/3.274, allocations: 16.41 MB / 0.6349 GB, free: 10.83 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003566/3.274, allocations: 259.1 kB / 0.6351 GB, free: 10.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/7.004, allocations: 3.938 kB / 0.6351 GB, free: 10.5 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: