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/Complex 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) 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/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_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_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.007926/0.007926, allocations: 172 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/package.mo): time 0.7477/0.7477, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 223.2 MB / 403.2 MB, free: 6.734 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.0008732/0.0008729, allocations: 91.81 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005426/0.0005427, allocations: 11.98 kB / 0.5641 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.436, allocations: 81.58 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.6092, allocations: 126 MB / 0.7669 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.6096, allocations: 123.9 kB / 0.767 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07824/0.6879, allocations: 22.07 MB / 0.7886 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6879, allocations: 0 / 0.7886 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.688, allocations: 12 kB / 0.7886 GB, free: 3.617 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.002291/0.6903, allocations: 1.144 MB / 0.7897 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6903, allocations: 12.03 kB / 0.7897 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.6907, allocations: 98.7 kB / 0.7898 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.6914, allocations: 423.6 kB / 0.7902 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.6914, allocations: 24 kB / 0.7902 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.6915, allocations: 32 kB / 0.7902 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.692, allocations: 395.1 kB / 0.7906 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.692, allocations: 0 / 0.7906 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.692, allocations: 0 / 0.7906 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.692, allocations: 11.95 kB / 0.7906 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.6925, allocations: 431.7 kB / 0.791 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.6932, allocations: 0.7417 MB / 0.7918 GB, free: 172 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3144/1.008, allocations: 0.5553 MB / 0.7923 GB, free: 133 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/1.008, allocations: 1.04 MB / 0.7933 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/1.009, allocations: 402.2 kB / 0.7937 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/1.009, allocations: 6.562 kB / 0.7937 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001638/1.011, allocations: 1.291 MB / 0.795 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.011, allocations: 83.78 kB / 0.7951 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.012, allocations: 1.067 MB / 0.7961 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/1.012, allocations: 44.09 kB / 0.7961 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/1.012, allocations: 276 kB / 0.7964 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/1.012, allocations: 18.14 kB / 0.7964 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/1.012, allocations: 16.66 kB / 0.7964 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.012, allocations: 418.2 kB / 0.7968 GB, free: 131 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.014, allocations: 1.213 MB / 0.798 GB, free: 131 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.016, allocations: 1.365 MB / 0.7994 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/1.017, allocations: 1.61 MB / 0.8009 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.018, allocations: 0 / 0.8009 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003375/1.021, allocations: 3.449 MB / 0.8043 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.021, allocations: 7.328 kB / 0.8043 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.021, allocations: 11.61 kB / 0.8043 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.021, allocations: 3.781 kB / 0.8043 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/1.022, allocations: 139.5 kB / 0.8044 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.022, allocations: 3.5 kB / 0.8045 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/1.022, allocations: 244 kB / 0.8047 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/1.022, allocations: 61.23 kB / 0.8047 GB, free: 128.6 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.000296/1.023, allocations: 260.3 kB / 0.805 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/1.023, allocations: 65.44 kB / 0.8051 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008996/1.024, allocations: 0.938 MB / 0.806 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.024, allocations: 7.141 kB / 0.806 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.024, allocations: 0 / 0.806 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.024, allocations: 0 / 0.806 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/1.024, allocations: 499.9 kB / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.024, allocations: 8.828 kB / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/1.024, allocations: 14.7 kB / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.024, allocations: 0 / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/1.024, allocations: 8.75 kB / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.024, allocations: 0 / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.024, allocations: 7.938 kB / 0.8065 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/1.025, allocations: 1.011 MB / 0.8075 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/1.025, allocations: 151.9 kB / 0.8076 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/1.025, allocations: 0 / 0.8076 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.025, allocations: 14.92 kB / 0.8076 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/1.025, allocations: 3.344 kB / 0.8076 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/1.025, allocations: 17.73 kB / 0.8077 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005268/1.026, allocations: 0.6611 MB / 0.8083 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.026, allocations: 0 / 0.8083 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001263/1.027, allocations: 491.2 kB / 0.8088 GB, free: 127.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.001222/1.028, allocations: 0.5645 MB / 0.8093 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.03, allocations: 2.361 MB / 0.8116 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.03, allocations: 0 / 0.8116 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/1.03, allocations: 344.5 kB / 0.812 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/1.03, allocations: 34.3 kB / 0.812 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.032, allocations: 1.832 MB / 0.8138 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.032, allocations: 0.9837 MB / 0.8147 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001823/1.033, allocations: 57.84 kB / 0.8148 GB, free: 125 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/1.033, allocations: 39.03 kB / 0.8148 GB, free: 125 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/1.033, allocations: 0 / 0.8148 GB, free: 125 MB / 0.5573 GB Notification: Performance of Templates: time 0.01319/1.046, allocations: 9.182 MB / 0.8238 GB, free: 120 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)