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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7554/0.7554, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.473/1.473, allocations: 221.3 MB / 400.4 MB, free: 5.766 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.001084/0.001084, allocations: 94.47 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.659e-05, allocations: 3.188 kB / 0.5602 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 82.31 MB / 0.6406 GB, free: 7.652 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5788/0.7351, allocations: 126.2 MB / 0.7638 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.7354, allocations: 113.8 kB / 0.7639 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0778/0.8132, allocations: 22 MB / 0.7854 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8132, allocations: 0 / 0.7854 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.154e-05/0.8133, allocations: 16 kB / 0.7854 GB, free: 8.949 MB / 0.5105 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.002238/0.8155, allocations: 1.015 MB / 0.7864 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8156, allocations: 8.031 kB / 0.7864 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.8156, allocations: 38.06 kB / 0.7865 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.816, allocations: 102.6 kB / 0.7866 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.8167, allocations: 422 kB / 0.787 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.8168, allocations: 25.19 kB / 0.787 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.8169, allocations: 37.48 kB / 0.787 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.8173, allocations: 389.4 kB / 0.7874 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8173, allocations: 0 / 0.7874 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8173, allocations: 0 / 0.7874 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.8173, allocations: 0 / 0.7874 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.8177, allocations: 431.7 kB / 0.7878 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.8184, allocations: 0.7489 MB / 0.7885 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.8188, allocations: 0.5539 MB / 0.7891 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.8191, allocations: 331.7 kB / 0.7894 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/0.82, allocations: 1.031 MB / 0.7904 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.8204, allocations: 401.7 kB / 0.7908 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.8204, allocations: 0 / 0.7908 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.000959/0.8214, allocations: 0.9618 MB / 0.7917 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.8214, allocations: 93.06 kB / 0.7918 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.8225, allocations: 1.055 MB / 0.7928 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.8226, allocations: 40.2 kB / 0.7929 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.8228, allocations: 277.5 kB / 0.7931 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.8229, allocations: 30.64 kB / 0.7932 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.8229, allocations: 13.62 kB / 0.7932 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8231, allocations: 414.1 kB / 0.7936 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.8243, allocations: 1.207 MB / 0.7948 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.8256, allocations: 1.346 MB / 0.7961 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.8271, allocations: 1.601 MB / 0.7976 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8271, allocations: 0 / 0.7976 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003944/0.8311, allocations: 3.418 MB / 0.801 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.8311, allocations: 4 kB / 0.801 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.8311, allocations: 4 kB / 0.801 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8312, allocations: 4 kB / 0.801 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.8318, allocations: 142.8 kB / 0.8011 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.8319, allocations: 7.984 kB / 0.8011 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.8325, allocations: 243.8 kB / 0.8014 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.8326, allocations: 63.06 kB / 0.8014 GB, free: 10.79 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.0001384/0.8327, allocations: 127.5 kB / 0.8015 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.8328, allocations: 66.78 kB / 0.8016 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009321/0.8337, allocations: 0.9299 MB / 0.8025 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8338, allocations: 4.031 kB / 0.8025 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8338, allocations: 3.938 kB / 0.8025 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8338, allocations: 0 / 0.8025 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.8342, allocations: 0.4948 MB / 0.803 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8343, allocations: 4 kB / 0.803 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.8343, allocations: 4 kB / 0.803 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8344, allocations: 0 / 0.803 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.8344, allocations: 7.984 kB / 0.803 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8344, allocations: 0 / 0.803 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8344, allocations: 0 / 0.803 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.8352, allocations: 1.005 MB / 0.804 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.8353, allocations: 147.9 kB / 0.8041 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.8354, allocations: 4 kB / 0.8041 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.8356, allocations: 11.92 kB / 0.8042 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.8356, allocations: 3.938 kB / 0.8042 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.8357, allocations: 19.97 kB / 0.8042 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000694/0.8364, allocations: 0.6455 MB / 0.8048 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8364, allocations: 4 kB / 0.8048 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001821/0.8382, allocations: 495.3 kB / 0.8053 GB, free: 6.988 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.00387/0.8421, allocations: 2.081 MB / 0.8073 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.8443, allocations: 2.347 MB / 0.8096 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8443, allocations: 0 / 0.8096 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.8446, allocations: 330.7 kB / 0.8099 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.8448, allocations: 40.25 kB / 0.81 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.8476, allocations: 1.793 MB / 0.8117 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.8481, allocations: 0.9852 MB / 0.8127 GB, free: 184 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.8484, allocations: 63.36 kB / 0.8127 GB, free: 120 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.8486, allocations: 274.6 kB / 0.813 GB, free: 64 kB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.8486, allocations: 0 / 0.813 GB, free: 64 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.8839, allocations: 16.81 MB / 0.8294 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.8841, allocations: 224 kB / 0.8296 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/3.527, allocations: 9.5 kB / 0.8296 GB, free: 15.25 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)