Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001242/0.001242, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001251/0.001251, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7809/0.7809, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.89 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2736, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00187/0.2755, allocations: 1.42 MB / 0.5971 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.2796, allocations: 4.205 MB / 0.6012 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.2797, allocations: 4 kB / 0.6012 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.2798, allocations: 16.95 kB / 0.6013 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2799, allocations: 27.78 kB / 0.6013 GB, free: 10.48 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/BuildSysPro 3.6.0/IBPSA/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.002392/0.2823, allocations: 1.513 MB / 0.6028 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.2825, allocations: 91.69 kB / 0.6029 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.2825, allocations: 8.547 kB / 0.6029 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.2825, allocations: 43.89 kB / 0.6029 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2827, allocations: 149.2 kB / 0.603 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.2827, allocations: 12 kB / 0.6031 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.2847, allocations: 2.205 MB / 0.6052 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2848, allocations: 275.8 kB / 0.6055 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2849, allocations: 270.3 kB / 0.6057 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.2865, allocations: 2.112 MB / 0.6078 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2865, allocations: 0 / 0.6078 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2865, allocations: 3.984 kB / 0.6078 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2865, allocations: 1.375 kB / 0.6078 GB, free: 3.824 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.007283/0.2938, allocations: 1.3 MB / 0.6091 GB, free: 2.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.2938, allocations: 8.844 kB / 0.6091 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.2941, allocations: 89.19 kB / 0.6092 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.2944, allocations: 369 kB / 0.6095 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2945, allocations: 5.312 kB / 0.6095 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.2945, allocations: 16.3 kB / 0.6095 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2948, allocations: 388.6 kB / 0.6099 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2948, allocations: 1.5 kB / 0.6099 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2948, allocations: 0 / 0.6099 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2948, allocations: 0 / 0.6099 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.2951, allocations: 436.5 kB / 0.6103 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.2955, allocations: 0.6378 MB / 0.6109 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.2958, allocations: 0.562 MB / 0.6115 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.2961, allocations: 329.7 kB / 0.6118 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000872/0.297, allocations: 1.031 MB / 0.6128 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.2974, allocations: 410.2 kB / 0.6132 GB, free: 13.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2974, allocations: 1.375 kB / 0.6132 GB, free: 13.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.001162/0.2985, allocations: 1.29 MB / 0.6145 GB, free: 12.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2986, allocations: 78.42 kB / 0.6145 GB, free: 12.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2996, allocations: 1.218 MB / 0.6157 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.2997, allocations: 33.7 kB / 0.6158 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.2998, allocations: 262.3 kB / 0.616 GB, free: 10.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2999, allocations: 27.72 kB / 0.616 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.3001, allocations: 348.7 kB / 0.6164 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.3002, allocations: 314 kB / 0.6167 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3013, allocations: 1.371 MB / 0.618 GB, free: 8.891 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3025, allocations: 1.508 MB / 0.6195 GB, free: 7.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006544/0.3091, allocations: 3.562 MB / 0.623 GB, free: 3.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3091, allocations: 3.938 kB / 0.623 GB, free: 3.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003746/0.3128, allocations: 4.004 MB / 0.6269 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3129, allocations: 5.281 kB / 0.6269 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3129, allocations: 4 kB / 0.6269 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3129, allocations: 0 / 0.6269 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.313, allocations: 17.42 kB / 0.6269 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.313, allocations: 0 / 0.6269 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.3134, allocations: 236.3 kB / 0.6271 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.3135, allocations: 20.7 kB / 0.6271 GB, free: 15.4 MB / 478.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.0002741/0.3138, allocations: 244.2 kB / 0.6274 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3138, allocations: 66.72 kB / 0.6274 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.3141, allocations: 75.28 kB / 0.6275 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3141, allocations: 0 / 0.6275 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3142, allocations: 4.5 kB / 0.6275 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3142, allocations: 4.516 kB / 0.6275 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.3146, allocations: 498.2 kB / 0.628 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3146, allocations: 0 / 0.628 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.3147, allocations: 15.92 kB / 0.628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3147, allocations: 1.719 kB / 0.628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3147, allocations: 12 kB / 0.628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3147, allocations: 3.938 kB / 0.628 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3147, allocations: 0 / 0.628 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.3155, allocations: 0.9999 MB / 0.629 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.3156, allocations: 159.7 kB / 0.6292 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.3157, allocations: 1.25 kB / 0.6292 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3158, allocations: 7.984 kB / 0.6292 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3159, allocations: 8.75 kB / 0.6292 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.3159, allocations: 16.59 kB / 0.6292 GB, free: 13.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.3166, allocations: 0.6689 MB / 0.6298 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3166, allocations: 0.9062 kB / 0.6298 GB, free: 12.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00126/0.3179, allocations: 0.5778 MB / 0.6304 GB, free: 11.96 MB / 478.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.001482/0.3193, allocations: 0.6976 MB / 0.6311 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.3214, allocations: 2.549 MB / 0.6336 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3214, allocations: 0.5938 kB / 0.6336 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.3217, allocations: 337.3 kB / 0.6339 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.322, allocations: 41.28 kB / 0.6339 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3238, allocations: 1.753 MB / 0.6357 GB, free: 6.586 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3243, allocations: 0.964 MB / 0.6366 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.3244, allocations: 38.72 kB / 0.6366 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.3245, allocations: 27.41 kB / 0.6367 GB, free: 5.539 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3245, allocations: 0 / 0.6367 GB, free: 5.539 MB / 478.1 MB Notification: Performance of Templates: time 0.4166/0.7412, allocations: 13.67 MB / 0.65 GB, free: 7.922 MB / 494.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)