Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 98.38 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.001479/0.001479, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.179/1.179, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004961, allocations: 8 kB / 0.5033 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6669, 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_100boreholes): time 0.001731/0.6687, allocations: 1.101 MB / 0.5841 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.6735, allocations: 2.787 MB / 0.5868 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.6736, allocations: 4.719 kB / 0.5868 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.6738, allocations: 6.859 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.674, allocations: 22.28 kB / 0.5868 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.6774, allocations: 0.7195 MB / 0.5875 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.6776, allocations: 52.33 kB / 0.5876 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.6776, allocations: 3.156 kB / 0.5876 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.6777, allocations: 41.52 kB / 0.5876 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.678, allocations: 145.9 kB / 0.5878 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.6781, allocations: 12.25 kB / 0.5878 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.6813, allocations: 1.257 MB / 0.589 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.6823, allocations: 0.6013 MB / 0.5896 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.6827, allocations: 181.8 kB / 0.5898 GB, free: 392 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.6856, allocations: 1.179 MB / 0.5909 GB, free: 84 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6857, allocations: 0 / 0.5909 GB, free: 84 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6857, allocations: 0 / 0.5909 GB, free: 84 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.822e-05/0.6857, allocations: 3.938 kB / 0.5909 GB, free: 80 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.01265/0.6984, allocations: 1.602 MB / 0.5925 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.6985, allocations: 9.438 kB / 0.5925 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.419e-05/0.6986, allocations: 37.38 kB / 0.5925 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006672/0.6992, allocations: 140.7 kB / 0.5927 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7004, allocations: 0.4959 MB / 0.5932 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.7004, allocations: 8.266 kB / 0.5932 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.7004, allocations: 4.672 kB / 0.5932 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.7011, allocations: 391 kB / 0.5935 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7011, allocations: 7.984 kB / 0.5935 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.7011, allocations: 0.6094 kB / 0.5935 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.7012, allocations: 0 / 0.5935 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.7017, allocations: 436.4 kB / 0.594 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.7033, allocations: 0.8015 MB / 0.5947 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.704, allocations: 0.5674 MB / 0.5953 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.7052, allocations: 1.037 MB / 0.5963 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.7058, allocations: 413.8 kB / 0.5967 GB, free: 12.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.7058, allocations: 1.312 kB / 0.5967 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001984/0.7078, allocations: 1.337 MB / 0.598 GB, free: 12.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.7079, allocations: 87.69 kB / 0.5981 GB, free: 12.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.7115, allocations: 1.838 MB / 0.5999 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.7116, allocations: 27.61 kB / 0.5999 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006443/0.7123, allocations: 476.5 kB / 0.6004 GB, free: 10.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.7123, allocations: 22.34 kB / 0.6004 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.7124, allocations: 1.094 kB / 0.6004 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.7127, allocations: 413.6 kB / 0.6008 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.7145, allocations: 1.514 MB / 0.6023 GB, free: 9.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.7166, allocations: 1.645 MB / 0.6039 GB, free: 8.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.7192, allocations: 2.042 MB / 0.6059 GB, free: 7.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7192, allocations: 1.031 kB / 0.6059 GB, free: 7.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006055/0.7252, allocations: 4.303 MB / 0.6101 GB, free: 4.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.7253, allocations: 8.031 kB / 0.6101 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.7254, allocations: 0 / 0.6101 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7254, allocations: 7.938 kB / 0.6101 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.7256, allocations: 19.92 kB / 0.6101 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7256, allocations: 0 / 0.6101 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7268, allocations: 232.2 kB / 0.6103 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.7269, allocations: 23.98 kB / 0.6103 GB, free: 3.902 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.0008251/0.7277, allocations: 369.5 kB / 0.6107 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.728, allocations: 122 kB / 0.6108 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.7286, allocations: 145 kB / 0.611 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.7286, allocations: 0 / 0.611 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7286, allocations: 4 kB / 0.611 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7286, allocations: 3.984 kB / 0.611 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.7299, allocations: 0.6794 MB / 0.6116 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7299, allocations: 0 / 0.6116 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.73, allocations: 12.03 kB / 0.6116 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.7301, allocations: 3.984 kB / 0.6116 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.7301, allocations: 8 kB / 0.6116 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7301, allocations: 0 / 0.6116 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7301, allocations: 0 / 0.6116 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.7313, allocations: 1.081 MB / 0.6127 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.7317, allocations: 195.1 kB / 0.6129 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.732, allocations: 0 / 0.6129 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.7323, allocations: 11.98 kB / 0.6129 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.7323, allocations: 4 kB / 0.6129 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.7324, allocations: 11.97 kB / 0.6129 GB, free: 1.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.7343, allocations: 1.101 MB / 0.614 GB, free: 8 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7343, allocations: 0 / 0.614 GB, free: 8 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002255/0.7366, allocations: 439.8 kB / 0.6144 GB, free: 15.58 MB / 462.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.004245/0.7409, allocations: 2.05 MB / 0.6164 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003523/0.7444, allocations: 2.636 MB / 0.619 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7444, allocations: 8 kB / 0.619 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.7449, allocations: 347.8 kB / 0.6193 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.7457, allocations: 51.8 kB / 0.6194 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.7531, allocations: 3.552 MB / 0.6228 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.7544, allocations: 1.181 MB / 0.624 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.7547, allocations: 28.56 kB / 0.624 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.7554, allocations: 439.3 kB / 0.6244 GB, free: 5.168 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7554, allocations: 4 kB / 0.6244 GB, free: 5.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/0.8041, allocations: 21.63 MB / 0.6456 GB, free: 15.77 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.8045, allocations: 247.3 kB / 0.6458 GB, free: 15.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.798/4.603, allocations: 0 / 0.6458 GB, free: 15.43 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) Environment - environmentSimulation: