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.005976/0.005976, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001315/0.001315, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.5814 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.377, allocations: 80.2 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002445/0.3795, allocations: 1.724 MB / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.3842, allocations: 4.213 MB / 0.6655 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3843, allocations: 1.375 kB / 0.6655 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.3854, allocations: 369.3 kB / 0.6659 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3855, allocations: 62.45 kB / 0.666 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.3875, allocations: 0.9835 MB / 0.6669 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3877, allocations: 144.7 kB / 0.667 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.3878, allocations: 21.31 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.3878, allocations: 53.12 kB / 0.6671 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.388, allocations: 159.5 kB / 0.6673 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.3881, allocations: 18.91 kB / 0.6673 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.3898, allocations: 1.381 MB / 0.6686 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.39, allocations: 272.2 kB / 0.6689 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.3902, allocations: 309.9 kB / 0.6692 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3916, allocations: 1.549 MB / 0.6707 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3916, allocations: 0 / 0.6707 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3917, allocations: 0 / 0.6707 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.3917, allocations: 1.281 kB / 0.6707 GB, free: 2.848 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.01004/0.4017, allocations: 1.273 MB / 0.672 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4018, allocations: 10.16 kB / 0.672 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.4021, allocations: 94.77 kB / 0.6721 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.4026, allocations: 407.2 kB / 0.6724 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.4026, allocations: 2.625 kB / 0.6724 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.4026, allocations: 16.45 kB / 0.6725 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.4031, allocations: 390.9 kB / 0.6728 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4032, allocations: 0 / 0.6728 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4032, allocations: 5.172 kB / 0.6728 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4032, allocations: 1.094 kB / 0.6728 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.4036, allocations: 430.1 kB / 0.6732 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.4042, allocations: 0.6663 MB / 0.6739 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.4047, allocations: 0.5689 MB / 0.6745 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.405, allocations: 337.8 kB / 0.6748 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008772/0.4059, allocations: 1.027 MB / 0.6758 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.4063, allocations: 411.3 kB / 0.6762 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.4063, allocations: 0 / 0.6762 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001379/0.4077, allocations: 1.291 MB / 0.6774 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4078, allocations: 91.64 kB / 0.6775 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.409, allocations: 1.273 MB / 0.6788 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.4091, allocations: 27.39 kB / 0.6788 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.4093, allocations: 289.3 kB / 0.6791 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.4094, allocations: 22.55 kB / 0.6791 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.4097, allocations: 352 kB / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4099, allocations: 317.6 kB / 0.6797 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4112, allocations: 1.359 MB / 0.6811 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.4128, allocations: 1.493 MB / 0.6825 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007159/0.4199, allocations: 3.542 MB / 0.686 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.42, allocations: 3.938 kB / 0.686 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004239/0.4242, allocations: 3.965 MB / 0.6898 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4242, allocations: 7.984 kB / 0.6899 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.4242, allocations: 0 / 0.6899 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4243, allocations: 8 kB / 0.6899 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4244, allocations: 15.97 kB / 0.6899 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4244, allocations: 4 kB / 0.6899 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.4251, allocations: 240.2 kB / 0.6901 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.4251, allocations: 23.97 kB / 0.6901 GB, free: 6.496 MB / 0.5137 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.000326/0.4255, allocations: 249.5 kB / 0.6904 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.4255, allocations: 70.69 kB / 0.6904 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.4258, allocations: 87.66 kB / 0.6905 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4258, allocations: 0 / 0.6905 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4258, allocations: 0 / 0.6905 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4258, allocations: 4 kB / 0.6905 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.4263, allocations: 0.5099 MB / 0.691 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4263, allocations: 0 / 0.691 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.4264, allocations: 11.98 kB / 0.691 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4264, allocations: 0 / 0.691 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4264, allocations: 3.938 kB / 0.691 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.4264, allocations: 4 kB / 0.691 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4265, allocations: 4.031 kB / 0.691 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.4274, allocations: 1.017 MB / 0.692 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4275, allocations: 155.8 kB / 0.6922 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.4276, allocations: 0 / 0.6922 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4277, allocations: 15.98 kB / 0.6922 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.4278, allocations: 7.984 kB / 0.6922 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.4278, allocations: 11.98 kB / 0.6922 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007657/0.4286, allocations: 0.7179 MB / 0.6929 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4286, allocations: 0 / 0.6929 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001275/0.4299, allocations: 403.8 kB / 0.6933 GB, free: 3.133 MB / 0.5137 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.001184/0.4311, allocations: 483.8 kB / 0.6938 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.4333, allocations: 2.499 MB / 0.6962 GB, free: 148 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4333, allocations: 4 kB / 0.6962 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.4336, allocations: 339.8 kB / 0.6965 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.434, allocations: 58.23 kB / 0.6966 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.4362, allocations: 1.867 MB / 0.6984 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.4367, allocations: 0.9839 MB / 0.6994 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.4369, allocations: 41.92 kB / 0.6994 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.437, allocations: 31.41 kB / 0.6994 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.437, allocations: 0 / 0.6994 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.01811/0.4551, allocations: 10.16 MB / 0.7094 GB, free: 2.68 MB / 0.5294 GB 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)