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.001491/0.001491, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001537/0.001537, allocations: 196.3 kB / 16.91 MB, free: 6.195 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 122.9 MB / 413.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.44 kB / 0.4906 GB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 77.94 MB / 0.5667 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003326/0.161, allocations: 1.481 MB / 0.5682 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00854/0.1695, allocations: 4.212 MB / 0.5723 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.1696, allocations: 4 kB / 0.5723 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.1698, allocations: 7.922 kB / 0.5723 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.1701, allocations: 27.84 kB / 0.5723 GB, free: 10.79 MB / 446.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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.174, allocations: 1.35 MB / 0.5737 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1741, allocations: 91.73 kB / 0.5737 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.1742, allocations: 4 kB / 0.5737 GB, free: 9.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.1742, allocations: 55.77 kB / 0.5738 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1745, allocations: 156.9 kB / 0.574 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.1745, allocations: 12 kB / 0.574 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.1774, allocations: 2.2 MB / 0.5761 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1776, allocations: 267.8 kB / 0.5764 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.1778, allocations: 282.3 kB / 0.5766 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.1802, allocations: 2.116 MB / 0.5787 GB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1802, allocations: 0 / 0.5787 GB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1802, allocations: 4 kB / 0.5787 GB, free: 4.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1802, allocations: 4 kB / 0.5787 GB, free: 4.258 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.009101/0.1893, allocations: 1.289 MB / 0.58 GB, free: 2.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1894, allocations: 12.03 kB / 0.58 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.1898, allocations: 87.67 kB / 0.5801 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.1902, allocations: 357 kB / 0.5804 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1902, allocations: 12.38 kB / 0.5804 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1903, allocations: 8.359 kB / 0.5804 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.1907, allocations: 395.4 kB / 0.5808 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1907, allocations: 0 / 0.5808 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1908, allocations: 7.938 kB / 0.5808 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1908, allocations: 0 / 0.5808 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1912, allocations: 435.7 kB / 0.5812 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.1919, allocations: 0.6366 MB / 0.5818 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.1925, allocations: 0.5632 MB / 0.5824 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2351/0.4276, allocations: 330 kB / 0.5827 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/0.4286, allocations: 1.029 MB / 0.5837 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.4291, allocations: 408.7 kB / 0.5841 GB, free: 21.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.4292, allocations: 0.9688 kB / 0.5841 GB, free: 21.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001803/0.431, allocations: 1.291 MB / 0.5854 GB, free: 21.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.431, allocations: 84.19 kB / 0.5854 GB, free: 21.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4323, allocations: 1.211 MB / 0.5866 GB, free: 21.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.4324, allocations: 31.45 kB / 0.5867 GB, free: 21.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.4326, allocations: 261.8 kB / 0.5869 GB, free: 21.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.4326, allocations: 23.02 kB / 0.5869 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.4331, allocations: 353.8 kB / 0.5873 GB, free: 21.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.4331, allocations: 313.4 kB / 0.5876 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.4345, allocations: 1.37 MB / 0.5889 GB, free: 20.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.4359, allocations: 1.508 MB / 0.5904 GB, free: 20.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007277/0.4432, allocations: 3.555 MB / 0.5938 GB, free: 18.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4432, allocations: 7.594 kB / 0.5939 GB, free: 18.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004354/0.4476, allocations: 4.003 MB / 0.5978 GB, free: 16.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4476, allocations: 7.406 kB / 0.5978 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4477, allocations: 5.656 kB / 0.5978 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4477, allocations: 1.5 kB / 0.5978 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4478, allocations: 16.28 kB / 0.5978 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4478, allocations: 1.703 kB / 0.5978 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.4483, allocations: 230 kB / 0.598 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.4484, allocations: 29.75 kB / 0.598 GB, free: 16.07 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.0002913/0.4487, allocations: 248.2 kB / 0.5983 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.4488, allocations: 64.44 kB / 0.5983 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.449, allocations: 76.27 kB / 0.5984 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4491, allocations: 7.344 kB / 0.5984 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4491, allocations: 0 / 0.5984 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.4491, allocations: 6.297 kB / 0.5984 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.4495, allocations: 0.4934 MB / 0.5989 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4495, allocations: 2.234 kB / 0.5989 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.4496, allocations: 11.83 kB / 0.5989 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4496, allocations: 0 / 0.5989 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4496, allocations: 8.562 kB / 0.5989 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4496, allocations: 0 / 0.5989 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4496, allocations: 1.469 kB / 0.5989 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.4505, allocations: 0.9977 MB / 0.5999 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.4506, allocations: 154.5 kB / 0.6001 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.4507, allocations: 2.781 kB / 0.6001 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4509, allocations: 5.094 kB / 0.6001 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4509, allocations: 9.594 kB / 0.6001 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.4509, allocations: 12.92 kB / 0.6001 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006928/0.4516, allocations: 0.6702 MB / 0.6007 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4516, allocations: 0 / 0.6007 GB, free: 15.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001371/0.453, allocations: 0.5799 MB / 0.6013 GB, free: 15 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.001708/0.4547, allocations: 0.6859 MB / 0.602 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.4572, allocations: 2.551 MB / 0.6045 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4572, allocations: 1.156 kB / 0.6045 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.4576, allocations: 342 kB / 0.6048 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.458, allocations: 47.58 kB / 0.6048 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.4605, allocations: 1.929 MB / 0.6067 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.461, allocations: 0.9644 MB / 0.6077 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.4612, allocations: 33.45 kB / 0.6077 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4613, allocations: 27.3 kB / 0.6077 GB, free: 12.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4613, allocations: 0.9062 kB / 0.6077 GB, free: 12.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01925/0.4806, allocations: 13.54 MB / 0.6209 GB, free: 4.066 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)