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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 99.62 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.001404/0.001404, 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.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.117/1.117, allocations: 143.3 MB / 434.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 15.98 kB / 0.516 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 83.41 MB / 0.5974 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001358/0.2055, allocations: 1.119 MB / 0.5985 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.211, allocations: 3.85 MB / 0.6023 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.2111, allocations: 0 / 0.6023 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2113, allocations: 11.92 kB / 0.6023 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.2115, allocations: 35.83 kB / 0.6023 GB, free: 2.711 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.003452/0.215, allocations: 1.06 MB / 0.6033 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2151, allocations: 67.84 kB / 0.6034 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.2152, allocations: 0 / 0.6034 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.2152, allocations: 47.83 kB / 0.6034 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.2155, allocations: 143.7 kB / 0.6036 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.2155, allocations: 12 kB / 0.6036 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3314/0.5469, allocations: 1.866 MB / 0.6054 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.5471, allocations: 244 kB / 0.6057 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.5472, allocations: 113.1 kB / 0.6058 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.5499, allocations: 1.4 MB / 0.6071 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5499, allocations: 0 / 0.6071 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5499, allocations: 0.5312 kB / 0.6071 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5499, allocations: 1.156 kB / 0.6071 GB, free: 35.64 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.01035/0.5603, allocations: 1.254 MB / 0.6084 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5604, allocations: 11.56 kB / 0.6084 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.5604, allocations: 38.44 kB / 0.6084 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.5608, allocations: 89.64 kB / 0.6085 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.5612, allocations: 356.2 kB / 0.6088 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.5612, allocations: 5.812 kB / 0.6088 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.5612, allocations: 7.125 kB / 0.6088 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.5616, allocations: 393.1 kB / 0.6092 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5616, allocations: 4.969 kB / 0.6092 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5616, allocations: 0 / 0.6092 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.5617, allocations: 0 / 0.6092 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.562, allocations: 435.4 kB / 0.6096 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.5625, allocations: 0.6463 MB / 0.6103 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.563, allocations: 0.5644 MB / 0.6108 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.5638, allocations: 1.039 MB / 0.6118 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.5642, allocations: 404.4 kB / 0.6122 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.265e-06/0.5642, allocations: 0.6094 kB / 0.6122 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001157/0.5653, allocations: 1.286 MB / 0.6135 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5654, allocations: 86.42 kB / 0.6136 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.5664, allocations: 1.205 MB / 0.6147 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.5664, allocations: 29.89 kB / 0.6148 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.5666, allocations: 260.1 kB / 0.615 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.5666, allocations: 24.45 kB / 0.615 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.5666, allocations: 3.375 kB / 0.615 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5667, allocations: 413.6 kB / 0.6154 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.5679, allocations: 1.369 MB / 0.6168 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.5692, allocations: 1.509 MB / 0.6182 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.5708, allocations: 1.916 MB / 0.6201 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.5708, allocations: 1.422 kB / 0.6201 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00369/0.5745, allocations: 3.986 MB / 0.624 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5745, allocations: 9.188 kB / 0.624 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.5746, allocations: 7.344 kB / 0.624 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5746, allocations: 0 / 0.624 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5747, allocations: 14.06 kB / 0.624 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5747, allocations: 3.25 kB / 0.624 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.5753, allocations: 228.8 kB / 0.6243 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.5754, allocations: 23.45 kB / 0.6243 GB, free: 30.17 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.0002879/0.5756, allocations: 253.3 kB / 0.6245 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.5757, allocations: 66.09 kB / 0.6246 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.576, allocations: 71.81 kB / 0.6247 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.576, allocations: 2.625 kB / 0.6247 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.576, allocations: 0 / 0.6247 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.576, allocations: 3.422 kB / 0.6247 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.5764, allocations: 0.4934 MB / 0.6251 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5764, allocations: 3.953 kB / 0.6251 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.5765, allocations: 9.156 kB / 0.6252 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5765, allocations: 4 kB / 0.6252 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5765, allocations: 7.047 kB / 0.6252 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5765, allocations: 3.016 kB / 0.6252 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5765, allocations: 2.875 kB / 0.6252 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.5774, allocations: 1.012 MB / 0.6262 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.5775, allocations: 148.9 kB / 0.6263 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.5775, allocations: 0.5625 kB / 0.6263 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5777, allocations: 9.828 kB / 0.6263 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.5777, allocations: 10.02 kB / 0.6263 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.5778, allocations: 13.84 kB / 0.6263 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006063/0.5784, allocations: 0.666 MB / 0.627 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5784, allocations: 4 kB / 0.627 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001687/0.5801, allocations: 0.5716 MB / 0.6275 GB, free: 29.26 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.003579/0.5837, allocations: 2.207 MB / 0.6297 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003089/0.5868, allocations: 2.55 MB / 0.6322 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5868, allocations: 1.312 kB / 0.6322 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.5873, allocations: 339.2 kB / 0.6325 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.5877, allocations: 38.38 kB / 0.6325 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.5922, allocations: 2.649 MB / 0.6351 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.5927, allocations: 0.9863 MB / 0.6361 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.5928, allocations: 33.75 kB / 0.6361 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.5931, allocations: 263.5 kB / 0.6364 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of SimCode: time 1.253e-06/0.5931, allocations: 0 / 0.6364 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.6519, allocations: 20.8 MB / 0.6567 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.6522, allocations: 316.2 kB / 0.657 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/3.583, allocations: 0 / 0.657 GB, free: 23.88 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: