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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.001095/0.001095, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008773/0.008773, allocations: 172 kB / 16.26 MB, free: 6.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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.018/1.018, allocations: 143.4 MB / 434.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002935, allocations: 12 kB / 0.5167 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 83.41 MB / 0.5981 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001725/0.1482, allocations: 1.466 MB / 0.5996 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007484/0.1557, allocations: 5.545 MB / 0.605 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.1558, allocations: 0 / 0.605 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1568, allocations: 350.6 kB / 0.6053 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.2511/0.4079, allocations: 54.25 kB / 0.6054 GB, free: 35.58 MB / 0.4981 GB [/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.003/0.411, allocations: 1.178 MB / 0.6065 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.4112, allocations: 202.6 kB / 0.6067 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.4113, allocations: 8.453 kB / 0.6067 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.4113, allocations: 59.77 kB / 0.6068 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.4115, allocations: 180.7 kB / 0.607 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.4116, allocations: 15.25 kB / 0.607 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.4139, allocations: 2.187 MB / 0.6091 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.4141, allocations: 278.5 kB / 0.6094 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.4143, allocations: 333.7 kB / 0.6097 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.4162, allocations: 2.22 MB / 0.6119 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4162, allocations: 2.812 kB / 0.6119 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4162, allocations: 0 / 0.6119 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4162, allocations: 0 / 0.6119 GB, free: 35.06 MB / 0.4981 GB 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.01042/0.4266, allocations: 1.311 MB / 0.6131 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4267, allocations: 11.16 kB / 0.6132 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.427, allocations: 93.02 kB / 0.6132 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.4274, allocations: 411.8 kB / 0.6136 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4274, allocations: 7.094 kB / 0.6136 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.4275, allocations: 6.156 kB / 0.6136 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.4278, allocations: 390.9 kB / 0.614 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4278, allocations: 3.938 kB / 0.614 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4278, allocations: 10.52 kB / 0.614 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4278, allocations: 4 kB / 0.614 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.4282, allocations: 432.8 kB / 0.6144 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4286, allocations: 0.6628 MB / 0.6151 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.429, allocations: 0.5608 MB / 0.6156 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.4293, allocations: 341 kB / 0.616 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/0.43, allocations: 1.038 MB / 0.617 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.4303, allocations: 410.7 kB / 0.6174 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.4303, allocations: 0 / 0.6174 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001032/0.4314, allocations: 1.299 MB / 0.6186 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4314, allocations: 87.38 kB / 0.6187 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/0.4324, allocations: 1.285 MB / 0.62 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4324, allocations: 31.02 kB / 0.62 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.4326, allocations: 284.4 kB / 0.6203 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.4326, allocations: 22.31 kB / 0.6203 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.4329, allocations: 294.9 kB / 0.6206 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.4329, allocations: 317.9 kB / 0.6209 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009892/0.4339, allocations: 1.374 MB / 0.6222 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.435, allocations: 1.505 MB / 0.6237 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006446/0.4414, allocations: 3.56 MB / 0.6272 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4414, allocations: 0 / 0.6272 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003402/0.4448, allocations: 4.01 MB / 0.6311 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4449, allocations: 9.406 kB / 0.6311 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4449, allocations: 2.281 kB / 0.6311 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4449, allocations: 4.406 kB / 0.6311 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.445, allocations: 17.72 kB / 0.6311 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.4451, allocations: 1.031 kB / 0.6311 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.4455, allocations: 230.7 kB / 0.6313 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.4456, allocations: 25.61 kB / 0.6314 GB, free: 27.94 MB / 0.4981 GB 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.0002721/0.4459, allocations: 251.9 kB / 0.6316 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.4459, allocations: 74.44 kB / 0.6317 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.4462, allocations: 86.94 kB / 0.6318 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4462, allocations: 0 / 0.6318 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4462, allocations: 1.703 kB / 0.6318 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4462, allocations: 6.719 kB / 0.6318 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.4468, allocations: 0.5135 MB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4468, allocations: 1 kB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.4469, allocations: 8.25 kB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4469, allocations: 4.719 kB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4469, allocations: 4.844 kB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4469, allocations: 5.156 kB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4469, allocations: 3.656 kB / 0.6323 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.4481, allocations: 1.006 MB / 0.6333 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4482, allocations: 162.6 kB / 0.6334 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.4483, allocations: 2.438 kB / 0.6334 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.4485, allocations: 3.281 kB / 0.6334 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.4485, allocations: 10.86 kB / 0.6335 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.4486, allocations: 21.06 kB / 0.6335 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008498/0.4494, allocations: 0.7246 MB / 0.6342 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4494, allocations: 0 / 0.6342 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002003/0.4515, allocations: 0.5876 MB / 0.6348 GB, free: 26.76 MB / 0.4981 GB 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.001859/0.4533, allocations: 0.6905 MB / 0.6354 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.4558, allocations: 2.544 MB / 0.6379 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4558, allocations: 4.062 kB / 0.6379 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.4562, allocations: 340.8 kB / 0.6382 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.4567, allocations: 56.16 kB / 0.6383 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.4589, allocations: 2.096 MB / 0.6403 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4594, allocations: 0.9876 MB / 0.6413 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.4596, allocations: 39.97 kB / 0.6413 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4597, allocations: 25.89 kB / 0.6414 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4597, allocations: 4 kB / 0.6414 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.02513/0.4848, allocations: 13.9 MB / 0.6549 GB, free: 23.11 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)