Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 93.66 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 179.3 kB / 16.92 MB, free: 6.676 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7008/0.7008, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.000324, allocations: 12 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1468, allocations: 77.52 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001557/0.1484, allocations: 1.148 MB / 0.5611 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00701/0.1555, allocations: 4.369 MB / 0.5654 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.1556, allocations: 3.938 kB / 0.5654 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1557, allocations: 3.938 kB / 0.5654 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.156, allocations: 31.83 kB / 0.5654 GB, free: 3.359 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.1597, allocations: 1.193 MB / 0.5666 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1599, allocations: 119.7 kB / 0.5667 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.1599, allocations: 11.94 kB / 0.5667 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.16, allocations: 47.77 kB / 0.5667 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1603, allocations: 157 kB / 0.5669 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.1603, allocations: 16 kB / 0.5669 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.1643, allocations: 2.18 MB / 0.569 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.1646, allocations: 271.8 kB / 0.5693 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.1649, allocations: 308 kB / 0.5696 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003705/0.1686, allocations: 2.151 MB / 0.5717 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1687, allocations: 0 / 0.5717 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1687, allocations: 0 / 0.5717 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1687, allocations: 0 / 0.5717 GB, free: 12.91 MB / 446.1 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.01089/0.1796, allocations: 1.253 MB / 0.5729 GB, free: 11.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1796, allocations: 8.031 kB / 0.5729 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.1801, allocations: 91.69 kB / 0.573 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.1805, allocations: 353 kB / 0.5733 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1805, allocations: 12.36 kB / 0.5734 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.1806, allocations: 4.375 kB / 0.5734 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.1811, allocations: 391.4 kB / 0.5737 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1811, allocations: 0 / 0.5737 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1811, allocations: 0 / 0.5737 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1811, allocations: 4 kB / 0.5737 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1816, allocations: 435.7 kB / 0.5742 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.1823, allocations: 0.6443 MB / 0.5748 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.1828, allocations: 0.5633 MB / 0.5753 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.1832, allocations: 337.7 kB / 0.5757 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.1842, allocations: 1.036 MB / 0.5767 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.1847, allocations: 412.8 kB / 0.5771 GB, free: 6.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.1847, allocations: 0 / 0.5771 GB, free: 6.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001406/0.1861, allocations: 1.285 MB / 0.5783 GB, free: 5.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1862, allocations: 89.2 kB / 0.5784 GB, free: 5.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.1875, allocations: 1.214 MB / 0.5796 GB, free: 4.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.1876, allocations: 33.7 kB / 0.5796 GB, free: 4.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1878, allocations: 253.4 kB / 0.5799 GB, free: 4.055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1878, allocations: 27.64 kB / 0.5799 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.1881, allocations: 291.7 kB / 0.5802 GB, free: 3.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1882, allocations: 310 kB / 0.5805 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.1895, allocations: 1.373 MB / 0.5818 GB, free: 2.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.191, allocations: 1.509 MB / 0.5833 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2617/0.4527, allocations: 3.554 MB / 0.5867 GB, free: 28.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/0.4528, allocations: 0 / 0.5867 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004609/0.4574, allocations: 4.005 MB / 0.5907 GB, free: 27.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4574, allocations: 5.594 kB / 0.5907 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4574, allocations: 2.719 kB / 0.5907 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4575, allocations: 3.203 kB / 0.5907 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.4576, allocations: 17.52 kB / 0.5907 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4576, allocations: 2.516 kB / 0.5907 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.4581, allocations: 231.7 kB / 0.5909 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.4582, allocations: 25.05 kB / 0.5909 GB, free: 27.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003333/0.4585, allocations: 242 kB / 0.5912 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.4586, allocations: 68.36 kB / 0.5912 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.4589, allocations: 75.67 kB / 0.5913 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4589, allocations: 2.156 kB / 0.5913 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4589, allocations: 0 / 0.5913 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4589, allocations: 1.859 kB / 0.5913 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.4594, allocations: 0.4969 MB / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4594, allocations: 0.8125 kB / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.4595, allocations: 10.45 kB / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4595, allocations: 3.625 kB / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4595, allocations: 3.281 kB / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4595, allocations: 1.562 kB / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4595, allocations: 0 / 0.5918 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4607, allocations: 1.007 MB / 0.5928 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4608, allocations: 150.5 kB / 0.5929 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.4609, allocations: 6.703 kB / 0.5929 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.4611, allocations: 6.859 kB / 0.5929 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.4611, allocations: 12.05 kB / 0.593 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.4612, allocations: 13.75 kB / 0.593 GB, free: 26.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009157/0.4621, allocations: 0.6771 MB / 0.5936 GB, free: 26 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4621, allocations: 0 / 0.5936 GB, free: 26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001622/0.4637, allocations: 0.5801 MB / 0.5942 GB, free: 25.98 MB / 446.1 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.002163/0.4659, allocations: 0.6931 MB / 0.5949 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.4685, allocations: 2.551 MB / 0.5974 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4685, allocations: 0 / 0.5974 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.4689, allocations: 344 kB / 0.5977 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.4693, allocations: 35.84 kB / 0.5977 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.4716, allocations: 1.938 MB / 0.5996 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.4721, allocations: 0.9691 MB / 0.6006 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.4723, allocations: 34.05 kB / 0.6006 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4724, allocations: 25.67 kB / 0.6006 GB, free: 23.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4724, allocations: 0 / 0.6006 GB, free: 23.34 MB / 446.1 MB Notification: Performance of Templates: time 0.02381/0.4962, allocations: 13.18 MB / 0.6135 GB, free: 18.88 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)