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 1.564/1.564, allocations: 287.4 MB / 302.5 MB, free: 8.352 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.0009331/0.0009331, allocations: 181.4 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.0008172/0.0008173, allocations: 99.84 kB / 0.7431 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 12.89 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2261, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001466/0.2276, allocations: 1.124 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.2313, allocations: 2.849 MB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.2314, allocations: 7.875 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2315, allocations: 7.938 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.2317, allocations: 23.89 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2332, allocations: 0.7551 MB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.874e-05/0.2333, allocations: 91.72 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.2334, allocations: 8.266 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.2334, allocations: 39.86 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2336, allocations: 243.7 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.2337, allocations: 12 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2352, allocations: 1.299 MB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.2357, allocations: 0.7054 MB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2358, allocations: 173 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009612/0.2368, allocations: 1.189 MB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2368, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2368, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.2368, allocations: 0 / 0.9871 GB, free: 19.5 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.009276/0.2461, allocations: 1.593 MB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/0.2462, allocations: 12.03 kB / 0.9887 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.2463, allocations: 34.69 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.2467, allocations: 146.9 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.2472, allocations: 0.5251 MB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2472, allocations: 4.359 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.2473, allocations: 8.375 kB / 0.9894 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.2476, allocations: 383.3 kB / 0.9897 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2477, allocations: 4 kB / 0.9897 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2477, allocations: 11.98 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2477, allocations: 0 / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.248, allocations: 435.7 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.2486, allocations: 0.7957 MB / 0.9909 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.2489, allocations: 0.5672 MB / 0.9915 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.2492, allocations: 337.7 kB / 0.9918 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008443/0.25, allocations: 1.036 MB / 0.9928 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.2504, allocations: 412.7 kB / 0.9932 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.2504, allocations: 0 / 0.9932 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001068/0.2514, allocations: 1.335 MB / 0.9945 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.2515, allocations: 89.09 kB / 0.9946 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.2528, allocations: 1.842 MB / 0.9964 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2529, allocations: 25.7 kB / 0.9964 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.2531, allocations: 481.3 kB / 0.9969 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.2532, allocations: 23.73 kB / 0.9969 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.2532, allocations: 4 kB / 0.9969 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2533, allocations: 407 kB / 0.9973 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009193/0.2542, allocations: 1.514 MB / 0.9988 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/0.2552, allocations: 1.646 MB / 1 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/0.2623, allocations: 3.651 MB / 1.004 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2623, allocations: 0 / 1.004 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004167/0.2665, allocations: 4.312 MB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2665, allocations: 4 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.2666, allocations: 4 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2666, allocations: 0 / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2667, allocations: 19.92 kB / 1.008 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2668, allocations: 320 / 1.008 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.2673, allocations: 232.3 kB / 1.008 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.2674, allocations: 28.02 kB / 1.008 GB, free: 12.93 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.0004624/0.2679, allocations: 370.9 kB / 1.009 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.268, allocations: 122 kB / 1.009 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.2683, allocations: 149 kB / 1.009 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2683, allocations: 0 / 1.009 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2683, allocations: 0 / 1.009 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2684, allocations: 8.016 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.269, allocations: 0.6794 MB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.269, allocations: 3.938 kB / 1.01 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.2691, allocations: 8 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2691, allocations: 0 / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2691, allocations: 3.984 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2691, allocations: 4 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2691, allocations: 3.984 kB / 1.01 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.2701, allocations: 1.055 MB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2703, allocations: 203.1 kB / 1.011 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.2704, allocations: 4 kB / 1.011 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2705, allocations: 4 kB / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.2706, allocations: 7.984 kB / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.2706, allocations: 15.98 kB / 1.011 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001205/0.2718, allocations: 1.101 MB / 1.012 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2719, allocations: 0 / 1.012 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001016/0.2729, allocations: 431.9 kB / 1.012 GB, free: 8.633 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.002252/0.2751, allocations: 1.978 MB / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002344/0.2775, allocations: 2.644 MB / 1.017 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2775, allocations: 3.938 kB / 1.017 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.2778, allocations: 339.8 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2783, allocations: 54.48 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05659/0.3349, allocations: 30.56 MB / 1.047 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.3357, allocations: 1.153 MB / 1.048 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.336, allocations: 36.56 kB / 1.048 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.3364, allocations: 433.5 kB / 1.049 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/0.3364, allocations: 0 / 1.049 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8341/1.171, allocations: 58.68 MB / 1.106 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/1.171, allocations: 272.7 kB / 1.106 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/4.316, allocations: 0 / 1.106 GB, free: 73.52 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)