Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008442/0.0008443, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7417/0.7417, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002891, allocations: 15.98 kB / 0.5035 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3453, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001438/0.3468, allocations: 1.415 MB / 0.5845 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00439/0.3512, allocations: 3.883 MB / 0.5883 GB, free: 332 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.3513, allocations: 4.938 kB / 0.5883 GB, free: 328 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.3521, allocations: 309.2 kB / 0.5886 GB, free: 192 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3523, allocations: 60.89 kB / 0.5886 GB, free: 156 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3542, allocations: 0.7464 MB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.3544, allocations: 163.1 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3545, allocations: 16.52 kB / 0.5895 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.3546, allocations: 56.11 kB / 0.5896 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3548, allocations: 188.8 kB / 0.5898 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.3549, allocations: 14.59 kB / 0.5898 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.3571, allocations: 1.299 MB / 0.5911 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.3573, allocations: 269 kB / 0.5913 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3574, allocations: 129.7 kB / 0.5914 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3588, allocations: 1.026 MB / 0.5924 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3589, allocations: 1.375 kB / 0.5924 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3589, allocations: 0 / 0.5924 GB, free: 14.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3589, allocations: 0 / 0.5924 GB, free: 14.97 MB / 446.1 MB 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.007633/0.3665, allocations: 1.225 MB / 0.5936 GB, free: 14.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3666, allocations: 9.25 kB / 0.5937 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.3669, allocations: 96 kB / 0.5937 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.3674, allocations: 402 kB / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3674, allocations: 8.219 kB / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3675, allocations: 4.578 kB / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.3679, allocations: 384.2 kB / 0.5945 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3679, allocations: 1.031 kB / 0.5945 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3679, allocations: 6.156 kB / 0.5945 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.368, allocations: 0 / 0.5945 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.3684, allocations: 437.1 kB / 0.5949 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.369, allocations: 0.6627 MB / 0.5956 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.3696, allocations: 0.5681 MB / 0.5961 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.3699, allocations: 333.3 kB / 0.5964 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009532/0.3708, allocations: 1.034 MB / 0.5975 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.3712, allocations: 414.2 kB / 0.5979 GB, free: 11.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3712, allocations: 3.938 kB / 0.5979 GB, free: 11.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001322/0.3726, allocations: 1.295 MB / 0.5991 GB, free: 11.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3726, allocations: 78.55 kB / 0.5992 GB, free: 11.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.3739, allocations: 1.271 MB / 0.6004 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.374, allocations: 35.64 kB / 0.6005 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3742, allocations: 279.5 kB / 0.6007 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.3742, allocations: 23.95 kB / 0.6008 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.3743, allocations: 3.984 kB / 0.6008 GB, free: 10.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3745, allocations: 429.5 kB / 0.6012 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.3757, allocations: 1.362 MB / 0.6025 GB, free: 9.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.3771, allocations: 1.492 MB / 0.604 GB, free: 8.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.3788, allocations: 1.89 MB / 0.6058 GB, free: 7.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3788, allocations: 0 / 0.6058 GB, free: 7.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004154/0.3829, allocations: 3.955 MB / 0.6097 GB, free: 4.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.383, allocations: 8 kB / 0.6097 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.383, allocations: 3.938 kB / 0.6097 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.383, allocations: 0 / 0.6097 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3831, allocations: 19.98 kB / 0.6097 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3832, allocations: 4 kB / 0.6097 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.3837, allocations: 224.4 kB / 0.6099 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.3838, allocations: 27.98 kB / 0.6099 GB, free: 4.539 MB / 446.1 MB 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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0002984/0.3841, allocations: 260 kB / 0.6102 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.3841, allocations: 70.69 kB / 0.6103 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.3844, allocations: 83.72 kB / 0.6103 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3844, allocations: 0 / 0.6103 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3844, allocations: 0 / 0.6103 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3844, allocations: 0 / 0.6103 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.3849, allocations: 0.5177 MB / 0.6108 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3849, allocations: 4.031 kB / 0.6109 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.385, allocations: 7.984 kB / 0.6109 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.385, allocations: 0 / 0.6109 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.385, allocations: 4 kB / 0.6109 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.385, allocations: 3.938 kB / 0.6109 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.385, allocations: 0 / 0.6109 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.386, allocations: 1.017 MB / 0.6119 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3861, allocations: 159.8 kB / 0.612 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.3862, allocations: 0 / 0.612 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.3863, allocations: 7.984 kB / 0.612 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.3863, allocations: 4 kB / 0.612 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.3864, allocations: 15.97 kB / 0.612 GB, free: 2.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007914/0.3872, allocations: 0.7101 MB / 0.6127 GB, free: 1.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.3872, allocations: 0 / 0.6127 GB, free: 1.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001299/0.3885, allocations: 411.7 kB / 0.6131 GB, free: 1.168 MB / 446.1 MB 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.001309/0.3898, allocations: 466.8 kB / 0.6136 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.3921, allocations: 2.495 MB / 0.616 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3921, allocations: 4 kB / 0.616 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.3924, allocations: 339.8 kB / 0.6163 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3928, allocations: 52.67 kB / 0.6164 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.395, allocations: 1.97 MB / 0.6183 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.3955, allocations: 0.9842 MB / 0.6193 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.3957, allocations: 45.36 kB / 0.6193 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3959, allocations: 31.41 kB / 0.6193 GB, free: 10.72 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3959, allocations: 0 / 0.6193 GB, free: 10.72 MB / 462.1 MB Notification: Performance of Templates: time 0.01615/0.412, allocations: 9.535 MB / 0.6287 GB, free: 1.254 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)