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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001142/0.001143, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00135/0.00135, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9578/0.9578, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002992, allocations: 11.98 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1755, allocations: 83.41 MB / 0.5973 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002181/0.1777, allocations: 1.39 MB / 0.5987 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006959/0.1847, allocations: 4.875 MB / 0.6034 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1848, allocations: 0 / 0.6034 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.186, allocations: 346.8 kB / 0.6038 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1861, allocations: 55.89 kB / 0.6038 GB, free: 1.078 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.003186/0.1893, allocations: 1.072 MB / 0.6049 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2749/0.4642, allocations: 100.8 kB / 0.605 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.4643, allocations: 12.17 kB / 0.605 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4645, allocations: 60.52 kB / 0.605 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.4647, allocations: 163.2 kB / 0.6052 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.4647, allocations: 14.53 kB / 0.6052 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.4678, allocations: 1.867 MB / 0.607 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.468, allocations: 254.2 kB / 0.6073 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4681, allocations: 129.6 kB / 0.6074 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.47, allocations: 1.456 MB / 0.6088 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.47, allocations: 0.5625 kB / 0.6088 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.47, allocations: 1.156 kB / 0.6088 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.47, allocations: 0 / 0.6088 GB, free: 35.38 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.009858/0.4799, allocations: 1.314 MB / 0.6101 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4799, allocations: 9.719 kB / 0.6101 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.4803, allocations: 96.45 kB / 0.6102 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.4807, allocations: 400.4 kB / 0.6106 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4808, allocations: 7.188 kB / 0.6106 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.4808, allocations: 6.75 kB / 0.6106 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.4812, allocations: 393.5 kB / 0.611 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4812, allocations: 4.062 kB / 0.611 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4812, allocations: 1.625 kB / 0.611 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4812, allocations: 0 / 0.611 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.4816, allocations: 435.1 kB / 0.6114 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.4822, allocations: 0.6715 MB / 0.6121 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.4826, allocations: 0.563 MB / 0.6126 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/0.4834, allocations: 1.033 MB / 0.6136 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.4838, allocations: 410.7 kB / 0.614 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.4838, allocations: 1 kB / 0.614 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001129/0.4849, allocations: 1.297 MB / 0.6153 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.485, allocations: 78.86 kB / 0.6153 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.4861, allocations: 1.281 MB / 0.6166 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.4862, allocations: 32.3 kB / 0.6166 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4863, allocations: 285.2 kB / 0.6169 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.4864, allocations: 25.12 kB / 0.6169 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.4864, allocations: 3.25 kB / 0.6169 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4865, allocations: 422.3 kB / 0.6173 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.4876, allocations: 1.375 MB / 0.6187 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4888, allocations: 1.504 MB / 0.6201 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.4903, allocations: 1.911 MB / 0.622 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.4903, allocations: 7.281 kB / 0.622 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003639/0.4939, allocations: 3.986 MB / 0.6259 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.494, allocations: 6.438 kB / 0.6259 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.494, allocations: 0 / 0.6259 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.494, allocations: 5.406 kB / 0.6259 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4941, allocations: 20.83 kB / 0.6259 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4942, allocations: 3.172 kB / 0.6259 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.4947, allocations: 230.2 kB / 0.6262 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.4947, allocations: 24.36 kB / 0.6262 GB, free: 29.89 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.495, allocations: 252.4 kB / 0.6264 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.4951, allocations: 77.67 kB / 0.6265 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.4953, allocations: 85.25 kB / 0.6266 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4953, allocations: 3.562 kB / 0.6266 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4954, allocations: 0 / 0.6266 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4954, allocations: 0 / 0.6266 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.4957, allocations: 0.5169 MB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4957, allocations: 0 / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.671e-05/0.4958, allocations: 15.42 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4958, allocations: 2.625 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4958, allocations: 2.516 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4959, allocations: 3.75 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4959, allocations: 5.359 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.4965, allocations: 1.026 MB / 0.6281 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.4966, allocations: 155.6 kB / 0.6283 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.4967, allocations: 3.375 kB / 0.6283 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4969, allocations: 7.719 kB / 0.6283 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4969, allocations: 6.422 kB / 0.6283 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.497, allocations: 16.58 kB / 0.6283 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006137/0.4976, allocations: 0.7126 MB / 0.629 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4976, allocations: 0 / 0.629 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001467/0.4991, allocations: 0.5747 MB / 0.6296 GB, free: 28.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/0.5006, allocations: 0.6875 MB / 0.6302 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.503, allocations: 2.549 MB / 0.6327 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.503, allocations: 5.188 kB / 0.6327 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.5034, allocations: 336 kB / 0.633 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.5037, allocations: 59.44 kB / 0.6331 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.506, allocations: 1.979 MB / 0.635 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.5065, allocations: 1.008 MB / 0.636 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.5067, allocations: 37.39 kB / 0.6361 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5068, allocations: 28.2 kB / 0.6361 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.5068, allocations: 7.688 kB / 0.6361 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.02487/0.5317, allocations: 13.71 MB / 0.6495 GB, free: 26 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: