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_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-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_100boreholes,fileNamePrefix="IDEAS_dev_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_dev_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.001737/0.001737, allocations: 99.47 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.001578/0.001578, 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 2.295/2.295, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.434/1.434, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 12.62 kB / 0.5069 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 82.3 MB / 0.5873 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002078/0.2574, allocations: 1.098 MB / 0.5884 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.2635, allocations: 2.783 MB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.2636, allocations: 0 / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2638, allocations: 11.94 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.2641, allocations: 19.95 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.267, allocations: 0.7253 MB / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2672, allocations: 51.86 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.2672, allocations: 7.984 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.2673, allocations: 31.92 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.2676, allocations: 147.7 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.2677, allocations: 12 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.2704, allocations: 1.256 MB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008989/0.2713, allocations: 0.6002 MB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.2716, allocations: 180.9 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.2739, allocations: 1.177 MB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2739, allocations: 0 / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.528e-06/0.2739, allocations: 0 / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.2739, allocations: 3.938 kB / 0.5952 GB, free: 10.84 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.0153/0.2892, allocations: 1.617 MB / 0.5968 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.2893, allocations: 8.031 kB / 0.5968 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.2894, allocations: 38.55 kB / 0.5968 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/0.29, allocations: 134.1 kB / 0.597 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009555/0.291, allocations: 0.4894 MB / 0.5975 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.291, allocations: 8 kB / 0.5975 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.2911, allocations: 7.938 kB / 0.5975 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.2918, allocations: 395.2 kB / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2918, allocations: 0 / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2918, allocations: 0 / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2919, allocations: 0 / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.2926, allocations: 435.7 kB / 0.5983 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2939, allocations: 0.8151 MB / 0.5991 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008737/0.2948, allocations: 0.5594 MB / 0.5996 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.2964, allocations: 1.04 MB / 0.6006 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006378/0.297, allocations: 404.8 kB / 0.601 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.2971, allocations: 0 / 0.601 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002253/0.2993, allocations: 1.339 MB / 0.6023 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.2994, allocations: 85.11 kB / 0.6024 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.3027, allocations: 1.839 MB / 0.6042 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.3028, allocations: 29.7 kB / 0.6042 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.3034, allocations: 477.3 kB / 0.6047 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.3035, allocations: 27.72 kB / 0.6047 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3035, allocations: 0 / 0.6047 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000281/0.3038, allocations: 411.1 kB / 0.6051 GB, free: 168 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5101/0.814, allocations: 1.51 MB / 0.6066 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.816, allocations: 1.643 MB / 0.6082 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.8187, allocations: 2.044 MB / 0.6102 GB, free: 47.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.8188, allocations: 1.891 kB / 0.6102 GB, free: 47.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006361/0.8251, allocations: 4.301 MB / 0.6144 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.8252, allocations: 5.688 kB / 0.6144 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.8253, allocations: 0 / 0.6144 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/0.8253, allocations: 2.531 kB / 0.6144 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.8255, allocations: 22.14 kB / 0.6144 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.8255, allocations: 2.422 kB / 0.6144 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.8267, allocations: 231.5 kB / 0.6146 GB, free: 46.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/0.8267, allocations: 22.8 kB / 0.6146 GB, free: 46.41 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 ($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.0007092/0.8275, allocations: 368.6 kB / 0.615 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.8276, allocations: 119.9 kB / 0.6151 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.8282, allocations: 148.9 kB / 0.6152 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8282, allocations: 1.375 kB / 0.6152 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.8282, allocations: 3.266 kB / 0.6153 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.8282, allocations: 3.719 kB / 0.6153 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/0.8291, allocations: 0.68 MB / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8291, allocations: 0 / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.8292, allocations: 9.062 kB / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.8293, allocations: 3.125 kB / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8293, allocations: 6.5 kB / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.8293, allocations: 3.953 kB / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8293, allocations: 0 / 0.6159 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.8307, allocations: 1.077 MB / 0.617 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.8309, allocations: 199.1 kB / 0.6172 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.8311, allocations: 3.953 kB / 0.6172 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.8314, allocations: 6.531 kB / 0.6172 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.8315, allocations: 10.34 kB / 0.6172 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.8316, allocations: 16.7 kB / 0.6172 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001871/0.8335, allocations: 1.096 MB / 0.6183 GB, free: 45.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8335, allocations: 0 / 0.6183 GB, free: 45.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001902/0.8354, allocations: 429.1 kB / 0.6187 GB, free: 45.05 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 (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.003532/0.8389, allocations: 2.059 MB / 0.6207 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003567/0.8425, allocations: 2.652 MB / 0.6233 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8426, allocations: 0 / 0.6233 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.8431, allocations: 344.3 kB / 0.6236 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.8436, allocations: 45.14 kB / 0.6237 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.8504, allocations: 3.554 MB / 0.6271 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.8513, allocations: 1.179 MB / 0.6283 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.8517, allocations: 31.28 kB / 0.6283 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.8523, allocations: 433.9 kB / 0.6287 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.8523, allocations: 4 kB / 0.6287 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/0.9391, allocations: 21.64 MB / 0.6499 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.9394, allocations: 252.2 kB / 0.6501 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.525/5.464, allocations: 0 / 0.6501 GB, free: 38.86 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) Environment - environmentSimulation: