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.623/2.623, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001525/0.001525, allocations: 192.3 kB / 370.8 MB, free: 10.86 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.083/2.083, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001191/0.001191, allocations: 96.19 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007047/0.000705, allocations: 13.23 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2118, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001525/0.2133, allocations: 1.107 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005185/0.2186, allocations: 2.825 MB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.2187, allocations: 0 / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2188, allocations: 11.92 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.219, allocations: 19.97 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.222, allocations: 0.7166 MB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.2221, allocations: 55.86 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.2222, allocations: 8.266 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.2223, allocations: 35.91 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.2225, allocations: 139.7 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2226, allocations: 19.94 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.2253, allocations: 1.252 MB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000841/0.2262, allocations: 0.6002 MB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2264, allocations: 177 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.2287, allocations: 1.189 MB / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2287, allocations: 0 / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2287, allocations: 0 / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.2288, allocations: 0 / 0.9863 GB, free: 20.08 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.018/0.2468, allocations: 1.605 MB / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.2468, allocations: 12.02 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2469, allocations: 42.48 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/0.2474, allocations: 146 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.2481, allocations: 0.4933 MB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2481, allocations: 4 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.2482, allocations: 12 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.2487, allocations: 383.2 kB / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2487, allocations: 0 / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2488, allocations: 4 kB / 0.9889 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2488, allocations: 4 kB / 0.9889 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.2493, allocations: 435.7 kB / 0.9893 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.2502, allocations: 0.8074 MB / 0.9901 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.2508, allocations: 0.5634 MB / 0.9907 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.2519, allocations: 1.036 MB / 0.9917 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.2524, allocations: 404.8 kB / 0.9921 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.295e-06/0.2524, allocations: 0 / 0.9921 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001619/0.2541, allocations: 1.35 MB / 0.9934 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2541, allocations: 81.11 kB / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.2564, allocations: 1.835 MB / 0.9952 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.2566, allocations: 33.83 kB / 0.9953 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.257, allocations: 481.2 kB / 0.9957 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.2571, allocations: 19.73 kB / 0.9958 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2571, allocations: 8 kB / 0.9958 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2572, allocations: 407 kB / 0.9962 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.2589, allocations: 1.506 MB / 0.9976 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.2606, allocations: 1.65 MB / 0.9992 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.2626, allocations: 2.047 MB / 1.001 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2626, allocations: 0 / 1.001 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00529/0.2679, allocations: 4.292 MB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.268, allocations: 5.875 kB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.268, allocations: 11.92 kB / 1.005 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2681, allocations: 4.031 kB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2683, allocations: 19.94 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2683, allocations: 0 / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.2694, allocations: 232.3 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.2695, allocations: 19.98 kB / 1.006 GB, free: 15.55 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.0007215/0.2703, allocations: 369.5 kB / 1.006 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.2704, allocations: 122 kB / 1.006 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.271, allocations: 153 kB / 1.006 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.271, allocations: 4 kB / 1.006 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.271, allocations: 0 / 1.006 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.271, allocations: 0 / 1.006 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.272, allocations: 0.6872 MB / 1.007 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.272, allocations: 3.984 kB / 1.007 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2721, allocations: 4 kB / 1.007 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2721, allocations: 4 kB / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2722, allocations: 8.016 kB / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.2722, allocations: 4 kB / 1.007 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2722, allocations: 0 / 1.007 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.2738, allocations: 1.069 MB / 1.008 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.2741, allocations: 199.1 kB / 1.008 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.2743, allocations: 3.984 kB / 1.008 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.2746, allocations: 4 kB / 1.008 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.2747, allocations: 11.98 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.2748, allocations: 11.98 kB / 1.008 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002111/0.2769, allocations: 1.101 MB / 1.009 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2769, allocations: 0 / 1.009 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001625/0.2786, allocations: 431.8 kB / 1.01 GB, free: 11.23 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.003876/0.2825, allocations: 2.064 MB / 1.012 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004001/0.2865, allocations: 2.648 MB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.2866, allocations: 0 / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.2871, allocations: 339.9 kB / 1.015 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.2876, allocations: 47.84 kB / 1.015 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/0.2948, allocations: 3.567 MB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.296, allocations: 1.173 MB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003358/0.2964, allocations: 36.55 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/0.2971, allocations: 431.3 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of SimCode: time 1.253e-06/0.2971, allocations: 0 / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/0.3686, allocations: 21.66 MB / 1.041 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003645/0.369, allocations: 264.1 kB / 1.041 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.66/4.029, allocations: 0 / 1.041 GB, free: 10.97 MB / 0.6667 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)