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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.001474/0.001474, allocations: 99.62 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.001861/0.001861, 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.442/2.442, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.63/1.63, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004973, allocations: 13.06 kB / 0.5069 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 82.31 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_SmallScaleValidation): time 0.003272/0.2777, allocations: 1.365 MB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2885, allocations: 3.793 MB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.2888, allocations: 0 / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.291, allocations: 346.9 kB / 0.5927 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.2913, allocations: 47.84 kB / 0.5927 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.2954, allocations: 0.7177 MB / 0.5934 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.2959, allocations: 99.8 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.296, allocations: 13.55 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.2962, allocations: 47.8 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.2965, allocations: 163.6 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.2966, allocations: 16 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/0.3012, allocations: 1.26 MB / 0.595 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.3016, allocations: 251.3 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.3019, allocations: 121.2 kB / 0.5954 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.3049, allocations: 1.029 MB / 0.5964 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3049, allocations: 0 / 0.5964 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.508e-06/0.3049, allocations: 3.938 kB / 0.5964 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.305, allocations: 3.938 kB / 0.5964 GB, free: 9.672 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.01664/0.3216, allocations: 1.222 MB / 0.5976 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/0.3217, allocations: 12.03 kB / 0.5976 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.675e-05/0.3218, allocations: 38.55 kB / 0.5976 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/0.3225, allocations: 94.66 kB / 0.5977 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.3234, allocations: 396.8 kB / 0.5981 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3235, allocations: 11.98 kB / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.3235, allocations: 4 kB / 0.5981 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.3243, allocations: 395.2 kB / 0.5985 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3243, allocations: 7.922 kB / 0.5985 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.3244, allocations: 3.984 kB / 0.5985 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3244, allocations: 0 / 0.5985 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.3252, allocations: 431.8 kB / 0.5989 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3265, allocations: 0.6574 MB / 0.5995 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.3274, allocations: 0.5672 MB / 0.6001 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.329, allocations: 1.036 MB / 0.6011 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006961/0.3297, allocations: 400.9 kB / 0.6015 GB, free: 4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 6.072e-06/0.3297, allocations: 0 / 0.6015 GB, free: 4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002173/0.3319, allocations: 1.296 MB / 0.6027 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.332, allocations: 89.23 kB / 0.6028 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.3346, allocations: 1.277 MB / 0.6041 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.383e-05/0.3347, allocations: 33.7 kB / 0.6041 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.3351, allocations: 281.4 kB / 0.6044 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.3351, allocations: 15.81 kB / 0.6044 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.3352, allocations: 0 / 0.6044 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003048/0.3355, allocations: 427.8 kB / 0.6048 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5253/0.8608, allocations: 1.357 MB / 0.6061 GB, free: 48.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.863, allocations: 1.489 MB / 0.6076 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/0.8656, allocations: 1.897 MB / 0.6094 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.8657, allocations: 0 / 0.6094 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006527/0.8722, allocations: 3.955 MB / 0.6133 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.8723, allocations: 6.562 kB / 0.6133 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.8724, allocations: 0.6875 kB / 0.6133 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.8724, allocations: 0 / 0.6133 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.8726, allocations: 19.81 kB / 0.6133 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8727, allocations: 0 / 0.6133 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8737, allocations: 237.4 kB / 0.6136 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/0.8738, allocations: 23.39 kB / 0.6136 GB, free: 46.71 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.0004981/0.8743, allocations: 249.2 kB / 0.6138 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.8744, allocations: 70.16 kB / 0.6139 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000466/0.8749, allocations: 81.11 kB / 0.614 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8749, allocations: 3.438 kB / 0.614 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.875, allocations: 2.031 kB / 0.614 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.875, allocations: 3.094 kB / 0.614 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.8756, allocations: 0.5144 MB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.8757, allocations: 3.188 kB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.8758, allocations: 7.828 kB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.8758, allocations: 3.188 kB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.8758, allocations: 3.094 kB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.8758, allocations: 7.859 kB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8759, allocations: 4.75 kB / 0.6145 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.8773, allocations: 1.016 MB / 0.6155 GB, free: 46.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.8775, allocations: 155.5 kB / 0.6156 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8776, allocations: 23.12 kB / 0.6157 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.8779, allocations: 6.25 kB / 0.6157 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.8779, allocations: 6.297 kB / 0.6157 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.878, allocations: 9.422 kB / 0.6157 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001298/0.8793, allocations: 0.7113 MB / 0.6164 GB, free: 45.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.71e-07/0.8793, allocations: 0 / 0.6164 GB, free: 45.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002166/0.8815, allocations: 399.6 kB / 0.6168 GB, free: 45.62 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.004042/0.8856, allocations: 2.006 MB / 0.6187 GB, free: 44.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003285/0.8889, allocations: 2.5 MB / 0.6212 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.889, allocations: 0 / 0.6212 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.8895, allocations: 340.6 kB / 0.6215 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.8903, allocations: 46.03 kB / 0.6215 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.8958, allocations: 2.744 MB / 0.6242 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.8965, allocations: 1.006 MB / 0.6252 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003758/0.8969, allocations: 36.5 kB / 0.6252 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.8973, allocations: 288.7 kB / 0.6255 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.8974, allocations: 0 / 0.6255 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05933/0.9567, allocations: 17.62 MB / 0.6427 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.957, allocations: 263.3 kB / 0.6429 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/5.489, allocations: 0 / 0.6429 GB, free: 40.31 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: