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.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001193/0.001193, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9147/0.9147, allocations: 135.1 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.95 kB / 0.5049 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 80.92 MB / 0.5839 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002375/0.1459, allocations: 1.452 MB / 0.5853 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.1503, allocations: 3.038 MB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.1504, allocations: 0 / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1506, allocations: 3.938 kB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1508, allocations: 31.84 kB / 0.5883 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.1535, allocations: 0.8849 MB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1536, allocations: 79.81 kB / 0.5893 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1537, allocations: 3.938 kB / 0.5893 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.1537, allocations: 43.78 kB / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1541, allocations: 232.9 kB / 0.5896 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.1541, allocations: 12 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.1563, allocations: 1.416 MB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006928/0.157, allocations: 0.6797 MB / 0.5916 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.1575, allocations: 437 kB / 0.592 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.16, allocations: 1.795 MB / 0.5938 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.16, allocations: 0 / 0.5938 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.16, allocations: 4 kB / 0.5938 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.473e-05/0.1601, allocations: 0 / 0.5938 GB, free: 10.71 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.009658/0.1697, allocations: 1.69 MB / 0.5954 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1698, allocations: 12.03 kB / 0.5954 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.1703, allocations: 138.9 kB / 0.5956 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.1708, allocations: 0.529 MB / 0.5961 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1709, allocations: 384 / 0.5961 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1709, allocations: 12.11 kB / 0.5961 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.1714, allocations: 387.2 kB / 0.5965 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1714, allocations: 7.922 kB / 0.5965 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1714, allocations: 8 kB / 0.5965 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1714, allocations: 0 / 0.5965 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.1719, allocations: 439.7 kB / 0.5969 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.1728, allocations: 0.7957 MB / 0.5977 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.1733, allocations: 0.5672 MB / 0.5982 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.1736, allocations: 345.7 kB / 0.5986 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.1747, allocations: 1.028 MB / 0.5996 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.1751, allocations: 408.8 kB / 0.6 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.345e-06/0.1752, allocations: 0 / 0.6 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001396/0.1766, allocations: 1.335 MB / 0.6013 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1766, allocations: 89.03 kB / 0.6014 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.1785, allocations: 1.843 MB / 0.6032 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1786, allocations: 37.83 kB / 0.6032 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.1789, allocations: 473.2 kB / 0.6036 GB, free: 56 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.179, allocations: 23.73 kB / 0.6037 GB, free: 32 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2337/0.4127, allocations: 348.7 kB / 0.604 GB, free: 52.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.4128, allocations: 305.5 kB / 0.6043 GB, free: 51.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.414, allocations: 1.511 MB / 0.6058 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.4151, allocations: 1.648 MB / 0.6074 GB, free: 51.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006542/0.4217, allocations: 3.687 MB / 0.611 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4217, allocations: 2.281 kB / 0.611 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003763/0.4255, allocations: 4.319 MB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4255, allocations: 4.938 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4256, allocations: 4.594 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4256, allocations: 0 / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4257, allocations: 18.38 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4257, allocations: 0 / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.4263, allocations: 235.2 kB / 0.6154 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.4263, allocations: 21.94 kB / 0.6155 GB, free: 47.54 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.0003876/0.4267, allocations: 367.3 kB / 0.6158 GB, free: 47.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.4268, allocations: 123.6 kB / 0.6159 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.4272, allocations: 146.6 kB / 0.6161 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4272, allocations: 2.844 kB / 0.6161 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4272, allocations: 4.719 kB / 0.6161 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4272, allocations: 0 / 0.6161 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.4278, allocations: 0.6781 MB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4278, allocations: 2.781 kB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.4278, allocations: 5.688 kB / 0.6168 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4279, allocations: 0 / 0.6168 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4279, allocations: 10.59 kB / 0.6168 GB, free: 46.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4279, allocations: 0.8125 kB / 0.6168 GB, free: 46.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4279, allocations: 5.156 kB / 0.6168 GB, free: 46.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.4288, allocations: 1.057 MB / 0.6178 GB, free: 46.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.429, allocations: 193.8 kB / 0.618 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4291, allocations: 3.5 kB / 0.618 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.4293, allocations: 7.188 kB / 0.618 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.4294, allocations: 12.41 kB / 0.618 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.4294, allocations: 18.64 kB / 0.618 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001163/0.4306, allocations: 1.104 MB / 0.6191 GB, free: 46.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4306, allocations: 0.8438 kB / 0.6191 GB, free: 46.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001086/0.4317, allocations: 428.3 kB / 0.6195 GB, free: 46.21 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.00129/0.433, allocations: 490.4 kB / 0.62 GB, free: 46.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.4348, allocations: 2.65 MB / 0.6226 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4349, allocations: 2.531 kB / 0.6226 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.4351, allocations: 339.8 kB / 0.6229 GB, free: 45.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.4356, allocations: 48.77 kB / 0.6229 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.438, allocations: 2.853 MB / 0.6257 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.4385, allocations: 1.157 MB / 0.6269 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.4387, allocations: 35.58 kB / 0.6269 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.4388, allocations: 26.44 kB / 0.6269 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4388, allocations: 0 / 0.6269 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.01804/0.4568, allocations: 10.09 MB / 0.6368 GB, free: 42.61 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)