Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.627, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 177.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.0008859, allocations: 102 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 12.44 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002314/0.2139, allocations: 1.115 MB / 0.9796 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008286/0.2222, allocations: 2.853 MB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.2224, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.2226, allocations: 11.92 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.2229, allocations: 19.91 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004533/0.2274, allocations: 0.7634 MB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2277, allocations: 91.67 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.2278, allocations: 12.25 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.2279, allocations: 31.92 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.2284, allocations: 235.7 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-05/0.2285, allocations: 16 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.233, allocations: 1.306 MB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.2344, allocations: 0.7015 MB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.2346, allocations: 180.9 kB / 0.9856 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.2377, allocations: 1.181 MB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2378, allocations: 0 / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2378, allocations: 4 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.2378, allocations: 0 / 0.9868 GB, free: 19.71 MB / 0.6198 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.01838/0.2562, allocations: 1.611 MB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2563, allocations: 12.02 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.2564, allocations: 38.56 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.2569, allocations: 153.9 kB / 0.9886 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.2575, allocations: 0.4894 MB / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2575, allocations: 0 / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.2576, allocations: 8 kB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.2581, allocations: 391.1 kB / 0.9894 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.2581, allocations: 0 / 0.9894 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2582, allocations: 0 / 0.9894 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2582, allocations: 8 kB / 0.9894 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.2587, allocations: 435.7 kB / 0.9898 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.2595, allocations: 0.8035 MB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.2601, allocations: 0.5672 MB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.2605, allocations: 333.7 kB / 0.9915 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.2617, allocations: 1.04 MB / 0.9925 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/0.2622, allocations: 408.8 kB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.276e-06/0.2622, allocations: 0 / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001618/0.2638, allocations: 1.339 MB / 0.9942 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2639, allocations: 89.23 kB / 0.9943 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.2663, allocations: 1.831 MB / 0.9961 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/0.2664, allocations: 33.7 kB / 0.9961 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.2668, allocations: 477.2 kB / 0.9966 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.2669, allocations: 27.72 kB / 0.9966 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.267, allocations: 4 kB / 0.9966 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2671, allocations: 407 kB / 0.997 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.2688, allocations: 1.518 MB / 0.9985 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.2705, allocations: 1.646 MB / 1 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.2725, allocations: 2.043 MB / 1.002 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.2725, allocations: 0 / 1.002 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005551/0.2781, allocations: 4.304 MB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.2782, allocations: 4 kB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.2782, allocations: 0 / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2783, allocations: 7.984 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2785, allocations: 15.94 kB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2785, allocations: 3.984 kB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.2797, allocations: 232.3 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.2799, allocations: 19.98 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0007487/0.2806, allocations: 370.9 kB / 1.007 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.2808, allocations: 122 kB / 1.007 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.2814, allocations: 145 kB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2814, allocations: 4 kB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2814, allocations: 0 / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2814, allocations: 0 / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.2824, allocations: 0.6871 MB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2824, allocations: 4.031 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.2826, allocations: 4 kB / 1.008 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2826, allocations: 4 kB / 1.008 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.2826, allocations: 3.984 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2826, allocations: 0 / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2826, allocations: 4 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.2842, allocations: 1.059 MB / 1.009 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.2845, allocations: 207.1 kB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.2847, allocations: 0 / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.2851, allocations: 4 kB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.2851, allocations: 11.98 kB / 1.009 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.2852, allocations: 11.98 kB / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002107/0.2873, allocations: 1.097 MB / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2873, allocations: 4 kB / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001578/0.2889, allocations: 427.9 kB / 1.011 GB, free: 10.55 MB / 0.6355 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.003948/0.2929, allocations: 1.981 MB / 1.013 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004177/0.2971, allocations: 2.644 MB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.2972, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.2977, allocations: 343.9 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.2983, allocations: 46.69 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/0.4097, allocations: 30.56 MB / 1.045 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.4109, allocations: 1.149 MB / 1.046 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.4113, allocations: 36.55 kB / 1.046 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/0.412, allocations: 435.3 kB / 1.047 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of SimCode: time 8.81e-07/0.412, allocations: 0 / 1.047 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7739/1.186, allocations: 58.7 MB / 1.104 GB, free: 74.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/1.186, allocations: 271.5 kB / 1.104 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.703/4.89, allocations: 2.078 kB / 1.104 GB, free: 74.64 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)