Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8968/0.8968, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 192.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 107.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 282.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 79.88 kB / 0.6886 GB, free: 3.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.339, allocations: 81.28 MB / 0.768 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002352/0.3414, allocations: 1.478 MB / 0.7694 GB, free: 26.19 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.3452, allocations: 3.227 MB / 0.7726 GB, free: 22.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.3453, allocations: 3.938 kB / 0.7726 GB, free: 22.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3454, allocations: 11.92 kB / 0.7726 GB, free: 22.94 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3456, allocations: 19.91 kB / 0.7726 GB, free: 22.92 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.3472, allocations: 0.7686 MB / 0.7733 GB, free: 22.15 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.3473, allocations: 111.7 kB / 0.7734 GB, free: 22.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.3473, allocations: 4 kB / 0.7734 GB, free: 22.04 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.769e-05/0.3474, allocations: 35.91 kB / 0.7735 GB, free: 22 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.3476, allocations: 224.9 kB / 0.7737 GB, free: 21.78 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.3476, allocations: 12 kB / 0.7737 GB, free: 21.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.3492, allocations: 1.4 MB / 0.7751 GB, free: 20.37 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.3496, allocations: 0.6835 MB / 0.7757 GB, free: 19.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.3499, allocations: 437 kB / 0.7762 GB, free: 19.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3512, allocations: 1.774 MB / 0.7779 GB, free: 17.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3512, allocations: 4 kB / 0.7779 GB, free: 17.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3512, allocations: 0 / 0.7779 GB, free: 17.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3513, allocations: 0 / 0.7779 GB, free: 17.47 MB / 458.7 MB 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.009964/0.3612, allocations: 1.69 MB / 0.7795 GB, free: 15.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3613, allocations: 8.031 kB / 0.7796 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.3616, allocations: 147 kB / 0.7797 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.3621, allocations: 0.5211 MB / 0.7802 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3621, allocations: 8.375 kB / 0.7802 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.3621, allocations: 4.375 kB / 0.7802 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.3625, allocations: 395.4 kB / 0.7806 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3625, allocations: 0 / 0.7806 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3625, allocations: 4 kB / 0.7806 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3625, allocations: 0 / 0.7806 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3628, allocations: 439.7 kB / 0.781 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.3633, allocations: 0.8073 MB / 0.7818 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.3637, allocations: 0.5633 MB / 0.7824 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3639, allocations: 337.7 kB / 0.7827 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.3646, allocations: 1.025 MB / 0.7837 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.3649, allocations: 416.8 kB / 0.7841 GB, free: 10.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3649, allocations: 0 / 0.7841 GB, free: 10.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009487/0.3659, allocations: 1.339 MB / 0.7854 GB, free: 9.324 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3659, allocations: 85.22 kB / 0.7855 GB, free: 9.223 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3672, allocations: 1.846 MB / 0.7873 GB, free: 7.328 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3672, allocations: 29.7 kB / 0.7873 GB, free: 7.293 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.3674, allocations: 473.3 kB / 0.7877 GB, free: 6.824 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.3674, allocations: 23.7 kB / 0.7878 GB, free: 6.801 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.3677, allocations: 343.6 kB / 0.7881 GB, free: 6.461 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.3677, allocations: 305.1 kB / 0.7884 GB, free: 6.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.3686, allocations: 1.514 MB / 0.7899 GB, free: 4.645 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.3696, allocations: 1.646 MB / 0.7915 GB, free: 2.988 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/0.3757, allocations: 3.69 MB / 0.7951 GB, free: 15.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3758, allocations: 0 / 0.7951 GB, free: 15.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004281/0.38, allocations: 4.327 MB / 0.7993 GB, free: 10.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3801, allocations: 4 kB / 0.7993 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3801, allocations: 320 / 0.7993 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3801, allocations: 4 kB / 0.7993 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.3803, allocations: 19.92 kB / 0.7993 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3803, allocations: 0 / 0.7993 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.3809, allocations: 224.3 kB / 0.7995 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.3809, allocations: 35.95 kB / 0.7996 GB, free: 10.56 MB / 474.7 MB 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.0005055/0.3815, allocations: 365.6 kB / 0.7999 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.3816, allocations: 126 kB / 0.8 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.3819, allocations: 149 kB / 0.8002 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3819, allocations: 0 / 0.8002 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3819, allocations: 7.938 kB / 0.8002 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3819, allocations: 0 / 0.8002 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.3825, allocations: 0.6833 MB / 0.8009 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3825, allocations: 0 / 0.8009 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.3826, allocations: 7.938 kB / 0.8009 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3826, allocations: 4 kB / 0.8009 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3826, allocations: 3.984 kB / 0.8009 GB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3826, allocations: 0 / 0.8009 GB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3826, allocations: 0 / 0.8009 GB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3843, allocations: 2.438 MB / 0.8033 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.3845, allocations: 195.1 kB / 0.8034 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.3846, allocations: 7.938 kB / 0.8035 GB, free: 6.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3848, allocations: 7.984 kB / 0.8035 GB, free: 6.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3848, allocations: 11.98 kB / 0.8035 GB, free: 6.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.3849, allocations: 15.98 kB / 0.8035 GB, free: 6.383 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.386, allocations: 1.101 MB / 0.8046 GB, free: 5.258 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.386, allocations: 0 / 0.8046 GB, free: 5.258 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001114/0.3871, allocations: 443.8 kB / 0.805 GB, free: 4.824 MB / 474.7 MB 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.001196/0.3883, allocations: 490.2 kB / 0.8055 GB, free: 4.336 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.3908, allocations: 2.648 MB / 0.808 GB, free: 1.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3909, allocations: 0 / 0.808 GB, free: 1.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3912, allocations: 343.7 kB / 0.8084 GB, free: 1.344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3916, allocations: 55.16 kB / 0.8084 GB, free: 1.289 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.3946, allocations: 2.967 MB / 0.8113 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.3953, allocations: 1.157 MB / 0.8124 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.3955, allocations: 36.56 kB / 0.8125 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.3956, allocations: 27.41 kB / 0.8125 GB, free: 13.04 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3956, allocations: 0 / 0.8125 GB, free: 13.04 MB / 490.7 MB Notification: Performance of Templates: time 0.0172/0.4128, allocations: 9.937 MB / 0.8222 GB, free: 3.137 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)