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.0009184/0.0009187, allocations: 92.23 kB / 16.02 MB, free: 80 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.001025/0.001025, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.3/1.3, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9262/0.9262, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 8 kB / 0.5083 GB, free: 4.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 82.31 MB / 0.5887 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001779/0.1577, allocations: 1.444 MB / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.1633, allocations: 4.314 MB / 0.5943 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1635, allocations: 0 / 0.5943 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1647, allocations: 350.7 kB / 0.5946 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1648, allocations: 51.78 kB / 0.5947 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.167, allocations: 0.7677 MB / 0.5954 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.1673, allocations: 187.3 kB / 0.5956 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1673, allocations: 21.47 kB / 0.5956 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.1674, allocations: 55.72 kB / 0.5957 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.1677, allocations: 176.8 kB / 0.5958 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.1677, allocations: 16 kB / 0.5958 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.1698, allocations: 1.392 MB / 0.5972 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.1701, allocations: 279.8 kB / 0.5975 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.1704, allocations: 331.8 kB / 0.5978 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1718, allocations: 1.037 MB / 0.5988 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1718, allocations: 0 / 0.5988 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1719, allocations: 8 kB / 0.5988 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.1719, allocations: 0 / 0.5988 GB, free: 8.117 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.01067/0.1826, allocations: 1.214 MB / 0.6 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1826, allocations: 8.031 kB / 0.6 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.183, allocations: 95.58 kB / 0.6001 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.1835, allocations: 402 kB / 0.6005 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1836, allocations: 8.375 kB / 0.6005 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.1836, allocations: 12.12 kB / 0.6005 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.1841, allocations: 387.2 kB / 0.6009 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1841, allocations: 0 / 0.6009 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1841, allocations: 0 / 0.6009 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1841, allocations: 0 / 0.6009 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.1845, allocations: 443.7 kB / 0.6013 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.1852, allocations: 0.669 MB / 0.6019 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.1857, allocations: 0.5555 MB / 0.6025 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.186, allocations: 349.6 kB / 0.6028 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.1871, allocations: 1.036 MB / 0.6038 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.1875, allocations: 400.9 kB / 0.6042 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.1875, allocations: 3.938 kB / 0.6042 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001301/0.1888, allocations: 1.293 MB / 0.6055 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1889, allocations: 85.09 kB / 0.6056 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2669/0.4557, allocations: 1.276 MB / 0.6068 GB, free: 49.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.4559, allocations: 33.83 kB / 0.6068 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.456, allocations: 282 kB / 0.6071 GB, free: 48.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.4561, allocations: 20.59 kB / 0.6071 GB, free: 48.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.4563, allocations: 294 kB / 0.6074 GB, free: 48.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.4563, allocations: 316.7 kB / 0.6077 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/0.4573, allocations: 1.37 MB / 0.609 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.4584, allocations: 1.485 MB / 0.6105 GB, free: 48.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006323/0.4648, allocations: 3.542 MB / 0.614 GB, free: 47.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4648, allocations: 4.188 kB / 0.614 GB, free: 47.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003319/0.4681, allocations: 3.97 MB / 0.6178 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.4682, allocations: 9.031 kB / 0.6178 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.4682, allocations: 0 / 0.6178 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4682, allocations: 3.875 kB / 0.6178 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4684, allocations: 15.97 kB / 0.6179 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4684, allocations: 4.172 kB / 0.6179 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.4689, allocations: 230.7 kB / 0.6181 GB, free: 45.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.4689, allocations: 25.36 kB / 0.6181 GB, free: 45.17 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.0002846/0.4692, allocations: 245.6 kB / 0.6183 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.4693, allocations: 75.27 kB / 0.6184 GB, free: 44.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.4696, allocations: 81.75 kB / 0.6185 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4696, allocations: 0 / 0.6185 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4696, allocations: 3.062 kB / 0.6185 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4696, allocations: 0 / 0.6185 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.4699, allocations: 0.5115 MB / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.47, allocations: 3.75 kB / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.47, allocations: 16.3 kB / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.47, allocations: 0 / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4701, allocations: 6.906 kB / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4701, allocations: 0 / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4701, allocations: 0 / 0.619 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.4708, allocations: 1.008 MB / 0.62 GB, free: 44.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.4709, allocations: 166.3 kB / 0.6202 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.4709, allocations: 6.875 kB / 0.6202 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4711, allocations: 8.812 kB / 0.6202 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4711, allocations: 7.25 kB / 0.6202 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.4712, allocations: 18.3 kB / 0.6202 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006172/0.4718, allocations: 0.716 MB / 0.6209 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4718, allocations: 0 / 0.6209 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009533/0.4728, allocations: 401 kB / 0.6213 GB, free: 44.09 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.001079/0.4738, allocations: 489.7 kB / 0.6218 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.4756, allocations: 2.495 MB / 0.6242 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4756, allocations: 3.188 kB / 0.6242 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.4759, allocations: 339.3 kB / 0.6245 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.4763, allocations: 59.23 kB / 0.6246 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.4783, allocations: 2.12 MB / 0.6266 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4787, allocations: 0.9814 MB / 0.6276 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4788, allocations: 32.2 kB / 0.6276 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.4788, allocations: 0 / 0.6276 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01948/0.4983, allocations: 11.14 MB / 0.6385 GB, free: 39.91 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)