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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 175.2 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.6928/0.6928, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.467/1.467, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0008663/0.0008664, allocations: 101.4 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.715e-05/4.717e-05, allocations: 7.281 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2, allocations: 82.31 MB / 0.6405 GB, free: 7.777 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7055/0.9056, allocations: 130.7 MB / 0.7681 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.906, allocations: 115.4 kB / 0.7682 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1006/1.007, allocations: 30.11 MB / 0.7976 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/1.007, allocations: 0 / 0.7976 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.694e-05/1.007, allocations: 12 kB / 0.7977 GB, free: 13.63 MB / 0.5261 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.002726/1.009, allocations: 1.06 MB / 0.7987 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/1.01, allocations: 8.031 kB / 0.7987 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/1.01, allocations: 110.6 kB / 0.7988 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/1.011, allocations: 459.4 kB / 0.7992 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.011, allocations: 22.38 kB / 0.7993 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/1.011, allocations: 34.12 kB / 0.7993 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/1.011, allocations: 392.1 kB / 0.7997 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.012, allocations: 0 / 0.7997 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/1.012, allocations: 4 kB / 0.7997 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.012, allocations: 3.984 kB / 0.7997 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/1.012, allocations: 431.5 kB / 0.8001 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/1.013, allocations: 0.7674 MB / 0.8008 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/1.013, allocations: 0.5551 MB / 0.8014 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/1.014, allocations: 336.8 kB / 0.8017 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.015, allocations: 1.032 MB / 0.8027 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/1.015, allocations: 399.7 kB / 0.8031 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/1.015, allocations: 0 / 0.8031 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001013/1.016, allocations: 0.9739 MB / 0.804 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/1.016, allocations: 81.23 kB / 0.8041 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.017, allocations: 1.125 MB / 0.8052 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/1.017, allocations: 43.7 kB / 0.8053 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/1.018, allocations: 300.8 kB / 0.8056 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/1.018, allocations: 15.69 kB / 0.8056 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/1.018, allocations: 10 kB / 0.8056 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.018, allocations: 435.7 kB / 0.806 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.019, allocations: 1.208 MB / 0.8072 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/1.02, allocations: 1.342 MB / 0.8085 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.022, allocations: 1.598 MB / 0.81 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.022, allocations: 0 / 0.81 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004123/1.026, allocations: 3.43 MB / 0.8134 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.026, allocations: 4.938 kB / 0.8134 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/1.026, allocations: 4 kB / 0.8134 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/1.026, allocations: 8.031 kB / 0.8134 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/1.027, allocations: 139.3 kB / 0.8135 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.027, allocations: 4 kB / 0.8135 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/1.028, allocations: 242.3 kB / 0.8138 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/1.028, allocations: 59.03 kB / 0.8138 GB, free: 15.37 MB / 0.5417 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.0001554/1.028, allocations: 134.6 kB / 0.814 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/1.028, allocations: 78.62 kB / 0.814 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009776/1.029, allocations: 0.9442 MB / 0.815 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.029, allocations: 7.984 kB / 0.815 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.029, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.029, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/1.029, allocations: 0.5179 MB / 0.8155 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.029, allocations: 4 kB / 0.8155 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/1.03, allocations: 7.938 kB / 0.8155 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.03, allocations: 0 / 0.8155 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.03, allocations: 7.984 kB / 0.8155 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.03, allocations: 4.031 kB / 0.8155 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.03, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/1.03, allocations: 1.012 MB / 0.8165 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.031, allocations: 155.8 kB / 0.8166 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/1.031, allocations: 3.312 kB / 0.8166 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.031, allocations: 11.98 kB / 0.8166 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/1.031, allocations: 4 kB / 0.8166 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/1.031, allocations: 23.84 kB / 0.8167 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007434/1.032, allocations: 0.6962 MB / 0.8173 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 0.8173 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001855/1.034, allocations: 0.4965 MB / 0.8178 GB, free: 11.46 MB / 0.5417 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.001683/1.035, allocations: 0.6415 MB / 0.8185 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.037, allocations: 2.347 MB / 0.8208 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.037, allocations: 0 / 0.8208 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/1.038, allocations: 339.1 kB / 0.8211 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/1.038, allocations: 50.38 kB / 0.8211 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/1.04, allocations: 1.482 MB / 0.8226 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/1.04, allocations: 1.009 MB / 0.8236 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002162/1.041, allocations: 63.25 kB / 0.8236 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/1.041, allocations: 42.36 kB / 0.8237 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/1.041, allocations: 0 / 0.8237 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of Templates: time 0.02068/1.061, allocations: 11.23 MB / 0.8346 GB, free: 11.13 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)