Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001078/0.001078, allocations: 185.9 kB / 371.8 MB, free: 10.29 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.654/1.654, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009286/0.0009286, allocations: 93.17 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.00046, allocations: 20.33 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2733, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9383/1.212, allocations: 157.4 MB / 1.133 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.212, allocations: 122.8 kB / 1.133 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09432/1.306, allocations: 29.72 MB / 1.162 GB, free: 13.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.479e-06/1.306, allocations: 0 / 1.162 GB, free: 13.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001326/1.307, allocations: 16 kB / 1.162 GB, free: 13.38 MB / 0.698 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.00456/1.311, allocations: 1.207 MB / 1.164 GB, free: 12.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.405e-05/1.311, allocations: 12.02 kB / 1.164 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.352e-05/1.311, allocations: 34.56 kB / 1.164 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/1.312, allocations: 118.5 kB / 1.164 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/1.313, allocations: 467.1 kB / 1.164 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/1.313, allocations: 26.56 kB / 1.164 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.314, allocations: 35.88 kB / 1.164 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/1.314, allocations: 390.9 kB / 1.165 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.314, allocations: 4 kB / 1.165 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/1.314, allocations: 3.125 kB / 1.165 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/1.314, allocations: 0 / 1.165 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/1.315, allocations: 438.9 kB / 1.165 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.316, allocations: 0.7679 MB / 1.166 GB, free: 9.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/1.317, allocations: 0.5581 MB / 1.166 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/1.318, allocations: 1.036 MB / 1.167 GB, free: 8.156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005092/1.319, allocations: 407.6 kB / 1.168 GB, free: 7.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 4.659e-06/1.319, allocations: 0 / 1.168 GB, free: 7.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001687/1.32, allocations: 1.305 MB / 1.169 GB, free: 6.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/1.32, allocations: 77.11 kB / 1.169 GB, free: 6.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/1.322, allocations: 1.139 MB / 1.17 GB, free: 5.445 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.323, allocations: 44.14 kB / 1.17 GB, free: 5.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/1.323, allocations: 295.7 kB / 1.171 GB, free: 5.184 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/1.323, allocations: 23.61 kB / 1.171 GB, free: 5.164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/1.323, allocations: 10.88 kB / 1.171 GB, free: 5.164 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002525/1.323, allocations: 429.5 kB / 1.171 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/1.325, allocations: 1.215 MB / 1.172 GB, free: 3.984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.326, allocations: 1.361 MB / 1.173 GB, free: 3.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/1.328, allocations: 1.609 MB / 1.175 GB, free: 1.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.328, allocations: 3.938 kB / 1.175 GB, free: 1.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004419/1.332, allocations: 3.451 MB / 1.178 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.332, allocations: 4 kB / 1.178 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.332, allocations: 8.031 kB / 1.178 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.332, allocations: 4 kB / 1.178 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.333, allocations: 143 kB / 1.179 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.333, allocations: 7.938 kB / 1.179 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/1.334, allocations: 242.8 kB / 1.179 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.334, allocations: 55.55 kB / 1.179 GB, free: 14.89 MB / 0.7136 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 (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.0003688/1.334, allocations: 267.1 kB / 1.179 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/1.334, allocations: 74.69 kB / 1.179 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.335, allocations: 0.9454 MB / 1.18 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.335, allocations: 7.938 kB / 1.18 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.335, allocations: 0 / 1.18 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.335, allocations: 3.984 kB / 1.18 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/1.336, allocations: 0.5163 MB / 1.181 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.336, allocations: 3.984 kB / 1.181 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/1.336, allocations: 8.031 kB / 1.181 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.336, allocations: 0 / 1.181 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.336, allocations: 11.61 kB / 1.181 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.336, allocations: 0 / 1.181 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.336, allocations: 0 / 1.181 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.337, allocations: 1.026 MB / 1.182 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/1.337, allocations: 155.8 kB / 1.182 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/1.337, allocations: 7.922 kB / 1.182 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.338, allocations: 7.5 kB / 1.182 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.338, allocations: 7.984 kB / 1.182 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/1.338, allocations: 11.98 kB / 1.182 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007992/1.338, allocations: 0.7097 MB / 1.183 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.338, allocations: 4 kB / 1.183 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002104/1.341, allocations: 0.496 MB / 1.183 GB, free: 10.83 MB / 0.7136 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.00323/1.344, allocations: 2.185 MB / 1.185 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002331/1.346, allocations: 2.359 MB / 1.187 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.346, allocations: 0 / 1.187 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/1.347, allocations: 338.1 kB / 1.188 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/1.347, allocations: 53.09 kB / 1.188 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/1.351, allocations: 2.845 MB / 1.191 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/1.352, allocations: 0.9967 MB / 1.192 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002501/1.352, allocations: 62.94 kB / 1.192 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.353, allocations: 301.9 kB / 1.192 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/1.353, allocations: 3.938 kB / 1.192 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/1.397, allocations: 19.34 MB / 1.211 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/1.398, allocations: 283.1 kB / 1.211 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.379, allocations: 0 / 1.211 GB, free: 15.29 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)