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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 195.7 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9802/0.9802, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.22 kB / 0.5054 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1802, allocations: 80.93 MB / 0.5844 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003032/0.1833, allocations: 1.795 MB / 0.5861 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005984/0.1893, allocations: 4.391 MB / 0.5904 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1895, allocations: 3.938 kB / 0.5904 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1908, allocations: 350.7 kB / 0.5908 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1909, allocations: 47.75 kB / 0.5908 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.1932, allocations: 0.7677 MB / 0.5916 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1935, allocations: 195.3 kB / 0.5917 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.1936, allocations: 13.48 kB / 0.5918 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.1936, allocations: 47.8 kB / 0.5918 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1939, allocations: 180.8 kB / 0.592 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.1939, allocations: 12 kB / 0.592 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.1961, allocations: 1.4 MB / 0.5934 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.1963, allocations: 275.8 kB / 0.5936 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.1966, allocations: 302.1 kB / 0.5939 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1981, allocations: 1.045 MB / 0.5949 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1981, allocations: 0 / 0.5949 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1981, allocations: 0 / 0.5949 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.1981, allocations: 4 kB / 0.5949 GB, free: 10.16 MB / 0.4981 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.007701/0.2058, allocations: 1.277 MB / 0.5962 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.2059, allocations: 16.02 kB / 0.5962 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.2063, allocations: 91.59 kB / 0.5963 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2068, allocations: 402 kB / 0.5967 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2068, allocations: 12.3 kB / 0.5967 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.2069, allocations: 12.12 kB / 0.5967 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.2073, allocations: 383.2 kB / 0.5971 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2073, allocations: 0 / 0.5971 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2073, allocations: 4 kB / 0.5971 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2074, allocations: 3.984 kB / 0.5971 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.2078, allocations: 435.7 kB / 0.5975 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.2084, allocations: 0.6652 MB / 0.5981 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.2089, allocations: 0.5594 MB / 0.5987 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2092, allocations: 337.7 kB / 0.599 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.2104, allocations: 1.04 MB / 0.6 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.2108, allocations: 404.9 kB / 0.6004 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/0.2108, allocations: 4 kB / 0.6004 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001329/0.2121, allocations: 1.289 MB / 0.6017 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2122, allocations: 85.09 kB / 0.6017 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2134, allocations: 1.277 MB / 0.603 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.2134, allocations: 29.7 kB / 0.603 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.2136, allocations: 281.4 kB / 0.6033 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.2137, allocations: 31.84 kB / 0.6033 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.214, allocations: 347.5 kB / 0.6036 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2141, allocations: 318 kB / 0.604 GB, free: 444 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3248/0.5389, allocations: 1.355 MB / 0.6053 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.5401, allocations: 1.494 MB / 0.6067 GB, free: 52.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00612/0.5462, allocations: 3.543 MB / 0.6102 GB, free: 50.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.5463, allocations: 0 / 0.6102 GB, free: 50.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003437/0.5497, allocations: 3.968 MB / 0.6141 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5498, allocations: 6.375 kB / 0.6141 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.5498, allocations: 3.234 kB / 0.6141 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5498, allocations: 4.188 kB / 0.6141 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.55, allocations: 18.27 kB / 0.6141 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.55, allocations: 0 / 0.6141 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.5504, allocations: 236 kB / 0.6143 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.5505, allocations: 21.48 kB / 0.6143 GB, free: 48.16 MB / 0.4981 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.5508, allocations: 251.7 kB / 0.6146 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.5508, allocations: 69.94 kB / 0.6147 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.5511, allocations: 81.66 kB / 0.6147 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5511, allocations: 3.031 kB / 0.6147 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5511, allocations: 3.422 kB / 0.6147 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5511, allocations: 0 / 0.6147 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.5515, allocations: 0.5207 MB / 0.6152 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5515, allocations: 0 / 0.6152 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.5516, allocations: 10.42 kB / 0.6153 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5516, allocations: 1.031 kB / 0.6153 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5516, allocations: 10.55 kB / 0.6153 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5516, allocations: 3.281 kB / 0.6153 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5517, allocations: 0 / 0.6153 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.5524, allocations: 1.008 MB / 0.6163 GB, free: 47.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.5525, allocations: 159.9 kB / 0.6164 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.5526, allocations: 10.03 kB / 0.6164 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5527, allocations: 6.156 kB / 0.6164 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.5528, allocations: 6.219 kB / 0.6164 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.5528, allocations: 15.45 kB / 0.6164 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006447/0.5535, allocations: 0.7227 MB / 0.6171 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.373e-06/0.5535, allocations: 0 / 0.6171 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001057/0.5545, allocations: 400 kB / 0.6175 GB, free: 47.07 MB / 0.4981 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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/0.5556, allocations: 480.8 kB / 0.618 GB, free: 46.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.5574, allocations: 2.501 MB / 0.6204 GB, free: 45.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5574, allocations: 0 / 0.6204 GB, free: 45.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.5577, allocations: 342.6 kB / 0.6208 GB, free: 45.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.5581, allocations: 50.84 kB / 0.6208 GB, free: 45.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.5601, allocations: 2.1 MB / 0.6229 GB, free: 45.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.5605, allocations: 0.9867 MB / 0.6238 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5606, allocations: 28.44 kB / 0.6238 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.5606, allocations: 0 / 0.6238 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.0186/0.5792, allocations: 11.18 MB / 0.6348 GB, free: 42.91 MB / 0.4981 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)