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.001283/0.001283, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001418/0.001418, allocations: 191 kB / 17.29 MB, free: 5.516 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8192/0.8192, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00255/0.3552, allocations: 1.727 MB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.3597, allocations: 4.213 MB / 0.5873 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.3598, allocations: 2.625 kB / 0.5873 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.3608, allocations: 368.6 kB / 0.5877 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.3609, allocations: 61.14 kB / 0.5877 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.363, allocations: 0.9823 MB / 0.5887 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3632, allocations: 145.8 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.3633, allocations: 17.05 kB / 0.5889 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.3633, allocations: 62.61 kB / 0.5889 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.3636, allocations: 160.2 kB / 0.5891 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.3636, allocations: 14.28 kB / 0.5891 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.3654, allocations: 1.385 MB / 0.5904 GB, free: 21.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3655, allocations: 275.8 kB / 0.5907 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3657, allocations: 306.2 kB / 0.591 GB, free: 20.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3671, allocations: 1.547 MB / 0.5925 GB, free: 18.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3671, allocations: 0 / 0.5925 GB, free: 18.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3671, allocations: 1.969 kB / 0.5925 GB, free: 18.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3671, allocations: 0 / 0.5925 GB, free: 18.94 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.007865/0.375, allocations: 1.273 MB / 0.5938 GB, free: 17.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.375, allocations: 15.31 kB / 0.5938 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.3754, allocations: 91.58 kB / 0.5939 GB, free: 17.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3758, allocations: 402.7 kB / 0.5942 GB, free: 17.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3758, allocations: 5.859 kB / 0.5942 GB, free: 17.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.3759, allocations: 12.11 kB / 0.5943 GB, free: 17.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3762, allocations: 391.7 kB / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3762, allocations: 0.8438 kB / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3762, allocations: 4 kB / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3762, allocations: 1.062 kB / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.3765, allocations: 438.9 kB / 0.5951 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.3769, allocations: 0.6612 MB / 0.5957 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.3773, allocations: 0.5595 MB / 0.5962 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3775, allocations: 342.3 kB / 0.5966 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.3782, allocations: 1.024 MB / 0.5976 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.3785, allocations: 405.3 kB / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3785, allocations: 0 / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009105/0.3794, allocations: 1.304 MB / 0.5992 GB, free: 11.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.3795, allocations: 81.11 kB / 0.5993 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.3803, allocations: 1.281 MB / 0.6006 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3804, allocations: 28.89 kB / 0.6006 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3805, allocations: 281.4 kB / 0.6009 GB, free: 9.938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3805, allocations: 27.64 kB / 0.6009 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3808, allocations: 347.5 kB / 0.6012 GB, free: 9.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.3808, allocations: 326 kB / 0.6015 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000812/0.3816, allocations: 1.354 MB / 0.6028 GB, free: 7.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.3825, allocations: 1.495 MB / 0.6043 GB, free: 6.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006116/0.3886, allocations: 3.539 MB / 0.6078 GB, free: 2.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3887, allocations: 0.5625 kB / 0.6078 GB, free: 2.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003432/0.3921, allocations: 3.975 MB / 0.6116 GB, free: 14.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3921, allocations: 7.938 kB / 0.6117 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3922, allocations: 0 / 0.6117 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3922, allocations: 4 kB / 0.6117 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3923, allocations: 21.52 kB / 0.6117 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3923, allocations: 0 / 0.6117 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.3928, allocations: 236.2 kB / 0.6119 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.3929, allocations: 27.92 kB / 0.6119 GB, free: 14.45 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.0003527/0.3932, allocations: 244.6 kB / 0.6122 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.3933, allocations: 74.69 kB / 0.6122 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.3936, allocations: 84.03 kB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3936, allocations: 0 / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3936, allocations: 1.219 kB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3936, allocations: 4 kB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.3941, allocations: 0.5138 MB / 0.6128 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3941, allocations: 0.9688 kB / 0.6128 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.3942, allocations: 15.98 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3942, allocations: 1.094 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3942, allocations: 0 / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3943, allocations: 4 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3943, allocations: 1.594 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.3952, allocations: 1.01 MB / 0.6138 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3953, allocations: 156.5 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.3954, allocations: 0 / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3955, allocations: 10.02 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3956, allocations: 7.984 kB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.3956, allocations: 19.97 kB / 0.614 GB, free: 12.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007865/0.3964, allocations: 0.7146 MB / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3964, allocations: 1.375 kB / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3975, allocations: 407.8 kB / 0.6151 GB, free: 11.1 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.001113/0.3986, allocations: 480.9 kB / 0.6156 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.4009, allocations: 2.489 MB / 0.618 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4009, allocations: 0.625 kB / 0.618 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.4012, allocations: 348.3 kB / 0.6183 GB, free: 7.797 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4016, allocations: 62.59 kB / 0.6184 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.4037, allocations: 1.862 MB / 0.6202 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.4043, allocations: 0.9815 MB / 0.6212 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.4044, allocations: 40.33 kB / 0.6212 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.4045, allocations: 27.42 kB / 0.6212 GB, free: 4.797 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4045, allocations: 0 / 0.6212 GB, free: 4.797 MB / 462.1 MB Notification: Performance of Templates: time 0.01709/0.4216, allocations: 10.16 MB / 0.6312 GB, free: 10.7 MB / 478.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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)