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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 177.4 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6043/0.6043, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.14 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 97.59 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.764e-06, allocations: 3.938 kB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 82.31 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3293/0.4373, allocations: 125.5 MB / 0.7558 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4376, allocations: 110.7 kB / 0.7559 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.07096/0.5086, allocations: 21.76 MB / 0.7771 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.5086, allocations: 17.69 kB / 0.7772 GB, free: 1.109 MB / 0.4948 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.00164/0.5103, allocations: 0.9997 MB / 0.7781 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5103, allocations: 16.45 kB / 0.7782 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.5106, allocations: 94.69 kB / 0.7782 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.5111, allocations: 433.6 kB / 0.7787 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5111, allocations: 3.906 kB / 0.7787 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.5112, allocations: 24 kB / 0.7787 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/0.5115, allocations: 426.8 kB / 0.7791 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.5118, allocations: 380.9 kB / 0.7795 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5118, allocations: 4 kB / 0.7795 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5119, allocations: 0 / 0.7795 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5119, allocations: 0 / 0.7795 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.5125, allocations: 0.6895 MB / 0.7801 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.5129, allocations: 0.5661 MB / 0.7807 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.5132, allocations: 328.8 kB / 0.781 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/0.514, allocations: 1.04 MB / 0.782 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.5143, allocations: 387.8 kB / 0.7824 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.424e-06/0.5143, allocations: 0 / 0.7824 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0006635/0.515, allocations: 0.7516 MB / 0.7831 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5151, allocations: 81.11 kB / 0.7832 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.5159, allocations: 1.023 MB / 0.7842 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.5159, allocations: 29.08 kB / 0.7842 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.5161, allocations: 256.6 kB / 0.7845 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.5161, allocations: 18.88 kB / 0.7845 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.5162, allocations: 0 / 0.7845 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5164, allocations: 417.8 kB / 0.7849 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/0.5173, allocations: 1.216 MB / 0.7861 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5184, allocations: 1.352 MB / 0.7874 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.5198, allocations: 1.616 MB / 0.789 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5198, allocations: 0 / 0.789 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005085/0.5249, allocations: 7.123 MB / 0.7959 GB, free: 296 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5249, allocations: 8 kB / 0.7959 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5249, allocations: 3.938 kB / 0.7959 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5249, allocations: 4 kB / 0.7959 GB, free: 280 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.5256, allocations: 146.2 kB / 0.7961 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5256, allocations: 7.938 kB / 0.7961 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.5261, allocations: 232.4 kB / 0.7963 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.5262, allocations: 59.25 kB / 0.7964 GB, free: 15.85 MB / 0.5261 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.000117/0.5263, allocations: 112.8 kB / 0.7965 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.5264, allocations: 70.69 kB / 0.7965 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.5271, allocations: 0.7157 MB / 0.7972 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5271, allocations: 4 kB / 0.7972 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5271, allocations: 0 / 0.7972 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5271, allocations: 4.031 kB / 0.7973 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.5275, allocations: 475.5 kB / 0.7977 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5275, allocations: 7.844 kB / 0.7977 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.5276, allocations: 4 kB / 0.7977 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.5276, allocations: 4 kB / 0.7977 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5276, allocations: 3.984 kB / 0.7977 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5276, allocations: 4 kB / 0.7977 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5276, allocations: 4 kB / 0.7977 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005781/0.5282, allocations: 0.779 MB / 0.7985 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.5283, allocations: 159.7 kB / 0.7986 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.5284, allocations: 0 / 0.7986 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5285, allocations: 7.984 kB / 0.7987 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.5286, allocations: 4 kB / 0.7987 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.5286, allocations: 19.97 kB / 0.7987 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005313/0.5291, allocations: 0.6107 MB / 0.7993 GB, free: 13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001319/0.5305, allocations: 481.4 kB / 0.7997 GB, free: 12.55 MB / 0.5261 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) * 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.001431/0.5319, allocations: 0.6001 MB / 0.8003 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.5337, allocations: 2.343 MB / 0.8026 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5337, allocations: 4.062 kB / 0.8026 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.534, allocations: 334.6 kB / 0.8029 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.5341, allocations: 37.59 kB / 0.803 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.5358, allocations: 1.463 MB / 0.8044 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.5364, allocations: 1.04 MB / 0.8054 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.5364, allocations: 0 / 0.8054 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of Templates: time 0.01449/0.5509, allocations: 9.5 MB / 0.8147 GB, free: 14.1 MB / 0.5417 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)