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.001577/0.001577, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001443/0.001443, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 0.5061 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3792, allocations: 80.92 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002964/0.3822, allocations: 1.727 MB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.3875, allocations: 4.212 MB / 0.5909 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3877, allocations: 4.562 kB / 0.5909 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3889, allocations: 365.3 kB / 0.5913 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.389, allocations: 56.98 kB / 0.5913 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.3914, allocations: 0.9957 MB / 0.5923 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3916, allocations: 143.4 kB / 0.5924 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.3917, allocations: 11.16 kB / 0.5924 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.3918, allocations: 59.7 kB / 0.5925 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.392, allocations: 159.5 kB / 0.5926 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.3921, allocations: 12 kB / 0.5926 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.3937, allocations: 1.374 MB / 0.594 GB, free: 17.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3939, allocations: 276.3 kB / 0.5943 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.3941, allocations: 302.1 kB / 0.5945 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.3955, allocations: 1.535 MB / 0.596 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3955, allocations: 0.625 kB / 0.596 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3955, allocations: 0 / 0.596 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3955, allocations: 2.5 kB / 0.596 GB, free: 15.31 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.009451/0.4049, allocations: 1.273 MB / 0.5973 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.405, allocations: 13.11 kB / 0.5973 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.4054, allocations: 101.6 kB / 0.5974 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4058, allocations: 409.9 kB / 0.5978 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4058, allocations: 384 / 0.5978 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.4058, allocations: 16.11 kB / 0.5978 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.4062, allocations: 380.7 kB / 0.5982 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4062, allocations: 5.438 kB / 0.5982 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4062, allocations: 4 kB / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4062, allocations: 0 / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.4065, allocations: 441.1 kB / 0.5986 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.407, allocations: 0.6622 MB / 0.5992 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.4073, allocations: 0.5565 MB / 0.5998 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4076, allocations: 351.1 kB / 0.6001 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.4083, allocations: 1.023 MB / 0.6011 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.4086, allocations: 406.6 kB / 0.6015 GB, free: 9.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4087, allocations: 0 / 0.6015 GB, free: 9.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009278/0.4096, allocations: 1.292 MB / 0.6028 GB, free: 8.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4096, allocations: 81.11 kB / 0.6028 GB, free: 7.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.4105, allocations: 1.277 MB / 0.6041 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4105, allocations: 33.69 kB / 0.6041 GB, free: 6.586 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.4106, allocations: 282.1 kB / 0.6044 GB, free: 6.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4107, allocations: 28.86 kB / 0.6044 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.4109, allocations: 347.5 kB / 0.6048 GB, free: 5.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.411, allocations: 323.5 kB / 0.6051 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.4118, allocations: 1.357 MB / 0.6064 GB, free: 4.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.4127, allocations: 1.498 MB / 0.6078 GB, free: 2.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/0.4189, allocations: 3.532 MB / 0.6113 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4189, allocations: 0 / 0.6113 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004735/0.4237, allocations: 3.982 MB / 0.6152 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4237, allocations: 4 kB / 0.6152 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4238, allocations: 0 / 0.6152 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4238, allocations: 10.02 kB / 0.6152 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4239, allocations: 16 kB / 0.6152 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4239, allocations: 0 / 0.6152 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.4245, allocations: 236.2 kB / 0.6154 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.4246, allocations: 24.61 kB / 0.6155 GB, free: 10.82 MB / 462.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 (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.000363/0.4249, allocations: 250.9 kB / 0.6157 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.425, allocations: 74.69 kB / 0.6158 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.4253, allocations: 81.56 kB / 0.6159 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4253, allocations: 0 / 0.6159 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4254, allocations: 0.5312 kB / 0.6159 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4254, allocations: 4 kB / 0.6159 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.4259, allocations: 0.5186 MB / 0.6164 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4259, allocations: 0 / 0.6164 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.426, allocations: 13.58 kB / 0.6164 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.426, allocations: 0 / 0.6164 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.426, allocations: 0 / 0.6164 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.426, allocations: 4 kB / 0.6164 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.426, allocations: 1.562 kB / 0.6164 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.4271, allocations: 1.004 MB / 0.6174 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4273, allocations: 159.8 kB / 0.6175 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.4273, allocations: 4 kB / 0.6175 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4275, allocations: 3.984 kB / 0.6175 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4275, allocations: 8.438 kB / 0.6175 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.4276, allocations: 17.28 kB / 0.6175 GB, free: 8.598 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008708/0.4285, allocations: 0.7179 MB / 0.6182 GB, free: 7.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4285, allocations: 0 / 0.6182 GB, free: 7.875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4296, allocations: 406.2 kB / 0.6186 GB, free: 7.48 MB / 462.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 (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.001247/0.4309, allocations: 484.7 kB / 0.6191 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.4335, allocations: 2.495 MB / 0.6215 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4335, allocations: 0 / 0.6215 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.4339, allocations: 352.2 kB / 0.6219 GB, free: 4.164 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.4343, allocations: 63 kB / 0.6219 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.4369, allocations: 1.92 MB / 0.6238 GB, free: 2.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/0.4376, allocations: 0.9916 MB / 0.6248 GB, free: 1.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.4377, allocations: 27.41 kB / 0.6248 GB, free: 1.102 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4377, allocations: 0 / 0.6248 GB, free: 1.102 MB / 462.1 MB Notification: Performance of Templates: time 0.01985/0.4576, allocations: 11.19 MB / 0.6357 GB, free: 5.93 MB / 478.1 MB 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)