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.005347/0.005347, allocations: 98.47 kB / 15.73 MB, free: 6.07 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.001139/0.00114, allocations: 192.1 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8082/0.8082, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.47 kB / 0.5857 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1523, allocations: 80.92 MB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002339/0.1547, allocations: 1.401 MB / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004316/0.159, allocations: 3.03 MB / 0.669 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.1591, allocations: 0 / 0.669 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1592, allocations: 11.86 kB / 0.669 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1595, allocations: 31.84 kB / 0.6691 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.1618, allocations: 0.9901 MB / 0.67 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1619, allocations: 83.73 kB / 0.6701 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.162, allocations: 4 kB / 0.6701 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.162, allocations: 47.83 kB / 0.6702 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1623, allocations: 157.6 kB / 0.6703 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.1623, allocations: 15.98 kB / 0.6703 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.1643, allocations: 1.377 MB / 0.6717 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006365/0.165, allocations: 0.6836 MB / 0.6723 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.1653, allocations: 444.9 kB / 0.6728 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.1673, allocations: 1.801 MB / 0.6745 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1673, allocations: 0 / 0.6745 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1673, allocations: 0 / 0.6745 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.1673, allocations: 0 / 0.6745 GB, free: 11.65 MB / 0.5137 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.01025/0.1775, allocations: 1.742 MB / 0.6762 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1776, allocations: 16.03 kB / 0.6762 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.178, allocations: 151.8 kB / 0.6764 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.1785, allocations: 0.5336 MB / 0.6769 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1785, allocations: 4.359 kB / 0.6769 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1786, allocations: 15.94 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.179, allocations: 391.1 kB / 0.6773 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1791, allocations: 0 / 0.6773 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1791, allocations: 4 kB / 0.6773 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1791, allocations: 3.984 kB / 0.6773 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.1795, allocations: 431.8 kB / 0.6777 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.1803, allocations: 0.8079 MB / 0.6785 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.1808, allocations: 0.571 MB / 0.6791 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1811, allocations: 333.7 kB / 0.6794 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.1821, allocations: 1.032 MB / 0.6804 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004063/0.1826, allocations: 400.8 kB / 0.6808 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1826, allocations: 0 / 0.6808 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001341/0.1839, allocations: 1.359 MB / 0.6821 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.184, allocations: 81.11 kB / 0.6822 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.1858, allocations: 1.847 MB / 0.684 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.1858, allocations: 29.7 kB / 0.684 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.1862, allocations: 485.8 kB / 0.6845 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1862, allocations: 15.91 kB / 0.6845 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.1865, allocations: 351.5 kB / 0.6848 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1866, allocations: 305.2 kB / 0.6851 GB, free: 244 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.188, allocations: 1.514 MB / 0.6866 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.1894, allocations: 1.642 MB / 0.6882 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/0.1967, allocations: 3.694 MB / 0.6918 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1967, allocations: 7.938 kB / 0.6918 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00455/0.2013, allocations: 4.32 MB / 0.696 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2013, allocations: 4 kB / 0.696 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.2014, allocations: 4 kB / 0.696 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2014, allocations: 3.938 kB / 0.696 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2015, allocations: 19.98 kB / 0.6961 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2015, allocations: 0 / 0.6961 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.2021, allocations: 241.4 kB / 0.6963 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.2022, allocations: 27.97 kB / 0.6963 GB, free: 4.621 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.0004369/0.2026, allocations: 369.4 kB / 0.6967 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.2027, allocations: 126.9 kB / 0.6968 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.203, allocations: 149 kB / 0.6969 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2031, allocations: 0 / 0.6969 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2031, allocations: 4.031 kB / 0.6969 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2031, allocations: 0 / 0.6969 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.2037, allocations: 0.6832 MB / 0.6976 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2037, allocations: 0 / 0.6976 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.2038, allocations: 11.98 kB / 0.6976 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2038, allocations: 0 / 0.6976 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2038, allocations: 4 kB / 0.6976 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2038, allocations: 0 / 0.6976 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2038, allocations: 3.938 kB / 0.6976 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009617/0.2048, allocations: 1.072 MB / 0.6987 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.205, allocations: 204 kB / 0.6989 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.2051, allocations: 8 kB / 0.6989 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2053, allocations: 7.984 kB / 0.6989 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.2053, allocations: 4 kB / 0.6989 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.2053, allocations: 19.97 kB / 0.6989 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001176/0.2065, allocations: 1.101 MB / 0.7 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2065, allocations: 0 / 0.7 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001097/0.2076, allocations: 439.1 kB / 0.7004 GB, free: 304 kB / 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.001168/0.2088, allocations: 494.9 kB / 0.7009 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.2114, allocations: 2.659 MB / 0.7035 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2114, allocations: 0 / 0.7035 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.2117, allocations: 335.8 kB / 0.7038 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.2122, allocations: 60.56 kB / 0.7038 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.2151, allocations: 2.592 MB / 0.7064 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/0.2158, allocations: 1.157 MB / 0.7075 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.216, allocations: 32.56 kB / 0.7075 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2161, allocations: 31.41 kB / 0.7076 GB, free: 8.863 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.2161, allocations: 0 / 0.7076 GB, free: 8.863 MB / 0.545 GB Notification: Performance of Templates: time 0.01816/0.2343, allocations: 10.1 MB / 0.7174 GB, free: 14.79 MB / 0.5606 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)