Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007313/0.007313, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001679/0.001679, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.75 kB / 0.9504 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2591, allocations: 140.4 MB / 1.088 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002639/0.2618, allocations: 1.421 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.2665, allocations: 3.033 MB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.2666, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2667, allocations: 11.88 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.267, allocations: 27.83 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.2698, allocations: 0.9964 MB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.2699, allocations: 87.67 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.27, allocations: 4 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.2701, allocations: 43.84 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2703, allocations: 153.6 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.2704, allocations: 20 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2726, allocations: 1.388 MB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007562/0.2733, allocations: 0.6874 MB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.2738, allocations: 437 kB / 1.096 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.2767, allocations: 1.788 MB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2768, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2768, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.627e-05/0.2768, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 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.008396/0.2852, allocations: 1.694 MB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.2853, allocations: 8.031 kB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.2853, allocations: 38.73 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/0.2858, allocations: 143 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.2865, allocations: 0.5211 MB / 1.1 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2865, allocations: 16.34 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.2866, allocations: 4.375 kB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.287, allocations: 387.3 kB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.287, allocations: 4 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.287, allocations: 0 / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2871, allocations: 4 kB / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.2875, allocations: 439.7 kB / 1.101 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.2883, allocations: 0.8073 MB / 1.101 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.2889, allocations: 0.5672 MB / 1.102 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.2892, allocations: 333.7 kB / 1.102 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.2904, allocations: 1.025 MB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.2908, allocations: 408.8 kB / 1.104 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 4.889e-06/0.2908, allocations: 0 / 1.104 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001432/0.2922, allocations: 1.343 MB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.2923, allocations: 89.16 kB / 1.105 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.2943, allocations: 1.846 MB / 1.107 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.2943, allocations: 29.7 kB / 1.107 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.2947, allocations: 473.3 kB / 1.107 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.2947, allocations: 23.7 kB / 1.107 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.2951, allocations: 351.5 kB / 1.108 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.2952, allocations: 305.1 kB / 1.108 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.2965, allocations: 1.51 MB / 1.109 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.2979, allocations: 1.646 MB / 1.111 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/0.305, allocations: 3.69 MB / 1.115 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.305, allocations: 0 / 1.115 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004741/0.3097, allocations: 4.331 MB / 1.119 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3098, allocations: 4 kB / 1.119 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3098, allocations: 4 kB / 1.119 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3099, allocations: 0 / 1.119 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.31, allocations: 19.92 kB / 1.119 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.31, allocations: 0 / 1.119 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.3106, allocations: 236.2 kB / 1.119 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.3107, allocations: 24.02 kB / 1.119 GB, free: 1 MB / 0.8731 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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.0004898/0.3112, allocations: 361.6 kB / 1.119 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.3113, allocations: 122.1 kB / 1.12 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.3117, allocations: 145 kB / 1.12 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3118, allocations: 4 kB / 1.12 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3118, allocations: 0 / 1.12 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3118, allocations: 8.016 kB / 1.12 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/0.3126, allocations: 0.6794 MB / 1.12 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3126, allocations: 3.938 kB / 1.12 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.3127, allocations: 4 kB / 1.12 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3127, allocations: 4 kB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3127, allocations: 3.984 kB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3127, allocations: 0 / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3127, allocations: 4 kB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3138, allocations: 1.059 MB / 1.121 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.314, allocations: 199.1 kB / 1.122 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.3141, allocations: 0 / 1.122 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.3143, allocations: 4 kB / 1.122 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3143, allocations: 7.984 kB / 1.122 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.3144, allocations: 19.98 kB / 1.122 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001358/0.3158, allocations: 1.104 MB / 1.123 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3158, allocations: 0 / 1.123 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001196/0.317, allocations: 431.8 kB / 1.123 GB, free: 12.7 MB / 0.8887 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.002789/0.3198, allocations: 1.982 MB / 1.125 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.3225, allocations: 2.652 MB / 1.128 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3225, allocations: 0 / 1.128 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.3229, allocations: 343.8 kB / 1.128 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3234, allocations: 54.48 kB / 1.128 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2726/0.5961, allocations: 36.36 MB / 1.164 GB, free: 3.043 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.5969, allocations: 1.153 MB / 1.165 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.5971, allocations: 32.56 kB / 1.165 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.5975, allocations: 431.3 kB / 1.165 GB, free: 1.414 MB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/0.5975, allocations: 0 / 1.165 GB, free: 1.414 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08407/0.6816, allocations: 60 MB / 1.224 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.04, allocations: 13.42 kB / 1.224 GB, free: 5.551 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)