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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.527/2.527, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.001471/0.00147, allocations: 176.8 kB / 360.6 MB, free: 7.281 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.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 98.62 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.588e-05, allocations: 4 kB / 0.8509 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8295, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/1.098, allocations: 156.5 MB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/1.098, allocations: 109.4 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1799/1.278, allocations: 29.47 MB / 1.145 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.335e-06/1.278, allocations: 0 / 1.145 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.887e-05/1.278, allocations: 12 kB / 1.145 GB, free: 2.473 MB / 0.7448 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.003327/1.282, allocations: 1.052 MB / 1.146 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.282, allocations: 12.03 kB / 1.146 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/1.282, allocations: 110.6 kB / 1.146 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/1.284, allocations: 460.8 kB / 1.147 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/1.284, allocations: 2.906 kB / 1.147 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.284, allocations: 20 kB / 1.147 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005843/1.284, allocations: 419.8 kB / 1.147 GB, free: 332 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/1.285, allocations: 387.2 kB / 1.148 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.285, allocations: 8 kB / 1.148 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/1.285, allocations: 3.984 kB / 1.148 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/1.285, allocations: 3.953 kB / 1.148 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.286, allocations: 0.7186 MB / 1.148 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/1.287, allocations: 0.5516 MB / 1.149 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/1.288, allocations: 333.7 kB / 1.149 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/1.289, allocations: 1.04 MB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005726/1.29, allocations: 388.9 kB / 1.15 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 6.713e-06/1.29, allocations: 4 kB / 1.15 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001529/1.291, allocations: 0.9686 MB / 1.151 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/1.291, allocations: 85.08 kB / 1.152 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/1.293, allocations: 1.06 MB / 1.153 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.293, allocations: 29.7 kB / 1.153 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/1.294, allocations: 282.1 kB / 1.153 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/1.294, allocations: 23.7 kB / 1.153 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/1.294, allocations: 0 / 1.153 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002514/1.294, allocations: 427.8 kB / 1.153 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.296, allocations: 1.194 MB / 1.154 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/1.299, allocations: 1.324 MB / 1.156 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/1.301, allocations: 1.583 MB / 1.157 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.302, allocations: 0 / 1.157 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006894/1.308, allocations: 3.38 MB / 1.161 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.309, allocations: 9.875 kB / 1.161 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/1.309, allocations: 0.5625 kB / 1.161 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.309, allocations: 8.031 kB / 1.161 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.31, allocations: 147.8 kB / 1.161 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.31, allocations: 4 kB / 1.161 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.311, allocations: 229.6 kB / 1.161 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.312, allocations: 57.73 kB / 1.161 GB, free: 1.688 MB / 0.7605 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001994/1.312, allocations: 127.7 kB / 1.161 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001424/1.313, allocations: 0.9592 MB / 1.162 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/1.313, allocations: 74.72 kB / 1.162 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.315, allocations: 0.929 MB / 1.163 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.315, allocations: 0 / 1.163 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.315, allocations: 0 / 1.163 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.315, allocations: 4 kB / 1.163 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/1.316, allocations: 0.5022 MB / 1.164 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.316, allocations: 0 / 1.164 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/1.316, allocations: 7.984 kB / 1.164 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.316, allocations: 4 kB / 1.164 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.316, allocations: 4.031 kB / 1.164 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.316, allocations: 0 / 1.164 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.316, allocations: 6.312 kB / 1.164 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.317, allocations: 1.009 MB / 1.165 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/1.318, allocations: 155.8 kB / 1.165 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.318, allocations: 4 kB / 1.165 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.318, allocations: 11.98 kB / 1.165 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/1.318, allocations: 4 kB / 1.165 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/1.318, allocations: 15.97 kB / 1.165 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001273/1.32, allocations: 0.6361 MB / 1.165 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.81e-07/1.32, allocations: 3.375 kB / 1.165 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002351/1.322, allocations: 491.4 kB / 1.166 GB, free: 12.66 MB / 0.7761 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) * 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.005126/1.327, allocations: 2.18 MB / 1.168 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003751/1.331, allocations: 2.322 MB / 1.17 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.331, allocations: 0 / 1.17 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004639/1.331, allocations: 335.8 kB / 1.171 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/1.332, allocations: 48.84 kB / 1.171 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/1.337, allocations: 1.848 MB / 1.172 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/1.338, allocations: 1.005 MB / 1.173 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004321/1.338, allocations: 65.14 kB / 1.173 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/1.339, allocations: 295.3 kB / 1.174 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/1.339, allocations: 0 / 1.174 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08174/1.421, allocations: 17.94 MB / 1.191 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004052/1.421, allocations: 238 kB / 1.191 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.879/5.3, allocations: 2.812 kB / 1.191 GB, free: 2.367 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)