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.001042/0.001042, allocations: 173.7 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.718/0.718, 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.534/1.534, allocations: 221.3 MB / 400.4 MB, free: 5.781 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.0009832/0.0009832, allocations: 93.98 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.933e-05, allocations: 7.969 kB / 0.5601 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 82.3 MB / 0.6405 GB, free: 7.793 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6949/0.8882, allocations: 126.2 MB / 0.7637 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.8886, allocations: 113.9 kB / 0.7638 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07757/0.9662, allocations: 22.01 MB / 0.7853 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9663, allocations: 4 kB / 0.7853 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.545e-05/0.9663, allocations: 12 kB / 0.7853 GB, free: 9.082 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.002585/0.9689, allocations: 1.013 MB / 0.7863 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.969, allocations: 12.03 kB / 0.7863 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.9694, allocations: 94.7 kB / 0.7864 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.9701, allocations: 431.4 kB / 0.7868 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.9702, allocations: 30.73 kB / 0.7869 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.9702, allocations: 42.73 kB / 0.7869 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.9706, allocations: 378 kB / 0.7873 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.9707, allocations: 3.938 kB / 0.7873 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.9707, allocations: 0 / 0.7873 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.9707, allocations: 4 kB / 0.7873 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.971, allocations: 427.6 kB / 0.7877 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.9718, allocations: 0.7433 MB / 0.7884 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.9723, allocations: 0.5612 MB / 0.789 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.9725, allocations: 328.9 kB / 0.7893 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.9736, allocations: 1.036 MB / 0.7903 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.974, allocations: 395.3 kB / 0.7907 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.974, allocations: 0 / 0.7907 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009601/0.975, allocations: 0.9631 MB / 0.7916 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.975, allocations: 84.48 kB / 0.7917 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.9761, allocations: 1.061 MB / 0.7927 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.9762, allocations: 39.95 kB / 0.7927 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.9764, allocations: 271.5 kB / 0.793 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.9764, allocations: 23.17 kB / 0.793 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.9765, allocations: 21.88 kB / 0.7931 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.9767, allocations: 420 kB / 0.7935 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.9779, allocations: 1.199 MB / 0.7946 GB, free: 96 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.9792, allocations: 1.344 MB / 0.7959 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.9807, allocations: 1.603 MB / 0.7975 GB, free: 14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9807, allocations: 0 / 0.7975 GB, free: 14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003949/0.9847, allocations: 3.42 MB / 0.8008 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.9847, allocations: 11.98 kB / 0.8009 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.9848, allocations: 0 / 0.8009 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.9848, allocations: 4 kB / 0.8009 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.9855, allocations: 142.3 kB / 0.801 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.9855, allocations: 4 kB / 0.801 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.9863, allocations: 239.4 kB / 0.8012 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9864, allocations: 61.97 kB / 0.8013 GB, free: 10.98 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.0001468/0.9865, allocations: 134.4 kB / 0.8014 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.9866, allocations: 62.78 kB / 0.8015 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.9875, allocations: 0.9376 MB / 0.8024 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9876, allocations: 0 / 0.8024 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9876, allocations: 0 / 0.8024 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9876, allocations: 4 kB / 0.8024 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.988, allocations: 499.9 kB / 0.8029 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.9881, allocations: 0 / 0.8029 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.9881, allocations: 11.92 kB / 0.8029 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.9881, allocations: 0 / 0.8029 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.9882, allocations: 7.688 kB / 0.8029 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9882, allocations: 0 / 0.8029 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9882, allocations: 0 / 0.8029 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008931/0.9891, allocations: 1.011 MB / 0.8039 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.9892, allocations: 147.9 kB / 0.804 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.9893, allocations: 7.984 kB / 0.804 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.9894, allocations: 4 kB / 0.804 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.9895, allocations: 18.98 kB / 0.804 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.9895, allocations: 7.984 kB / 0.8041 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007201/0.9902, allocations: 0.6567 MB / 0.8047 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9903, allocations: 0 / 0.8047 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001817/0.9921, allocations: 495.2 kB / 0.8052 GB, free: 7.164 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.001425/0.9935, allocations: 0.565 MB / 0.8057 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.9955, allocations: 2.342 MB / 0.808 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9955, allocations: 0 / 0.808 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.9958, allocations: 337.7 kB / 0.8083 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.9961, allocations: 36.77 kB / 0.8084 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.9979, allocations: 1.424 MB / 0.8098 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.9984, allocations: 0.9852 MB / 0.8107 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.9986, allocations: 51.38 kB / 0.8108 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.9987, allocations: 38.8 kB / 0.8108 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/0.9987, allocations: 0 / 0.8108 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of Templates: time 0.01833/1.017, allocations: 9.291 MB / 0.8199 GB, free: 8.938 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)