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.001738/0.001738, allocations: 108 kB / 15.6 MB, free: 132 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.001981/0.001981, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.929/0.929, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.48 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 80.92 MB / 0.5844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00306/0.1585, allocations: 1.732 MB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.1645, allocations: 4.207 MB / 0.5902 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.1646, allocations: 4 kB / 0.5902 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1657, allocations: 362.4 kB / 0.5905 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1659, allocations: 59.73 kB / 0.5906 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1681, allocations: 0.9891 MB / 0.5916 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1683, allocations: 143.4 kB / 0.5917 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.1683, allocations: 17.53 kB / 0.5917 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.1684, allocations: 63.7 kB / 0.5918 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.1687, allocations: 159.5 kB / 0.5919 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.1688, allocations: 16 kB / 0.592 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.1706, allocations: 1.369 MB / 0.5933 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.1708, allocations: 279.7 kB / 0.5936 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.1711, allocations: 302.1 kB / 0.5938 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.1728, allocations: 1.527 MB / 0.5953 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1728, allocations: 0 / 0.5953 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.916e-06/0.1728, allocations: 4 kB / 0.5953 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.1728, allocations: 4 kB / 0.5953 GB, free: 9.23 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.0101/0.1829, allocations: 1.281 MB / 0.5966 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.183, allocations: 8.031 kB / 0.5966 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.1833, allocations: 95.58 kB / 0.5967 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1838, allocations: 405.9 kB / 0.5971 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1838, allocations: 8.375 kB / 0.5971 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.1838, allocations: 16.11 kB / 0.5971 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.1842, allocations: 383.2 kB / 0.5975 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1843, allocations: 0 / 0.5975 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1843, allocations: 0 / 0.5975 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1843, allocations: 0 / 0.5975 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.1847, allocations: 439.7 kB / 0.5979 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.1853, allocations: 0.6614 MB / 0.5985 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.1858, allocations: 0.5633 MB / 0.5991 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.1862, allocations: 345.6 kB / 0.5994 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.1873, allocations: 1.028 MB / 0.6004 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.1877, allocations: 404.8 kB / 0.6008 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1877, allocations: 0 / 0.6008 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001275/0.189, allocations: 1.3 MB / 0.6021 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.189, allocations: 77.11 kB / 0.6021 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.1903, allocations: 1.281 MB / 0.6034 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1903, allocations: 37.64 kB / 0.6034 GB, free: 484 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1905, allocations: 281.4 kB / 0.6037 GB, free: 196 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1906, allocations: 19.92 kB / 0.6037 GB, free: 176 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2192/0.4098, allocations: 344.8 kB / 0.604 GB, free: 52.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.4099, allocations: 321.6 kB / 0.6044 GB, free: 52.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009161/0.4108, allocations: 1.361 MB / 0.6057 GB, free: 52.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/0.4117, allocations: 1.497 MB / 0.6071 GB, free: 51.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/0.4178, allocations: 3.536 MB / 0.6106 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4178, allocations: 0.625 kB / 0.6106 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003141/0.421, allocations: 3.978 MB / 0.6145 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.421, allocations: 6.125 kB / 0.6145 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4211, allocations: 2.406 kB / 0.6145 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4211, allocations: 1.312 kB / 0.6145 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4212, allocations: 18.3 kB / 0.6145 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4212, allocations: 4.297 kB / 0.6145 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.4217, allocations: 225.7 kB / 0.6147 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.4217, allocations: 30.77 kB / 0.6148 GB, free: 47.96 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.0002599/0.422, allocations: 249.3 kB / 0.615 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.4221, allocations: 71.56 kB / 0.6151 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.4223, allocations: 82.39 kB / 0.6151 GB, free: 47.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.4224, allocations: 3 kB / 0.6151 GB, free: 47.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4224, allocations: 3.938 kB / 0.6152 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4224, allocations: 1.266 kB / 0.6152 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.4227, allocations: 0.5151 MB / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4227, allocations: 0 / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.4228, allocations: 6.469 kB / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4228, allocations: 0 / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4228, allocations: 6.453 kB / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4228, allocations: 0.75 kB / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4228, allocations: 9.25 kB / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.4235, allocations: 1.007 MB / 0.6167 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.4236, allocations: 157.3 kB / 0.6168 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.4236, allocations: 2.688 kB / 0.6168 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4238, allocations: 8.641 kB / 0.6168 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4238, allocations: 11.16 kB / 0.6168 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.4239, allocations: 18.19 kB / 0.6169 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005914/0.4245, allocations: 0.7187 MB / 0.6176 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4245, allocations: 0 / 0.6176 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009807/0.4255, allocations: 404.3 kB / 0.6179 GB, free: 46.88 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.001036/0.4265, allocations: 493.5 kB / 0.6184 GB, free: 46.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.4281, allocations: 2.494 MB / 0.6208 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4281, allocations: 1 kB / 0.6208 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.4284, allocations: 350.6 kB / 0.6212 GB, free: 45.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.4288, allocations: 48.84 kB / 0.6212 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4304, allocations: 1.878 MB / 0.6231 GB, free: 45.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4308, allocations: 0.9846 MB / 0.624 GB, free: 44.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.4309, allocations: 41.59 kB / 0.6241 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.431, allocations: 32.81 kB / 0.6241 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4311, allocations: 4 kB / 0.6241 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01549/0.4465, allocations: 10.16 MB / 0.634 GB, free: 43.81 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)