Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_SmallScaleValidation,fileNamePrefix="IDEAS_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_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.001117/0.001117, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 197.5 kB / 16.53 MB, free: 6.656 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7578/0.7578, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.78 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3322, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003224/0.3355, allocations: 1.734 MB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.3408, allocations: 4.211 MB / 0.586 GB, free: 500 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.341, allocations: 1.656 kB / 0.586 GB, free: 500 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.3424, allocations: 371.8 kB / 0.5864 GB, free: 328 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.3425, allocations: 60.31 kB / 0.5865 GB, free: 292 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.3457, allocations: 0.9839 MB / 0.5874 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.346, allocations: 144.3 kB / 0.5875 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.3461, allocations: 17.88 kB / 0.5876 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.3462, allocations: 56.06 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3464, allocations: 160.5 kB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.3465, allocations: 14.03 kB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.3491, allocations: 1.374 MB / 0.5891 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.3494, allocations: 280 kB / 0.5894 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.3497, allocations: 299.8 kB / 0.5897 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.3524, allocations: 1.539 MB / 0.5912 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3524, allocations: 0 / 0.5912 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3524, allocations: 0 / 0.5912 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3524, allocations: 0 / 0.5912 GB, free: 14.61 MB / 446.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.01084/0.3633, allocations: 1.279 MB / 0.5924 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3633, allocations: 10.06 kB / 0.5924 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.3634, allocations: 33.34 kB / 0.5925 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.3638, allocations: 96.28 kB / 0.5926 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.3643, allocations: 402.1 kB / 0.593 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3643, allocations: 11.92 kB / 0.593 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.3644, allocations: 7.688 kB / 0.593 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.3648, allocations: 395.4 kB / 0.5933 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3648, allocations: 4 kB / 0.5933 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3649, allocations: 1.219 kB / 0.5934 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3649, allocations: 5.531 kB / 0.5934 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.3654, allocations: 430.5 kB / 0.5938 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.3661, allocations: 0.6652 MB / 0.5944 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.3666, allocations: 0.5696 MB / 0.595 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.367, allocations: 333 kB / 0.5953 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.368, allocations: 1.027 MB / 0.5963 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.3684, allocations: 406.8 kB / 0.5967 GB, free: 11.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3684, allocations: 1.312 kB / 0.5967 GB, free: 11.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001344/0.3697, allocations: 1.298 MB / 0.598 GB, free: 10.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3698, allocations: 79.7 kB / 0.598 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3711, allocations: 1.281 MB / 0.5993 GB, free: 9.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.3712, allocations: 32.52 kB / 0.5993 GB, free: 9.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.3714, allocations: 283.6 kB / 0.5996 GB, free: 9.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3714, allocations: 23.75 kB / 0.5996 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.3717, allocations: 351.8 kB / 0.5999 GB, free: 9.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3719, allocations: 317.8 kB / 0.6002 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3731, allocations: 1.363 MB / 0.6016 GB, free: 8.547 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3744, allocations: 1.492 MB / 0.603 GB, free: 7.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007101/0.3815, allocations: 3.541 MB / 0.6065 GB, free: 5.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3816, allocations: 3.938 kB / 0.6065 GB, free: 5.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004416/0.386, allocations: 3.972 MB / 0.6104 GB, free: 2.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.3861, allocations: 4 kB / 0.6104 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.3861, allocations: 4 kB / 0.6104 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3861, allocations: 0 / 0.6104 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3863, allocations: 23.86 kB / 0.6104 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3863, allocations: 0 / 0.6104 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.3872, allocations: 236.2 kB / 0.6106 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.3872, allocations: 19.98 kB / 0.6106 GB, free: 1.762 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 (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.0004533/0.3877, allocations: 249.6 kB / 0.6109 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.3878, allocations: 78.67 kB / 0.611 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.3881, allocations: 83.66 kB / 0.611 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3881, allocations: 0 / 0.611 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3882, allocations: 4 kB / 0.611 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3882, allocations: 0 / 0.611 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.3887, allocations: 0.51 MB / 0.6115 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3887, allocations: 4 kB / 0.6115 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.3888, allocations: 8 kB / 0.6115 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3888, allocations: 0 / 0.6115 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3888, allocations: 3.984 kB / 0.6116 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3888, allocations: 4 kB / 0.6116 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3888, allocations: 0 / 0.6116 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/0.3897, allocations: 1.009 MB / 0.6125 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3899, allocations: 167.8 kB / 0.6127 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.3899, allocations: 8 kB / 0.6127 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3901, allocations: 0 / 0.6127 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3901, allocations: 7.984 kB / 0.6127 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.3902, allocations: 11.98 kB / 0.6127 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008072/0.391, allocations: 0.7257 MB / 0.6134 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 0.6134 GB, free: 14.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001928/0.3929, allocations: 395.8 kB / 0.6138 GB, free: 14.4 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 (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.00309/0.396, allocations: 1.93 MB / 0.6157 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3986, allocations: 2.499 MB / 0.6181 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3986, allocations: 0 / 0.6181 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3989, allocations: 348.3 kB / 0.6185 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.3996, allocations: 56.84 kB / 0.6185 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.4166, allocations: 14.9 MB / 0.6331 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4173, allocations: 0.9839 MB / 0.634 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.4175, allocations: 41.41 kB / 0.6341 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.4179, allocations: 291.3 kB / 0.6344 GB, free: 9.141 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4179, allocations: 0 / 0.6344 GB, free: 9.141 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.4621, allocations: 19.65 MB / 0.6535 GB, free: 5.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/9.163, allocations: 17.22 kB / 0.6536 GB, free: 5.676 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)