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.001075/0.001075, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006327/0.006327, allocations: 173 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8.688 kB / 0.5041 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3979, allocations: 81.58 MB / 0.5838 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001293/0.3993, allocations: 1.133 MB / 0.5849 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.4033, allocations: 3.151 MB / 0.588 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.4033, allocations: 1.375 kB / 0.588 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.599e-05/0.4035, allocations: 6.797 kB / 0.588 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.4036, allocations: 25.27 kB / 0.588 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.4057, allocations: 0.7654 MB / 0.5888 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.4059, allocations: 113.5 kB / 0.5889 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4059, allocations: 4.141 kB / 0.5889 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.406, allocations: 41.38 kB / 0.5889 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.4062, allocations: 152.3 kB / 0.5891 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.4063, allocations: 12.5 kB / 0.5891 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.4083, allocations: 1.401 MB / 0.5904 GB, free: 284 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.4086, allocations: 265.6 kB / 0.5907 GB, free: 212 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.4088, allocations: 301.9 kB / 0.591 GB, free: 0 / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.4109, allocations: 1.463 MB / 0.5924 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4109, allocations: 0 / 0.5924 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4109, allocations: 0 / 0.5924 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4109, allocations: 1.031 kB / 0.5924 GB, free: 15.54 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.0103/0.4212, allocations: 1.169 MB / 0.5935 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4213, allocations: 13.81 kB / 0.5936 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.4213, allocations: 32.66 kB / 0.5936 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.4217, allocations: 87.05 kB / 0.5937 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.4221, allocations: 360 kB / 0.594 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4221, allocations: 3.719 kB / 0.594 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.4221, allocations: 16.78 kB / 0.594 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.4226, allocations: 389.8 kB / 0.5944 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4226, allocations: 0 / 0.5944 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4227, allocations: 1.891 kB / 0.5944 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4227, allocations: 1.188 kB / 0.5944 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.4233, allocations: 436.2 kB / 0.5948 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.424, allocations: 0.6294 MB / 0.5954 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.4245, allocations: 0.565 MB / 0.596 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.4249, allocations: 341.1 kB / 0.5963 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009414/0.4258, allocations: 1.041 MB / 0.5973 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.4262, allocations: 403.3 kB / 0.5977 GB, free: 12.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.4262, allocations: 0 / 0.5977 GB, free: 12.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001296/0.4275, allocations: 1.291 MB / 0.599 GB, free: 11.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4276, allocations: 80.95 kB / 0.5991 GB, free: 11.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4288, allocations: 1.209 MB / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.4288, allocations: 30.8 kB / 0.6003 GB, free: 11.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.429, allocations: 256.8 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.4291, allocations: 23.14 kB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.4293, allocations: 292.5 kB / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.4294, allocations: 312.7 kB / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.4307, allocations: 1.366 MB / 0.6024 GB, free: 9.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.432, allocations: 1.493 MB / 0.6039 GB, free: 9.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006993/0.439, allocations: 3.542 MB / 0.6074 GB, free: 7.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.439, allocations: 3.938 kB / 0.6074 GB, free: 7.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004273/0.4433, allocations: 3.962 MB / 0.6112 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4433, allocations: 5.719 kB / 0.6112 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4434, allocations: 0 / 0.6112 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4434, allocations: 4 kB / 0.6112 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.4435, allocations: 20.02 kB / 0.6113 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4435, allocations: 0 / 0.6113 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.4442, allocations: 232.3 kB / 0.6115 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.4442, allocations: 19.98 kB / 0.6115 GB, free: 3.398 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.0003244/0.4445, allocations: 241.5 kB / 0.6117 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.4446, allocations: 66.78 kB / 0.6118 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.4449, allocations: 74.89 kB / 0.6119 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4449, allocations: 4 kB / 0.6119 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4449, allocations: 0 / 0.6119 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4449, allocations: 3.938 kB / 0.6119 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.4454, allocations: 0.4928 MB / 0.6124 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4454, allocations: 7.938 kB / 0.6124 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.4455, allocations: 7.984 kB / 0.6124 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4455, allocations: 0 / 0.6124 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4455, allocations: 4 kB / 0.6124 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4455, allocations: 4.031 kB / 0.6124 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4455, allocations: 0 / 0.6124 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009057/0.4464, allocations: 0.9974 MB / 0.6134 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4465, allocations: 147.9 kB / 0.6135 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.4466, allocations: 4 kB / 0.6135 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4467, allocations: 11.98 kB / 0.6135 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.4468, allocations: 11.94 kB / 0.6135 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.4469, allocations: 15.97 kB / 0.6135 GB, free: 1.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007716/0.4476, allocations: 0.6648 MB / 0.6142 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4476, allocations: 0 / 0.6142 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00167/0.4493, allocations: 395.9 kB / 0.6146 GB, free: 152 kB / 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 (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.003034/0.4524, allocations: 1.917 MB / 0.6164 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.4546, allocations: 2.506 MB / 0.6189 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4546, allocations: 0 / 0.6189 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.4549, allocations: 339.8 kB / 0.6192 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4553, allocations: 36.48 kB / 0.6192 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.4702, allocations: 15.04 MB / 0.6339 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.4708, allocations: 0.9604 MB / 0.6349 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.471, allocations: 36.55 kB / 0.6349 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.4713, allocations: 259.3 kB / 0.6352 GB, free: 10.83 MB / 478.1 MB Notification: Performance of SimCode: time 2.685e-06/0.4713, allocations: 4 kB / 0.6352 GB, free: 10.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/0.7487, allocations: 18.85 MB / 0.6536 GB, free: 8.203 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/0.749, allocations: 283.9 kB / 0.6538 GB, free: 7.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.263, allocations: 0 / 0.6538 GB, free: 7.82 MB / 494.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/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)