Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_SmallScaleValidation,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001405/0.001405, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005298/0.0005298, allocations: 16.44 kB / 0.6739 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 116.3 MB / 0.7875 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001783/0.2224, allocations: 1.42 MB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004999/0.2274, allocations: 3.919 MB / 0.7927 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2276, allocations: 4 kB / 0.7927 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000968/0.2286, allocations: 318.7 kB / 0.793 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.2287, allocations: 43.8 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.2307, allocations: 0.7607 MB / 0.7938 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.2309, allocations: 159.4 kB / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.231, allocations: 17.53 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.231, allocations: 51.78 kB / 0.794 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.2313, allocations: 187.6 kB / 0.7942 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.2313, allocations: 20 kB / 0.7942 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.2331, allocations: 1.302 MB / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.2333, allocations: 267.2 kB / 0.7957 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2334, allocations: 125.1 kB / 0.7958 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2345, allocations: 1.033 MB / 0.7968 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2345, allocations: 4 kB / 0.7968 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2345, allocations: 0 / 0.7968 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2346, allocations: 0 / 0.7968 GB, free: 2.117 MB / 0.6075 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.006919/0.2415, allocations: 1.218 MB / 0.798 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2415, allocations: 12.03 kB / 0.798 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.2416, allocations: 34.55 kB / 0.7981 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.2419, allocations: 98.66 kB / 0.7982 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.2424, allocations: 400.8 kB / 0.7985 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2424, allocations: 4 kB / 0.7985 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.2424, allocations: 4 kB / 0.7985 GB, free: 252 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.2428, allocations: 391.1 kB / 0.7989 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2429, allocations: 0 / 0.7989 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2429, allocations: 7.922 kB / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2429, allocations: 3.938 kB / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2433, allocations: 435.8 kB / 0.7993 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.2439, allocations: 0.6574 MB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.2444, allocations: 0.5634 MB / 0.8005 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.2447, allocations: 337.5 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009284/0.2456, allocations: 1.036 MB / 0.8019 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.246, allocations: 408.8 kB / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.246, allocations: 0 / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001249/0.2473, allocations: 1.289 MB / 0.8035 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2473, allocations: 81.23 kB / 0.8036 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.2485, allocations: 1.277 MB / 0.8048 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.2485, allocations: 33.7 kB / 0.8049 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.2487, allocations: 285.4 kB / 0.8052 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.2488, allocations: 23.73 kB / 0.8052 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.2488, allocations: 4 kB / 0.8052 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.249, allocations: 423.8 kB / 0.8056 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.2501, allocations: 1.361 MB / 0.8069 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.2513, allocations: 1.493 MB / 0.8084 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.2527, allocations: 1.895 MB / 0.8102 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2527, allocations: 0 / 0.8102 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004071/0.2568, allocations: 3.945 MB / 0.8141 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2569, allocations: 12.03 kB / 0.8141 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.2569, allocations: 0 / 0.8141 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2569, allocations: 0 / 0.8141 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.257, allocations: 15.98 kB / 0.8141 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.257, allocations: 7.938 kB / 0.8141 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.2575, allocations: 228.3 kB / 0.8143 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.2576, allocations: 27.98 kB / 0.8144 GB, free: 15.61 MB / 0.6387 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.0003052/0.2579, allocations: 245.6 kB / 0.8146 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.258, allocations: 78.69 kB / 0.8147 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.2582, allocations: 79.66 kB / 0.8147 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2583, allocations: 4 kB / 0.8147 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2583, allocations: 0 / 0.8147 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2583, allocations: 3.938 kB / 0.8147 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.2587, allocations: 0.5253 MB / 0.8153 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2587, allocations: 0 / 0.8153 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.2588, allocations: 12.02 kB / 0.8153 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2588, allocations: 0 / 0.8153 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.2588, allocations: 4 kB / 0.8153 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2588, allocations: 0 / 0.8153 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2589, allocations: 3.938 kB / 0.8153 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.2597, allocations: 1.013 MB / 0.8163 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2599, allocations: 155.8 kB / 0.8164 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.2599, allocations: 3.938 kB / 0.8164 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2601, allocations: 11.97 kB / 0.8164 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.2601, allocations: 8 kB / 0.8164 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.2602, allocations: 11.97 kB / 0.8165 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007593/0.2609, allocations: 0.7062 MB / 0.8171 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2609, allocations: 0 / 0.8171 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001058/0.262, allocations: 407.9 kB / 0.8175 GB, free: 12.24 MB / 0.6387 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.002539/0.2646, allocations: 1.927 MB / 0.8194 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.2668, allocations: 2.499 MB / 0.8219 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2668, allocations: 0 / 0.8219 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.2671, allocations: 343.8 kB / 0.8222 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.2676, allocations: 59.55 kB / 0.8222 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.278, allocations: 9.481 MB / 0.8315 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.2786, allocations: 0.984 MB / 0.8325 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.2788, allocations: 41.41 kB / 0.8325 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.2792, allocations: 283.3 kB / 0.8328 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.2792, allocations: 0 / 0.8328 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3131, allocations: 18.79 MB / 0.8511 GB, free: 9.938 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.3134, allocations: 281 kB / 0.8514 GB, free: 9.582 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.695, allocations: 0 / 0.8514 GB, free: 9.582 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: