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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01029/0.01029, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7892/0.7892, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.478/1.478, allocations: 223.2 MB / 406.9 MB, free: 3.129 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 104.6 kB / 490 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 12 kB / 0.5692 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3903, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.6251, allocations: 126.3 MB / 0.7728 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004458/0.6256, allocations: 115.9 kB / 0.773 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5087/1.134, allocations: 22.06 MB / 0.7945 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.234e-06/1.134, allocations: 0 / 0.7945 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.987e-05/1.134, allocations: 17.81 kB / 0.7945 GB, free: 130.9 MB / 0.5573 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.002805/1.137, allocations: 1.148 MB / 0.7956 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.137, allocations: 9.031 kB / 0.7956 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/1.138, allocations: 98.2 kB / 0.7957 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009765/1.139, allocations: 430.4 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/1.139, allocations: 23.03 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.139, allocations: 39.31 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/1.14, allocations: 387.8 kB / 0.7966 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.14, allocations: 0 / 0.7966 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.14, allocations: 2.047 kB / 0.7966 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.14, allocations: 0.9062 kB / 0.7966 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/1.14, allocations: 439.8 kB / 0.797 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/1.142, allocations: 0.745 MB / 0.7977 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/1.143, allocations: 0.5634 MB / 0.7983 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009338/1.143, allocations: 1.031 MB / 0.7993 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/1.144, allocations: 405.5 kB / 0.7997 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/1.144, allocations: 0 / 0.7997 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0021/1.146, allocations: 1.297 MB / 0.8009 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/1.146, allocations: 88.05 kB / 0.801 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/1.148, allocations: 1.06 MB / 0.8021 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.148, allocations: 45.2 kB / 0.8021 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/1.149, allocations: 271.2 kB / 0.8024 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/1.149, allocations: 27.95 kB / 0.8024 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/1.149, allocations: 13.38 kB / 0.8024 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.149, allocations: 415.4 kB / 0.8028 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/1.151, allocations: 1.222 MB / 0.804 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/1.153, allocations: 1.355 MB / 0.8053 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/1.154, allocations: 1.618 MB / 0.8069 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.154, allocations: 0 / 0.8069 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003891/1.158, allocations: 3.449 MB / 0.8103 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.158, allocations: 7.719 kB / 0.8103 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.158, allocations: 0 / 0.8103 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.158, allocations: 3.781 kB / 0.8103 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/1.159, allocations: 144.6 kB / 0.8104 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.159, allocations: 3.594 kB / 0.8104 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/1.159, allocations: 244.5 kB / 0.8106 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.16, allocations: 61.83 kB / 0.8107 GB, free: 124.7 MB / 0.5573 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 () * Number of clocked 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.000311/1.16, allocations: 260.1 kB / 0.811 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/1.16, allocations: 67.42 kB / 0.811 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/1.161, allocations: 0.9424 MB / 0.8119 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.161, allocations: 0 / 0.8119 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.161, allocations: 3.438 kB / 0.8119 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.161, allocations: 0 / 0.8119 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/1.161, allocations: 496.6 kB / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.161, allocations: 3.953 kB / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/1.161, allocations: 13.98 kB / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.161, allocations: 0 / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.161, allocations: 3.5 kB / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.161, allocations: 2.25 kB / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.161, allocations: 7.156 kB / 0.8124 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/1.162, allocations: 1.015 MB / 0.8134 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.162, allocations: 150.8 kB / 0.8136 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/1.162, allocations: 7.75 kB / 0.8136 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.163, allocations: 10.72 kB / 0.8136 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/1.163, allocations: 3.75 kB / 0.8136 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/1.163, allocations: 14.91 kB / 0.8136 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005803/1.163, allocations: 0.6578 MB / 0.8143 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/1.163, allocations: 0 / 0.8143 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001481/1.165, allocations: 495.3 kB / 0.8147 GB, free: 123.5 MB / 0.5573 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 (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.002007/1.167, allocations: 0.5585 MB / 0.8153 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.169, allocations: 2.362 MB / 0.8176 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.169, allocations: 2.906 kB / 0.8176 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/1.169, allocations: 335.2 kB / 0.8179 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.169, allocations: 40.45 kB / 0.8179 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.171, allocations: 1.835 MB / 0.8197 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/1.171, allocations: 0.98 MB / 0.8207 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002085/1.171, allocations: 55.05 kB / 0.8207 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/1.172, allocations: 45.45 kB / 0.8208 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of SimCode: time 3.21e-07/1.172, allocations: 0 / 0.8208 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01396/1.186, allocations: 9.198 MB / 0.8298 GB, free: 113.6 MB / 0.5573 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)