Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001205/0.001205, allocations: 108.2 kB / 16.41 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.00106/0.00106, allocations: 186.7 kB / 17.34 MB, free: 5.633 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.808/0.808, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.03 kB / 0.5821 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002343/0.1607, allocations: 1.4 MB / 0.6618 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.1651, allocations: 3.024 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.1652, allocations: 0 / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.1653, allocations: 11.86 kB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1656, allocations: 31.84 kB / 0.6648 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.168, allocations: 0.9917 MB / 0.6657 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1681, allocations: 87.67 kB / 0.6658 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.1682, allocations: 7.984 kB / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.1682, allocations: 43.83 kB / 0.6659 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1685, allocations: 153.6 kB / 0.666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.1685, allocations: 16 kB / 0.666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.1704, allocations: 1.381 MB / 0.6674 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.1711, allocations: 0.6797 MB / 0.668 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.1714, allocations: 444.9 kB / 0.6685 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.1732, allocations: 1.791 MB / 0.6702 GB, free: 140 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1732, allocations: 4 kB / 0.6702 GB, free: 136 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1732, allocations: 0 / 0.6702 GB, free: 136 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.1732, allocations: 0 / 0.6702 GB, free: 136 kB / 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.01039/0.1836, allocations: 1.69 MB / 0.6719 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1837, allocations: 13.11 kB / 0.6719 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.1841, allocations: 143 kB / 0.672 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.1846, allocations: 0.5251 MB / 0.6725 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1846, allocations: 4.312 kB / 0.6725 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1847, allocations: 7.938 kB / 0.6725 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1851, allocations: 391.2 kB / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1851, allocations: 0 / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1852, allocations: 4 kB / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1852, allocations: 0 / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.1856, allocations: 439.7 kB / 0.6733 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.1863, allocations: 0.8073 MB / 0.6741 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.1868, allocations: 0.5634 MB / 0.6747 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.1871, allocations: 341.6 kB / 0.675 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.1881, allocations: 1.032 MB / 0.676 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.1885, allocations: 400.9 kB / 0.6764 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1885, allocations: 0 / 0.6764 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001263/0.1898, allocations: 1.343 MB / 0.6777 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1899, allocations: 81.11 kB / 0.6778 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.1915, allocations: 1.843 MB / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.1916, allocations: 37.83 kB / 0.6796 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.1919, allocations: 473.3 kB / 0.6801 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1919, allocations: 19.7 kB / 0.6801 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.1922, allocations: 351.5 kB / 0.6804 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.1923, allocations: 301.1 kB / 0.6807 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.1936, allocations: 1.514 MB / 0.6822 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.1949, allocations: 1.646 MB / 0.6838 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/0.2019, allocations: 3.69 MB / 0.6874 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.2019, allocations: 3.938 kB / 0.6874 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004722/0.2067, allocations: 4.319 MB / 0.6916 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2067, allocations: 8.031 kB / 0.6916 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.2067, allocations: 7.984 kB / 0.6916 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2068, allocations: 0 / 0.6916 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2069, allocations: 20 kB / 0.6916 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2069, allocations: 0 / 0.6916 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/0.2076, allocations: 232.3 kB / 0.6919 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.2076, allocations: 19.98 kB / 0.6919 GB, free: 9.227 MB / 0.5294 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.0005073/0.2081, allocations: 377.3 kB / 0.6922 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.2082, allocations: 122.1 kB / 0.6924 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.2086, allocations: 145.1 kB / 0.6925 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2086, allocations: 0 / 0.6925 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2086, allocations: 0 / 0.6925 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2086, allocations: 0 / 0.6925 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.2092, allocations: 0.6871 MB / 0.6932 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2092, allocations: 7.922 kB / 0.6932 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.2093, allocations: 12.03 kB / 0.6932 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2093, allocations: 3.938 kB / 0.6932 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2093, allocations: 3.984 kB / 0.6932 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2093, allocations: 4 kB / 0.6932 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2093, allocations: 0 / 0.6932 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.2102, allocations: 1.059 MB / 0.6942 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.2104, allocations: 191.1 kB / 0.6944 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.2105, allocations: 7.984 kB / 0.6944 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2107, allocations: 4 kB / 0.6944 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.2107, allocations: 7.984 kB / 0.6944 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.2108, allocations: 11.98 kB / 0.6944 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001087/0.2119, allocations: 1.104 MB / 0.6955 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2119, allocations: 0 / 0.6955 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001051/0.2129, allocations: 443.8 kB / 0.696 GB, free: 4.918 MB / 0.5294 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.00111/0.2141, allocations: 474.8 kB / 0.6964 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.2163, allocations: 2.652 MB / 0.699 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2163, allocations: 0 / 0.699 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.2166, allocations: 335.8 kB / 0.6993 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.217, allocations: 50.48 kB / 0.6994 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.2198, allocations: 2.624 MB / 0.7019 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.2205, allocations: 1.149 MB / 0.703 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2206, allocations: 23.42 kB / 0.7031 GB, free: 13.53 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.2206, allocations: 0 / 0.7031 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.02412/0.2447, allocations: 15.05 MB / 0.7178 GB, free: 14.48 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)