Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 173.4 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.578 GB, free: 20.39 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006958/0.0006959, allocations: 84.88 kB / 0.6826 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003871, allocations: 9.562 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 106.3 MB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001632/0.2353, allocations: 1.146 MB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.2395, allocations: 3.2 MB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.2396, allocations: 0 / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2397, allocations: 7.922 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.24, allocations: 31.84 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.242, allocations: 0.7715 MB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2422, allocations: 107.7 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.2422, allocations: 4 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.2423, allocations: 35.86 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.2426, allocations: 224.9 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.2427, allocations: 12 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.2447, allocations: 1.404 MB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004532/0.2451, allocations: 0.6835 MB / 0.9084 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.2454, allocations: 462.7 kB / 0.9088 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.2471, allocations: 1.768 MB / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2471, allocations: 4 kB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2471, allocations: 4 kB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2471, allocations: 0 / 0.9106 GB, free: 53.85 MB / 0.6042 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.009593/0.2567, allocations: 1.59 MB / 0.9121 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.2568, allocations: 8.031 kB / 0.9121 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.2568, allocations: 34.75 kB / 0.9122 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.2572, allocations: 142.9 kB / 0.9123 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.2576, allocations: 0.5212 MB / 0.9128 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2577, allocations: 384 / 0.9128 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.2577, allocations: 4.375 kB / 0.9128 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2582, allocations: 411.2 kB / 0.9132 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2582, allocations: 0 / 0.9132 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.2582, allocations: 0 / 0.9132 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.2582, allocations: 7.938 kB / 0.9132 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.2587, allocations: 427.8 kB / 0.9136 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.2593, allocations: 0.8112 MB / 0.9144 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.2597, allocations: 0.5711 MB / 0.915 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.2599, allocations: 337.6 kB / 0.9153 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/0.2607, allocations: 1.032 MB / 0.9163 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.2611, allocations: 404.8 kB / 0.9167 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2611, allocations: 7.938 kB / 0.9167 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001005/0.2621, allocations: 1.343 MB / 0.918 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2621, allocations: 85.05 kB / 0.9181 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.2638, allocations: 1.843 MB / 0.9199 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2639, allocations: 29.7 kB / 0.9199 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.2641, allocations: 477.4 kB / 0.9204 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.2642, allocations: 23.72 kB / 0.9204 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.2642, allocations: 4 kB / 0.9204 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.2643, allocations: 407 kB / 0.9208 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009152/0.2652, allocations: 1.51 MB / 0.9223 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/0.2662, allocations: 1.649 MB / 0.9239 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007008/0.2732, allocations: 3.666 MB / 0.9274 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2733, allocations: 0 / 0.9274 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003353/0.2766, allocations: 4.323 MB / 0.9317 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2767, allocations: 4 kB / 0.9317 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.2767, allocations: 4 kB / 0.9317 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2767, allocations: 0 / 0.9317 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2769, allocations: 23.95 kB / 0.9317 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2769, allocations: 0 / 0.9317 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.2775, allocations: 236.3 kB / 0.9319 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.2775, allocations: 27.98 kB / 0.9319 GB, free: 31.23 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004092/0.2779, allocations: 361.6 kB / 0.9323 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.278, allocations: 122 kB / 0.9324 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.2783, allocations: 157 kB / 0.9326 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2783, allocations: 0 / 0.9326 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2783, allocations: 0 / 0.9326 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2784, allocations: 3.984 kB / 0.9326 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.2788, allocations: 0.6717 MB / 0.9332 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2788, allocations: 3.938 kB / 0.9332 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.2789, allocations: 8 kB / 0.9332 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2789, allocations: 0 / 0.9332 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2789, allocations: 12.02 kB / 0.9332 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2789, allocations: 0 / 0.9332 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2789, allocations: 0 / 0.9332 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.2796, allocations: 1.059 MB / 0.9343 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2797, allocations: 203 kB / 0.9345 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.2798, allocations: 8 kB / 0.9345 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.28, allocations: 11.92 kB / 0.9345 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2801, allocations: 3.984 kB / 0.9345 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.2801, allocations: 15.98 kB / 0.9345 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009153/0.2811, allocations: 1.108 MB / 0.9356 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2811, allocations: 0 / 0.9356 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001099/0.2822, allocations: 427.9 kB / 0.936 GB, free: 26.94 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001936/0.2841, allocations: 1.985 MB / 0.9379 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.2858, allocations: 2.645 MB / 0.9405 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2859, allocations: 0 / 0.9405 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.2861, allocations: 339.8 kB / 0.9408 GB, free: 21.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.2866, allocations: 46.55 kB / 0.9409 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2828/0.5693, allocations: 36.67 MB / 0.9767 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/0.5703, allocations: 1.149 MB / 0.9778 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000283/0.5706, allocations: 36.55 kB / 0.9779 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.5711, allocations: 431.3 kB / 0.9783 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.5711, allocations: 0 / 0.9783 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09215/0.6633, allocations: 59.18 MB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/0.6636, allocations: 301.8 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.488, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)