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.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_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.0009469/0.000947, 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.0009099/0.0009101, 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9845/0.9845, allocations: 143.3 MB / 434.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 12 kB / 0.5159 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1664, allocations: 83.4 MB / 0.5973 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001417/0.1678, allocations: 1.115 MB / 0.5984 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005602/0.1735, allocations: 3.848 MB / 0.6022 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.1736, allocations: 3.938 kB / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1737, allocations: 19.91 kB / 0.6022 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1739, allocations: 19.91 kB / 0.6022 GB, free: 2.832 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.003265/0.1772, allocations: 1.087 MB / 0.6033 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1773, allocations: 59.84 kB / 0.6033 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.1774, allocations: 4 kB / 0.6033 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.1774, allocations: 39.91 kB / 0.6034 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1777, allocations: 147.7 kB / 0.6035 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1777, allocations: 12 kB / 0.6035 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2805/0.4582, allocations: 1.862 MB / 0.6053 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.4585, allocations: 244.3 kB / 0.6056 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.4586, allocations: 117.5 kB / 0.6057 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.461, allocations: 1.395 MB / 0.6071 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4611, allocations: 2.938 kB / 0.6071 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4611, allocations: 0 / 0.6071 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.4611, allocations: 0 / 0.6071 GB, free: 35.52 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.01023/0.4713, allocations: 1.258 MB / 0.6083 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4714, allocations: 8.844 kB / 0.6083 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.4718, allocations: 90.97 kB / 0.6084 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.4721, allocations: 355.5 kB / 0.6087 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4722, allocations: 6.438 kB / 0.6087 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.4722, allocations: 8.484 kB / 0.6087 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.4726, allocations: 389.7 kB / 0.6091 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4726, allocations: 2.906 kB / 0.6091 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4726, allocations: 0 / 0.6091 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4727, allocations: 0.6094 kB / 0.6091 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.473, allocations: 436.3 kB / 0.6095 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.4735, allocations: 0.6462 MB / 0.6102 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.4739, allocations: 0.5657 MB / 0.6107 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007836/0.4747, allocations: 1.037 MB / 0.6117 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.475, allocations: 406 kB / 0.6121 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.475, allocations: 0 / 0.6121 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001092/0.4761, allocations: 1.292 MB / 0.6134 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4762, allocations: 81.02 kB / 0.6134 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.4771, allocations: 1.202 MB / 0.6146 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4772, allocations: 29.64 kB / 0.6146 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4773, allocations: 263.8 kB / 0.6149 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4774, allocations: 24.36 kB / 0.6149 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.4774, allocations: 3.375 kB / 0.6149 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4775, allocations: 417.1 kB / 0.6153 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/0.4785, allocations: 1.37 MB / 0.6167 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.4796, allocations: 1.503 MB / 0.6181 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.481, allocations: 1.916 MB / 0.62 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.481, allocations: 4.516 kB / 0.62 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003634/0.4846, allocations: 3.982 MB / 0.6239 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4847, allocations: 7.594 kB / 0.6239 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.4847, allocations: 2.875 kB / 0.6239 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4847, allocations: 3.469 kB / 0.6239 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4849, allocations: 14.53 kB / 0.6239 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4849, allocations: 7.844 kB / 0.6239 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4854, allocations: 234.8 kB / 0.6242 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.4854, allocations: 25.97 kB / 0.6242 GB, free: 30.09 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.0002677/0.4857, allocations: 239.2 kB / 0.6244 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.4857, allocations: 65.73 kB / 0.6245 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.486, allocations: 84.48 kB / 0.6245 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.486, allocations: 0 / 0.6245 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.486, allocations: 0 / 0.6245 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.486, allocations: 3.625 kB / 0.6246 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.4864, allocations: 0.4909 MB / 0.625 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4864, allocations: 0 / 0.625 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.4865, allocations: 9.484 kB / 0.625 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4865, allocations: 2.375 kB / 0.625 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4865, allocations: 8.859 kB / 0.6251 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4865, allocations: 0 / 0.6251 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4865, allocations: 6.969 kB / 0.6251 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.4873, allocations: 1.007 MB / 0.626 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.4874, allocations: 152.7 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.4875, allocations: 5 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4876, allocations: 8.375 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.4876, allocations: 9.922 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.4877, allocations: 16.69 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006093/0.4883, allocations: 0.6611 MB / 0.6269 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4883, allocations: 0 / 0.6269 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001601/0.4899, allocations: 0.5768 MB / 0.6274 GB, free: 29.19 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.001618/0.4915, allocations: 0.6685 MB / 0.6281 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.4938, allocations: 2.556 MB / 0.6306 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4938, allocations: 1.094 kB / 0.6306 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.4942, allocations: 341.6 kB / 0.6309 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.4944, allocations: 38.48 kB / 0.6309 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4967, allocations: 1.835 MB / 0.6327 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4971, allocations: 0.9866 MB / 0.6337 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.4972, allocations: 36.03 kB / 0.6337 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.4973, allocations: 29.67 kB / 0.6338 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4973, allocations: 0 / 0.6338 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.02314/0.5205, allocations: 13.14 MB / 0.6466 GB, free: 26.59 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: