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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009284, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.007589/0.007589, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9488/0.9488, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 12.66 kB / 0.5076 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 82.31 MB / 0.588 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001548/0.1513, allocations: 1.123 MB / 0.5891 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005138/0.1565, allocations: 3.16 MB / 0.5922 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.1566, allocations: 3.938 kB / 0.5922 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.1567, allocations: 7.938 kB / 0.5922 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.157, allocations: 27.89 kB / 0.5922 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.1596, allocations: 0.7608 MB / 0.593 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1597, allocations: 107.6 kB / 0.5931 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.1598, allocations: 4 kB / 0.5931 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1599, allocations: 43.84 kB / 0.5931 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.1602, allocations: 224.9 kB / 0.5933 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1603, allocations: 15.94 kB / 0.5934 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.1627, allocations: 1.392 MB / 0.5947 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006659/0.1633, allocations: 0.6797 MB / 0.5954 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.1638, allocations: 470.7 kB / 0.5958 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.1668, allocations: 1.764 MB / 0.5976 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1668, allocations: 3.938 kB / 0.5976 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1668, allocations: 0 / 0.5976 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.1669, allocations: 4 kB / 0.5976 GB, free: 8.754 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.01163/0.1785, allocations: 1.593 MB / 0.5991 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1786, allocations: 8.031 kB / 0.5991 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.179, allocations: 142.9 kB / 0.5993 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.1798, allocations: 0.5211 MB / 0.5998 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1798, allocations: 8.359 kB / 0.5998 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.1799, allocations: 20.11 kB / 0.5998 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.1804, allocations: 387.1 kB / 0.6002 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1804, allocations: 3.938 kB / 0.6002 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1804, allocations: 0 / 0.6002 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1804, allocations: 0 / 0.6002 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.1809, allocations: 435.7 kB / 0.6006 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.182, allocations: 0.8073 MB / 0.6014 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.1826, allocations: 0.5632 MB / 0.6019 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.1829, allocations: 337.7 kB / 0.6022 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.1841, allocations: 1.04 MB / 0.6033 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.1845, allocations: 412.8 kB / 0.6037 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.1845, allocations: 0 / 0.6037 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001384/0.1859, allocations: 1.335 MB / 0.605 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.186, allocations: 85.11 kB / 0.605 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2705/0.4564, allocations: 1.838 MB / 0.6068 GB, free: 48.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.4566, allocations: 31.48 kB / 0.6069 GB, free: 48.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.4568, allocations: 483.3 kB / 0.6073 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.4569, allocations: 17.34 kB / 0.6073 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.4571, allocations: 290.3 kB / 0.6076 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.4571, allocations: 301.9 kB / 0.6079 GB, free: 47.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.4582, allocations: 1.514 MB / 0.6094 GB, free: 47.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.4594, allocations: 1.64 MB / 0.611 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006507/0.4659, allocations: 3.698 MB / 0.6146 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.466, allocations: 0 / 0.6146 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003531/0.4695, allocations: 4.321 MB / 0.6188 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4695, allocations: 6.219 kB / 0.6188 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4696, allocations: 2.875 kB / 0.6188 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4696, allocations: 0 / 0.6188 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4697, allocations: 15.31 kB / 0.6188 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4697, allocations: 4.891 kB / 0.6188 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.4703, allocations: 234 kB / 0.6191 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.4703, allocations: 24.12 kB / 0.6191 GB, free: 44.39 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.0003627/0.4707, allocations: 372.1 kB / 0.6194 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.4708, allocations: 121.4 kB / 0.6196 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.4711, allocations: 147.2 kB / 0.6197 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4711, allocations: 2.781 kB / 0.6197 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4711, allocations: 0 / 0.6197 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4711, allocations: 0 / 0.6197 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.4716, allocations: 0.6805 MB / 0.6204 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4716, allocations: 1.531 kB / 0.6204 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.4716, allocations: 9.891 kB / 0.6204 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4717, allocations: 0 / 0.6204 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4717, allocations: 13.67 kB / 0.6204 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4717, allocations: 3.75 kB / 0.6204 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4717, allocations: 3.812 kB / 0.6204 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.4724, allocations: 1.051 MB / 0.6214 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4725, allocations: 198.1 kB / 0.6216 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.4726, allocations: 3.938 kB / 0.6216 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4728, allocations: 6.844 kB / 0.6216 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.4729, allocations: 10.72 kB / 0.6216 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.4729, allocations: 18.2 kB / 0.6217 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009109/0.4738, allocations: 1.101 MB / 0.6227 GB, free: 43.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.202e-06/0.4738, allocations: 1.781 kB / 0.6227 GB, free: 43.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009519/0.4748, allocations: 439.2 kB / 0.6232 GB, free: 43.06 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.001044/0.4758, allocations: 487.7 kB / 0.6236 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.4777, allocations: 2.638 MB / 0.6262 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4777, allocations: 0 / 0.6262 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.478, allocations: 349.1 kB / 0.6265 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.4785, allocations: 51.52 kB / 0.6266 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.481, allocations: 2.856 MB / 0.6294 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4815, allocations: 1.15 MB / 0.6305 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.4817, allocations: 34.05 kB / 0.6305 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.4818, allocations: 26.55 kB / 0.6305 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4818, allocations: 0 / 0.6305 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.01728/0.4991, allocations: 9.737 MB / 0.6401 GB, free: 39.46 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)