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.0007715/0.0007715, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008037/0.0008038, allocations: 172.7 kB / 15.95 MB, free: 208 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.28/1.28, allocations: 223.2 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7143/0.7143, allocations: 132.3 MB / 423.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8.219 kB / 0.5035 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4087, allocations: 81.58 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001284/0.4101, allocations: 1.108 MB / 0.5843 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.4138, allocations: 2.82 MB / 0.587 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.4139, allocations: 0 / 0.587 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.35e-05/0.414, allocations: 11.55 kB / 0.587 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.4142, allocations: 29.02 kB / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.416, allocations: 0.7519 MB / 0.5878 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.4162, allocations: 94.7 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.4163, allocations: 3.453 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.4163, allocations: 37.84 kB / 0.5879 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.4166, allocations: 175.4 kB / 0.5881 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.4167, allocations: 13.34 kB / 0.5881 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4189, allocations: 1.302 MB / 0.5894 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.4192, allocations: 251.9 kB / 0.5896 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4193, allocations: 111.6 kB / 0.5897 GB, free: 436 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.4207, allocations: 0.9792 MB / 0.5907 GB, free: 188 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4207, allocations: 1 kB / 0.5907 GB, free: 188 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4208, allocations: 0 / 0.5907 GB, free: 188 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4208, allocations: 0 / 0.5907 GB, free: 188 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.007441/0.4282, allocations: 1.167 MB / 0.5918 GB, free: 15.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4283, allocations: 9.969 kB / 0.5918 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.4283, allocations: 33.78 kB / 0.5919 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.4287, allocations: 88.39 kB / 0.5919 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.4292, allocations: 360.5 kB / 0.5923 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4292, allocations: 3.531 kB / 0.5923 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.4293, allocations: 12.17 kB / 0.5923 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.4299, allocations: 385 kB / 0.5927 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4299, allocations: 4 kB / 0.5927 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4299, allocations: 5.469 kB / 0.5927 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.4299, allocations: 5.234 kB / 0.5927 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.4305, allocations: 437 kB / 0.5931 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.4313, allocations: 0.6317 MB / 0.5937 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.432, allocations: 0.5629 MB / 0.5943 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.4324, allocations: 338.3 kB / 0.5946 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.4335, allocations: 1.042 MB / 0.5956 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/0.434, allocations: 404.5 kB / 0.596 GB, free: 13.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.434, allocations: 0 / 0.596 GB, free: 13.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001552/0.4356, allocations: 1.291 MB / 0.5973 GB, free: 12.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.4357, allocations: 83.64 kB / 0.5973 GB, free: 12.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.437, allocations: 1.192 MB / 0.5985 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.4371, allocations: 34.81 kB / 0.5985 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.4373, allocations: 256.8 kB / 0.5988 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.4373, allocations: 23.8 kB / 0.5988 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.4373, allocations: 7.938 kB / 0.5988 GB, free: 11.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4375, allocations: 415.5 kB / 0.5992 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.4389, allocations: 1.365 MB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4405, allocations: 1.492 MB / 0.602 GB, free: 10.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.4424, allocations: 1.894 MB / 0.6038 GB, free: 9.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4424, allocations: 0 / 0.6038 GB, free: 9.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005022/0.4474, allocations: 3.945 MB / 0.6077 GB, free: 6.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4474, allocations: 5.031 kB / 0.6077 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.4475, allocations: 9.984 kB / 0.6077 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4475, allocations: 1.281 kB / 0.6077 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4476, allocations: 11.97 kB / 0.6077 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4476, allocations: 1.406 kB / 0.6077 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.4483, allocations: 237.2 kB / 0.608 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.4484, allocations: 19.98 kB / 0.608 GB, free: 6.602 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.0003886/0.4488, allocations: 241.7 kB / 0.6082 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.4489, allocations: 70.72 kB / 0.6083 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.4492, allocations: 70.89 kB / 0.6083 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4492, allocations: 4 kB / 0.6083 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4492, allocations: 0 / 0.6083 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4493, allocations: 0 / 0.6083 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.4499, allocations: 0.489 MB / 0.6088 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.4499, allocations: 4 kB / 0.6088 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.45, allocations: 8 kB / 0.6088 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.45, allocations: 3.984 kB / 0.6088 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.45, allocations: 4 kB / 0.6088 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.45, allocations: 4.25 kB / 0.6088 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.45, allocations: 0 / 0.6088 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.451, allocations: 1.013 MB / 0.6098 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4511, allocations: 151.9 kB / 0.61 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.4512, allocations: 0 / 0.61 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.4514, allocations: 4 kB / 0.61 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4514, allocations: 7.984 kB / 0.61 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.4515, allocations: 15.98 kB / 0.61 GB, free: 4.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007979/0.4523, allocations: 0.6648 MB / 0.6106 GB, free: 3.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4523, allocations: 0 / 0.6106 GB, free: 3.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001766/0.4541, allocations: 387.9 kB / 0.611 GB, free: 3.359 MB / 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 (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.003352/0.4574, allocations: 1.922 MB / 0.6129 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.4599, allocations: 2.495 MB / 0.6153 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.46, allocations: 64 / 0.6153 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.4603, allocations: 347.7 kB / 0.6157 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.4607, allocations: 28.5 kB / 0.6157 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.4718, allocations: 9.582 MB / 0.625 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.4724, allocations: 0.9643 MB / 0.626 GB, free: 3.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.4726, allocations: 36.55 kB / 0.626 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.4729, allocations: 263.3 kB / 0.6263 GB, free: 3.574 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4729, allocations: 0 / 0.6263 GB, free: 3.574 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.5085, allocations: 18.56 MB / 0.6444 GB, free: 1.242 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.5087, allocations: 264.4 kB / 0.6447 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.743, allocations: 8 kB / 0.6447 GB, free: 0.8789 MB / 478.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/linux/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) Environment - environmentSimulation: