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_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-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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005437/0.005437, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001175/0.001175, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.91 kB / 0.5857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4033, allocations: 80.91 MB / 0.6647 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002061/0.4054, allocations: 1.401 MB / 0.6661 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.4089, allocations: 3.029 MB / 0.669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.409, allocations: 1.375 kB / 0.669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.4091, allocations: 7.938 kB / 0.669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.4093, allocations: 36.55 kB / 0.6691 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.4114, allocations: 0.9878 MB / 0.67 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4115, allocations: 85.16 kB / 0.6701 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.4116, allocations: 10.2 kB / 0.6701 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.4117, allocations: 43.83 kB / 0.6702 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.4119, allocations: 145.4 kB / 0.6703 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.4119, allocations: 13.31 kB / 0.6703 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.4136, allocations: 1.376 MB / 0.6717 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.4138, allocations: 268.2 kB / 0.6719 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.414, allocations: 272.7 kB / 0.6722 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.4155, allocations: 1.479 MB / 0.6736 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4155, allocations: 0 / 0.6736 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4155, allocations: 4 kB / 0.6736 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4156, allocations: 0 / 0.6736 GB, free: 1.41 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.009878/0.4254, allocations: 1.206 MB / 0.6748 GB, free: 464 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4255, allocations: 9 kB / 0.6748 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.4258, allocations: 84.59 kB / 0.6749 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4262, allocations: 361.5 kB / 0.6752 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4262, allocations: 6.75 kB / 0.6753 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.4262, allocations: 20.22 kB / 0.6753 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.4267, allocations: 387.3 kB / 0.6756 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.4267, allocations: 3.938 kB / 0.6756 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4267, allocations: 1.406 kB / 0.6756 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4267, allocations: 0 / 0.6756 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.4272, allocations: 438.8 kB / 0.6761 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.4278, allocations: 0.6238 MB / 0.6767 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.4283, allocations: 0.5649 MB / 0.6772 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.4287, allocations: 337 kB / 0.6775 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.4297, allocations: 1.028 MB / 0.6785 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.4301, allocations: 403.2 kB / 0.6789 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.4301, allocations: 4 kB / 0.6789 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001379/0.4315, allocations: 1.292 MB / 0.6802 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.4316, allocations: 79.42 kB / 0.6803 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4328, allocations: 1.205 MB / 0.6815 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.4329, allocations: 35.94 kB / 0.6815 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4331, allocations: 256.6 kB / 0.6817 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.4331, allocations: 19.23 kB / 0.6817 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.4334, allocations: 352.2 kB / 0.6821 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.4335, allocations: 311.1 kB / 0.6824 GB, free: 12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.4347, allocations: 1.359 MB / 0.6837 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.436, allocations: 1.493 MB / 0.6852 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007306/0.4434, allocations: 3.547 MB / 0.6886 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4434, allocations: 3.938 kB / 0.6886 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004299/0.4477, allocations: 3.961 MB / 0.6925 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4477, allocations: 4 kB / 0.6925 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4477, allocations: 32 / 0.6925 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4478, allocations: 11.94 kB / 0.6925 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.4479, allocations: 19.92 kB / 0.6925 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4479, allocations: 0 / 0.6925 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/0.4485, allocations: 228.3 kB / 0.6928 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.4486, allocations: 23.98 kB / 0.6928 GB, free: 4.285 MB / 0.5137 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 (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.0003405/0.4489, allocations: 237.6 kB / 0.693 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.449, allocations: 66.78 kB / 0.6931 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4493, allocations: 78.83 kB / 0.6931 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4493, allocations: 11.92 kB / 0.6932 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4493, allocations: 0 / 0.6932 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4493, allocations: 0 / 0.6932 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.4498, allocations: 496.7 kB / 0.6936 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4498, allocations: 4 kB / 0.6936 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.4499, allocations: 11.98 kB / 0.6936 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4499, allocations: 4.031 kB / 0.6936 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4499, allocations: 0 / 0.6936 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4499, allocations: 4 kB / 0.6937 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4499, allocations: 0 / 0.6937 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009123/0.4508, allocations: 1.005 MB / 0.6946 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4509, allocations: 151.9 kB / 0.6948 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.451, allocations: 8 kB / 0.6948 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4512, allocations: 7.984 kB / 0.6948 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4512, allocations: 4 kB / 0.6948 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.4513, allocations: 15.97 kB / 0.6948 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007292/0.452, allocations: 0.6648 MB / 0.6955 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.452, allocations: 0 / 0.6955 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001222/0.4532, allocations: 395.8 kB / 0.6958 GB, free: 1.031 MB / 0.5137 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 (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.001148/0.4544, allocations: 480.2 kB / 0.6963 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.4567, allocations: 2.495 MB / 0.6987 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4567, allocations: 0 / 0.6987 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.4571, allocations: 343.7 kB / 0.6991 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4574, allocations: 41.31 kB / 0.6991 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.4597, allocations: 1.745 MB / 0.7008 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.4602, allocations: 0.964 MB / 0.7017 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.4603, allocations: 32.56 kB / 0.7018 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4605, allocations: 31.34 kB / 0.7018 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.4605, allocations: 4 kB / 0.7018 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.01584/0.4763, allocations: 9.538 MB / 0.7111 GB, free: 1.336 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)