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.001189/0.001189, allocations: 113.2 kB / 16.37 MB, free: 6 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.001149/0.001149, allocations: 197.6 kB / 17.31 MB, free: 5.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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7439/0.7439, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.91 kB / 0.5068 GB, free: 7.602 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.292, allocations: 80.89 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001969/0.294, allocations: 1.404 MB / 0.5872 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2973, allocations: 3.028 MB / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.2973, allocations: 0 / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.2974, allocations: 17.58 kB / 0.5902 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.2976, allocations: 23.84 kB / 0.5902 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.2993, allocations: 0.9958 MB / 0.5911 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.2994, allocations: 87.73 kB / 0.5912 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.2994, allocations: 3.109 kB / 0.5912 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2995, allocations: 43.83 kB / 0.5913 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2996, allocations: 147.6 kB / 0.5914 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.2997, allocations: 13.81 kB / 0.5914 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.301, allocations: 1.373 MB / 0.5928 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3011, allocations: 263.8 kB / 0.593 GB, free: 19.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.3013, allocations: 274.3 kB / 0.5933 GB, free: 18.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.3024, allocations: 1.483 MB / 0.5947 GB, free: 17.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3024, allocations: 0 / 0.5947 GB, free: 17.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3024, allocations: 4 kB / 0.5947 GB, free: 17.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3024, allocations: 0 / 0.5947 GB, free: 17.35 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.007399/0.3098, allocations: 1.207 MB / 0.5959 GB, free: 16.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3099, allocations: 8.531 kB / 0.5959 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.3102, allocations: 88.66 kB / 0.596 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3105, allocations: 357.5 kB / 0.5963 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3105, allocations: 6.312 kB / 0.5964 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3106, allocations: 20.05 kB / 0.5964 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3109, allocations: 383.7 kB / 0.5967 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3109, allocations: 0 / 0.5967 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3109, allocations: 2.156 kB / 0.5967 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3109, allocations: 3.984 kB / 0.5967 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.3112, allocations: 435.7 kB / 0.5972 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3116, allocations: 0.6373 MB / 0.5978 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.3119, allocations: 0.5613 MB / 0.5983 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3121, allocations: 343.1 kB / 0.5987 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.3128, allocations: 1.031 MB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.313, allocations: 397.4 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3131, allocations: 3.938 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008693/0.3139, allocations: 1.295 MB / 0.6013 GB, free: 10.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.314, allocations: 85.09 kB / 0.6014 GB, free: 10.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/0.3147, allocations: 1.204 MB / 0.6026 GB, free: 8.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3147, allocations: 33.7 kB / 0.6026 GB, free: 8.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3148, allocations: 257.4 kB / 0.6028 GB, free: 8.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.3149, allocations: 23.7 kB / 0.6029 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.3151, allocations: 347.5 kB / 0.6032 GB, free: 8.211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.3151, allocations: 306.6 kB / 0.6035 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007559/0.3159, allocations: 1.371 MB / 0.6048 GB, free: 6.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.3167, allocations: 1.486 MB / 0.6063 GB, free: 5.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/0.3225, allocations: 3.543 MB / 0.6097 GB, free: 1.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3225, allocations: 1.75 kB / 0.6097 GB, free: 1.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0035/0.3261, allocations: 3.973 MB / 0.6136 GB, free: 13.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3261, allocations: 5.25 kB / 0.6136 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3261, allocations: 4 kB / 0.6136 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3261, allocations: 0 / 0.6136 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3263, allocations: 20.8 kB / 0.6137 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3263, allocations: 0 / 0.6137 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.3267, allocations: 229.5 kB / 0.6139 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.3268, allocations: 23.98 kB / 0.6139 GB, free: 13.12 MB / 462.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.0002588/0.327, allocations: 247.2 kB / 0.6141 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.3271, allocations: 68.42 kB / 0.6142 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3273, allocations: 73.75 kB / 0.6143 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3274, allocations: 0 / 0.6143 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3274, allocations: 0 / 0.6143 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3274, allocations: 4 kB / 0.6143 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.3278, allocations: 496.7 kB / 0.6147 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3278, allocations: 0 / 0.6147 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.3278, allocations: 7.984 kB / 0.6148 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3279, allocations: 0.625 kB / 0.6148 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3279, allocations: 4 kB / 0.6148 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3279, allocations: 4.594 kB / 0.6148 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3279, allocations: 0 / 0.6148 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.3287, allocations: 1.008 MB / 0.6157 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/0.3288, allocations: 151.8 kB / 0.6159 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.3289, allocations: 4 kB / 0.6159 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.329, allocations: 4.953 kB / 0.6159 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.3291, allocations: 5.344 kB / 0.6159 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.3291, allocations: 19.97 kB / 0.6159 GB, free: 10.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006292/0.3298, allocations: 0.6609 MB / 0.6166 GB, free: 10.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.3298, allocations: 1 kB / 0.6166 GB, free: 10.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008944/0.3307, allocations: 403.8 kB / 0.617 GB, free: 9.887 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.0009955/0.3317, allocations: 474.8 kB / 0.6174 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.3337, allocations: 2.497 MB / 0.6198 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3337, allocations: 0 / 0.6198 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.3341, allocations: 344.4 kB / 0.6202 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3343, allocations: 46.62 kB / 0.6202 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3362, allocations: 1.735 MB / 0.6219 GB, free: 4.781 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.3367, allocations: 0.9706 MB / 0.6229 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.3368, allocations: 27.56 kB / 0.6229 GB, free: 3.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.3369, allocations: 34.88 kB / 0.6229 GB, free: 3.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3369, allocations: 0 / 0.6229 GB, free: 3.73 MB / 462.1 MB Notification: Performance of Templates: time 0.01516/0.3521, allocations: 9.523 MB / 0.6322 GB, free: 10.25 MB / 478.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)