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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00102/0.00102, allocations: 191 kB / 17.29 MB, free: 5.516 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 14.98 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.8104/0.8104, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.09 kB / 0.5156 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002388/0.3161, allocations: 1.752 MB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.3214, allocations: 5.402 MB / 0.6027 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.3215, allocations: 3.938 kB / 0.6027 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3225, allocations: 373.8 kB / 0.6031 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.3226, allocations: 55.67 kB / 0.6031 GB, free: 8.555 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.002749/0.3254, allocations: 1.496 MB / 0.6046 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3256, allocations: 159.4 kB / 0.6047 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.3256, allocations: 10.25 kB / 0.6048 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.557e-05/0.3257, allocations: 63.7 kB / 0.6048 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3259, allocations: 169 kB / 0.605 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.3259, allocations: 12 kB / 0.605 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3283, allocations: 2.209 MB / 0.6071 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.3285, allocations: 283.8 kB / 0.6074 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3287, allocations: 306.1 kB / 0.6077 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.3304, allocations: 2.18 MB / 0.6098 GB, free: 1.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3304, allocations: 0 / 0.6098 GB, free: 1.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3305, allocations: 3.062 kB / 0.6098 GB, free: 1.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.3305, allocations: 0 / 0.6098 GB, free: 1.688 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.008013/0.3385, allocations: 1.37 MB / 0.6112 GB, free: 272 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3385, allocations: 12.03 kB / 0.6112 GB, free: 260 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.3389, allocations: 92.94 kB / 0.6113 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.3395, allocations: 406.2 kB / 0.6117 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3395, allocations: 13.62 kB / 0.6117 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.3395, allocations: 4.375 kB / 0.6117 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.34, allocations: 392.4 kB / 0.6121 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.34, allocations: 1.406 kB / 0.6121 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.34, allocations: 0 / 0.6121 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.34, allocations: 4 kB / 0.6121 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.3404, allocations: 433.1 kB / 0.6125 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.3411, allocations: 0.6667 MB / 0.6131 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.3416, allocations: 0.5608 MB / 0.6137 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.3419, allocations: 347 kB / 0.614 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009957/0.3429, allocations: 1.025 MB / 0.615 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.3433, allocations: 423.3 kB / 0.6154 GB, free: 11.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3433, allocations: 0 / 0.6154 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.001308/0.3446, allocations: 1.295 MB / 0.6167 GB, free: 10.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3447, allocations: 81.11 kB / 0.6168 GB, free: 10.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3458, allocations: 1.295 MB / 0.618 GB, free: 8.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3459, allocations: 37.69 kB / 0.6181 GB, free: 8.824 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3461, allocations: 282.8 kB / 0.6183 GB, free: 8.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3461, allocations: 19.8 kB / 0.6183 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3464, allocations: 347.6 kB / 0.6187 GB, free: 8.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3465, allocations: 323.4 kB / 0.619 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3477, allocations: 1.373 MB / 0.6203 GB, free: 6.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3489, allocations: 1.508 MB / 0.6218 GB, free: 4.969 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00665/0.3556, allocations: 3.558 MB / 0.6253 GB, free: 1.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3556, allocations: 0 / 0.6253 GB, free: 1.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003842/0.3595, allocations: 4.02 MB / 0.6292 GB, free: 13.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3595, allocations: 4 kB / 0.6292 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.3595, allocations: 4 kB / 0.6292 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3595, allocations: 3.984 kB / 0.6292 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3597, allocations: 13.81 kB / 0.6292 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3597, allocations: 0 / 0.6292 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.3601, allocations: 236.3 kB / 0.6294 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.3602, allocations: 24.7 kB / 0.6295 GB, free: 12.98 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.0002902/0.3605, allocations: 247.7 kB / 0.6297 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.3605, allocations: 74.62 kB / 0.6298 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3608, allocations: 84.09 kB / 0.6299 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3608, allocations: 4.609 kB / 0.6299 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3608, allocations: 0.5 kB / 0.6299 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3608, allocations: 0 / 0.6299 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.3612, allocations: 0.5148 MB / 0.6304 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3612, allocations: 3.938 kB / 0.6304 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.3613, allocations: 17.64 kB / 0.6304 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3613, allocations: 3.938 kB / 0.6304 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3613, allocations: 0 / 0.6304 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3613, allocations: 7.984 kB / 0.6304 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3614, allocations: 0.8125 kB / 0.6304 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.3622, allocations: 1 MB / 0.6314 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3623, allocations: 163.7 kB / 0.6315 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.3624, allocations: 8.891 kB / 0.6315 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3625, allocations: 1 kB / 0.6315 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.3626, allocations: 7.984 kB / 0.6315 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.3626, allocations: 16.64 kB / 0.6316 GB, free: 10.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006978/0.3633, allocations: 0.7304 MB / 0.6323 GB, free: 10.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3633, allocations: 0.875 kB / 0.6323 GB, free: 10.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001367/0.3647, allocations: 0.5818 MB / 0.6328 GB, free: 9.434 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.001516/0.3662, allocations: 0.6883 MB / 0.6335 GB, free: 8.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3683, allocations: 2.553 MB / 0.636 GB, free: 6.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3683, allocations: 0.9062 kB / 0.636 GB, free: 6.203 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.3686, allocations: 340.3 kB / 0.6363 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3689, allocations: 54.83 kB / 0.6364 GB, free: 5.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3709, allocations: 1.866 MB / 0.6382 GB, free: 3.934 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.3714, allocations: 0.9949 MB / 0.6392 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3715, allocations: 41.38 kB / 0.6392 GB, free: 2.883 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.3716, allocations: 27.42 kB / 0.6392 GB, free: 2.855 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3716, allocations: 0 / 0.6392 GB, free: 2.855 MB / 478.1 MB Notification: Performance of Templates: time 0.02096/0.3926, allocations: 14.3 MB / 0.6532 GB, free: 4.621 MB / 494.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)