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.001029/0.001029, 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.001018/0.001018, allocations: 193 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7027/0.7027, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.09 kB / 0.5018 GB, free: 8.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1336, allocations: 80.2 MB / 0.5801 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002886/0.1365, allocations: 1.728 MB / 0.5818 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.1421, allocations: 4.223 MB / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1423, allocations: 0 / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.1436, allocations: 362.5 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.1437, allocations: 59.67 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.1463, allocations: 0.9973 MB / 0.5873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1466, allocations: 143.4 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.1466, allocations: 9.562 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.1467, allocations: 63.7 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.147, allocations: 163.5 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.147, allocations: 12 kB / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.149, allocations: 1.373 MB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.1493, allocations: 275.8 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1495, allocations: 302.2 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1515, allocations: 1.535 MB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1515, allocations: 0 / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1515, allocations: 0 / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.1516, allocations: 0 / 0.5911 GB, free: 13.44 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.01007/0.1616, allocations: 1.273 MB / 0.5923 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1617, allocations: 15.97 kB / 0.5923 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.1621, allocations: 95.58 kB / 0.5924 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.1625, allocations: 402 kB / 0.5928 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1626, allocations: 4.312 kB / 0.5928 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.1626, allocations: 12.12 kB / 0.5928 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.163, allocations: 395.1 kB / 0.5932 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.163, allocations: 0 / 0.5932 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1631, allocations: 4 kB / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1631, allocations: 3.984 kB / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.1635, allocations: 435.7 kB / 0.5936 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.1641, allocations: 0.6652 MB / 0.5943 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.1646, allocations: 0.5594 MB / 0.5948 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.1649, allocations: 345.6 kB / 0.5952 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009918/0.1659, allocations: 1.028 MB / 0.5962 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.1663, allocations: 400.8 kB / 0.5965 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.1663, allocations: 0 / 0.5965 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001247/0.1676, allocations: 1.296 MB / 0.5978 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1676, allocations: 89.09 kB / 0.5979 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.1688, allocations: 1.281 MB / 0.5991 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.1689, allocations: 25.7 kB / 0.5992 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.1691, allocations: 285.4 kB / 0.5994 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1691, allocations: 19.84 kB / 0.5995 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.1694, allocations: 351.5 kB / 0.5998 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.1695, allocations: 318 kB / 0.6001 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.1706, allocations: 1.357 MB / 0.6014 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.1718, allocations: 1.497 MB / 0.6029 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2319/0.4037, allocations: 3.542 MB / 0.6063 GB, free: 54.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4038, allocations: 0 / 0.6063 GB, free: 54.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003047/0.4068, allocations: 3.97 MB / 0.6102 GB, free: 52.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4068, allocations: 2.969 kB / 0.6102 GB, free: 52.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4069, allocations: 6.062 kB / 0.6102 GB, free: 52.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4069, allocations: 0 / 0.6102 GB, free: 52.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.407, allocations: 20.89 kB / 0.6103 GB, free: 52.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.407, allocations: 2.875 kB / 0.6103 GB, free: 52.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.4075, allocations: 225.4 kB / 0.6105 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.4075, allocations: 22.69 kB / 0.6105 GB, free: 52.71 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.0002347/0.4078, allocations: 253 kB / 0.6107 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4078, allocations: 71.41 kB / 0.6108 GB, free: 52.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4081, allocations: 88.64 kB / 0.6109 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4081, allocations: 0 / 0.6109 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4081, allocations: 1.312 kB / 0.6109 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.4081, allocations: 3.188 kB / 0.6109 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.4084, allocations: 0.5226 MB / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4085, allocations: 1.156 kB / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.4085, allocations: 8.156 kB / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4085, allocations: 0 / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4085, allocations: 7.062 kB / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4086, allocations: 1.094 kB / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4086, allocations: 0 / 0.6114 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.4092, allocations: 1.009 MB / 0.6124 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.4093, allocations: 159.3 kB / 0.6126 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.4094, allocations: 2.938 kB / 0.6126 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.4095, allocations: 6.438 kB / 0.6126 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.4095, allocations: 3.656 kB / 0.6126 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.4096, allocations: 17.81 kB / 0.6126 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005565/0.4101, allocations: 0.7226 MB / 0.6133 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4102, allocations: 0 / 0.6133 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008534/0.411, allocations: 402.3 kB / 0.6137 GB, free: 51.62 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.0009724/0.412, allocations: 493.6 kB / 0.6141 GB, free: 51.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.4136, allocations: 2.497 MB / 0.6166 GB, free: 50.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4137, allocations: 0.6562 kB / 0.6166 GB, free: 50.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.4139, allocations: 338.4 kB / 0.6169 GB, free: 50.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.4146, allocations: 61.97 kB / 0.617 GB, free: 50.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4166, allocations: 1.876 MB / 0.6188 GB, free: 49.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.417, allocations: 0.9798 MB / 0.6198 GB, free: 49.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.4171, allocations: 43.55 kB / 0.6198 GB, free: 49.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.4172, allocations: 25.77 kB / 0.6198 GB, free: 49.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4172, allocations: 4 kB / 0.6198 GB, free: 49.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.01489/0.4321, allocations: 10.16 MB / 0.6298 GB, free: 48.57 MB / 0.4981 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)