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.001276/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001284/0.001284, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.946/0.946, allocations: 143 MB / 433.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.5137 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 82.03 MB / 0.5938 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002713/0.1422, allocations: 1.82 MB / 0.5956 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006854/0.1491, allocations: 5.388 MB / 0.6009 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.1492, allocations: 7.938 kB / 0.6009 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.1502, allocations: 350.6 kB / 0.6012 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1503, allocations: 67.72 kB / 0.6013 GB, free: 2.164 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‘. [/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.003364/0.1537, allocations: 1.33 MB / 0.6026 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1539, allocations: 155.4 kB / 0.6027 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1539, allocations: 13.55 kB / 0.6027 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.154, allocations: 67.7 kB / 0.6028 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1542, allocations: 176.8 kB / 0.603 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.1543, allocations: 16 kB / 0.603 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2437/0.398, allocations: 2.194 MB / 0.6051 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3982, allocations: 277.2 kB / 0.6054 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3984, allocations: 304.4 kB / 0.6057 GB, free: 37.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.4005, allocations: 2.19 MB / 0.6078 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4005, allocations: 0 / 0.6078 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4005, allocations: 0.5 kB / 0.6078 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.4006, allocations: 0.5625 kB / 0.6078 GB, free: 37.17 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.008931/0.4095, allocations: 1.374 MB / 0.6092 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4095, allocations: 8.375 kB / 0.6092 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.4099, allocations: 98.02 kB / 0.6093 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.4103, allocations: 412.4 kB / 0.6097 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.4103, allocations: 3.219 kB / 0.6097 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4103, allocations: 9.469 kB / 0.6097 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.4106, allocations: 389.4 kB / 0.61 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4107, allocations: 4.969 kB / 0.61 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4107, allocations: 3.125 kB / 0.6101 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4107, allocations: 2.688 kB / 0.6101 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.411, allocations: 436.8 kB / 0.6105 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.4115, allocations: 0.6651 MB / 0.6111 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.4118, allocations: 0.5617 MB / 0.6117 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.4121, allocations: 341.3 kB / 0.612 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/0.4128, allocations: 1.025 MB / 0.613 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.4131, allocations: 414.8 kB / 0.6134 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4131, allocations: 0 / 0.6134 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009748/0.4141, allocations: 1.294 MB / 0.6147 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.4141, allocations: 84.75 kB / 0.6147 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.415, allocations: 1.296 MB / 0.616 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4151, allocations: 26.92 kB / 0.616 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4152, allocations: 285.6 kB / 0.6163 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.4153, allocations: 17.38 kB / 0.6163 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.4155, allocations: 352.7 kB / 0.6166 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.4156, allocations: 322.6 kB / 0.617 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/0.4165, allocations: 1.372 MB / 0.6183 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009585/0.4174, allocations: 1.503 MB / 0.6198 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/0.4235, allocations: 3.558 MB / 0.6232 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4235, allocations: 0 / 0.6232 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003325/0.4269, allocations: 4.014 MB / 0.6272 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4269, allocations: 8 kB / 0.6272 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4269, allocations: 2.875 kB / 0.6272 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.427, allocations: 6.625 kB / 0.6272 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4271, allocations: 19.97 kB / 0.6272 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4271, allocations: 4 kB / 0.6272 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.4275, allocations: 231 kB / 0.6274 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.4276, allocations: 26.41 kB / 0.6274 GB, free: 29.29 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.0002424/0.4278, allocations: 247.1 kB / 0.6277 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.4279, allocations: 78.12 kB / 0.6278 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.4281, allocations: 84.64 kB / 0.6278 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4281, allocations: 2.781 kB / 0.6278 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4281, allocations: 0 / 0.6278 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4282, allocations: 0 / 0.6278 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.4285, allocations: 0.5142 MB / 0.6283 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4285, allocations: 1.656 kB / 0.6283 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.4286, allocations: 6.438 kB / 0.6283 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4286, allocations: 7.5 kB / 0.6284 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4286, allocations: 5.781 kB / 0.6284 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4286, allocations: 1.875 kB / 0.6284 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4286, allocations: 6.312 kB / 0.6284 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.4295, allocations: 1.005 MB / 0.6294 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.4296, allocations: 162.9 kB / 0.6295 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.4297, allocations: 4.859 kB / 0.6295 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4299, allocations: 8.812 kB / 0.6295 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.4299, allocations: 7.266 kB / 0.6295 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.43, allocations: 20.77 kB / 0.6295 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007729/0.4307, allocations: 0.719 MB / 0.6302 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4308, allocations: 0.8438 kB / 0.6302 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00172/0.4325, allocations: 0.5821 MB / 0.6308 GB, free: 28.11 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.001792/0.4343, allocations: 0.6906 MB / 0.6315 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.4364, allocations: 2.552 MB / 0.634 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4364, allocations: 0 / 0.634 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.4368, allocations: 342.5 kB / 0.6343 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.4373, allocations: 66.02 kB / 0.6344 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.4394, allocations: 2.065 MB / 0.6364 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4398, allocations: 0.9856 MB / 0.6374 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.44, allocations: 42.28 kB / 0.6374 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4401, allocations: 28.08 kB / 0.6374 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4401, allocations: 1.406 kB / 0.6374 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.02376/0.4639, allocations: 14.29 MB / 0.6514 GB, free: 24.5 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)