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.001477/0.001477, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.005/1.005, allocations: 130.7 MB / 138.7 MB, free: 3.621 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0008654/0.0008653, allocations: 89.14 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.398e-05, allocations: 4 kB / 0.5486 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5477, allocations: 81.56 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.7201, allocations: 125.3 MB / 0.7506 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.7206, allocations: 103.9 kB / 0.7507 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08399/0.8046, allocations: 21.92 MB / 0.7721 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.018e-06/0.8047, allocations: 0 / 0.7721 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.06e-05/0.8047, allocations: 12 kB / 0.7721 GB, free: 11.35 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.002665/0.8074, allocations: 1.009 MB / 0.7731 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.8075, allocations: 8.031 kB / 0.7731 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.8079, allocations: 102.7 kB / 0.7732 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.8087, allocations: 423.5 kB / 0.7736 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.8088, allocations: 7.984 kB / 0.7736 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.8088, allocations: 20 kB / 0.7736 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004052/0.8093, allocations: 419.8 kB / 0.774 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.8097, allocations: 384.5 kB / 0.7744 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.8097, allocations: 0 / 0.7744 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.8097, allocations: 7.953 kB / 0.7744 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.8097, allocations: 4 kB / 0.7744 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.8108, allocations: 0.6981 MB / 0.7751 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.8112, allocations: 0.5517 MB / 0.7756 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.8115, allocations: 329.6 kB / 0.7759 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.8126, allocations: 1.032 MB / 0.7769 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.813, allocations: 396.9 kB / 0.7773 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/0.813, allocations: 0 / 0.7773 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.000982/0.814, allocations: 0.957 MB / 0.7783 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.8141, allocations: 85.14 kB / 0.7783 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.8153, allocations: 0.9974 MB / 0.7793 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.8154, allocations: 29.7 kB / 0.7793 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.8157, allocations: 262.1 kB / 0.7796 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.8157, allocations: 20.78 kB / 0.7796 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.8158, allocations: 0 / 0.7796 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.816, allocations: 415.8 kB / 0.78 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.8173, allocations: 1.198 MB / 0.7812 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.8187, allocations: 1.328 MB / 0.7825 GB, free: 252 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.8209, allocations: 1.583 MB / 0.784 GB, free: 14.64 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.8209, allocations: 0 / 0.784 GB, free: 14.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004974/0.8259, allocations: 3.376 MB / 0.7873 GB, free: 11.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.826, allocations: 5.719 kB / 0.7873 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.826, allocations: 4 kB / 0.7873 GB, free: 11.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.826, allocations: 4 kB / 0.7873 GB, free: 11.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.8268, allocations: 163.7 kB / 0.7875 GB, free: 11.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.8268, allocations: 4 kB / 0.7875 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/0.8276, allocations: 224.3 kB / 0.7877 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.8277, allocations: 55.98 kB / 0.7878 GB, free: 10.78 MB / 0.573 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.000195/0.8279, allocations: 125.5 kB / 0.7879 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.828, allocations: 62.78 kB / 0.7879 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.829, allocations: 0.932 MB / 0.7888 GB, free: 9.641 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.829, allocations: 8.031 kB / 0.7889 GB, free: 9.633 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.829, allocations: 0 / 0.7889 GB, free: 9.633 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.829, allocations: 0 / 0.7889 GB, free: 9.633 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.8296, allocations: 476.2 kB / 0.7893 GB, free: 9.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8296, allocations: 0 / 0.7893 GB, free: 9.133 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.8297, allocations: 4 kB / 0.7893 GB, free: 9.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.8297, allocations: 4 kB / 0.7893 GB, free: 9.125 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.8297, allocations: 3.984 kB / 0.7893 GB, free: 9.121 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8297, allocations: 0 / 0.7893 GB, free: 9.121 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8297, allocations: 4 kB / 0.7893 GB, free: 9.117 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.8306, allocations: 1.004 MB / 0.7903 GB, free: 8.086 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.8309, allocations: 151.9 kB / 0.7904 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.8309, allocations: 0 / 0.7904 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.8311, allocations: 4 kB / 0.7905 GB, free: 7.914 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.8312, allocations: 7.984 kB / 0.7905 GB, free: 7.906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.8312, allocations: 15.98 kB / 0.7905 GB, free: 7.891 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007058/0.8319, allocations: 0.5947 MB / 0.7911 GB, free: 7.289 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8319, allocations: 0 / 0.7911 GB, free: 7.289 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001916/0.8338, allocations: 483.3 kB / 0.7915 GB, free: 6.816 MB / 0.573 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.002638/0.8365, allocations: 0.5624 MB / 0.7921 GB, free: 6.246 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.8389, allocations: 2.33 MB / 0.7943 GB, free: 3.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8389, allocations: 0 / 0.7943 GB, free: 3.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.8392, allocations: 331.8 kB / 0.7947 GB, free: 3.586 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.8395, allocations: 38.86 kB / 0.7947 GB, free: 3.547 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.8414, allocations: 1.422 MB / 0.7961 GB, free: 2.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.842, allocations: 0.9814 MB / 0.797 GB, free: 1.082 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000223/0.8422, allocations: 55.38 kB / 0.7971 GB, free: 1.027 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.8423, allocations: 31.42 kB / 0.7971 GB, free: 1 MB / 0.573 GB Notification: Performance of SimCode: time 2.185e-06/0.8423, allocations: 0 / 0.7971 GB, free: 1 MB / 0.573 GB Notification: Performance of Templates: time 0.4497/1.292, allocations: 8.885 MB / 0.8058 GB, free: 149.8 MB / 0.573 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)