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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009697/0.0009697, allocations: 74.56 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.783e-05, allocations: 7.984 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7921/1.007, allocations: 151 MB / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.008, allocations: 110.5 kB / 1.04 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1039/1.112, allocations: 29.68 MB / 1.069 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.82e-07/1.112, allocations: 0 / 1.069 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.322e-05/1.112, allocations: 19.94 kB / 1.069 GB, free: 6.133 MB / 0.6823 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.002074/1.114, allocations: 1.051 MB / 1.07 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.114, allocations: 12.02 kB / 1.07 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/1.114, allocations: 30.56 kB / 1.07 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/1.114, allocations: 109.9 kB / 1.07 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/1.115, allocations: 467.2 kB / 1.07 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.115, allocations: 26.25 kB / 1.07 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/1.115, allocations: 34.81 kB / 1.07 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/1.116, allocations: 386.4 kB / 1.071 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/1.116, allocations: 0 / 1.071 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.116, allocations: 4 kB / 1.071 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.116, allocations: 0 / 1.071 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/1.116, allocations: 430.2 kB / 1.071 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/1.117, allocations: 0.7651 MB / 1.072 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/1.117, allocations: 0.5578 MB / 1.072 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/1.117, allocations: 333 kB / 1.073 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/1.118, allocations: 1.036 MB / 1.074 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/1.119, allocations: 402.4 kB / 1.074 GB, free: 380 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/1.119, allocations: 0 / 1.074 GB, free: 380 kB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0009795/1.12, allocations: 0.9688 MB / 1.075 GB, free: 15.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.12, allocations: 89.03 kB / 1.075 GB, free: 15.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.121, allocations: 1.128 MB / 1.076 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.121, allocations: 40.45 kB / 1.076 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/1.121, allocations: 297.7 kB / 1.076 GB, free: 14.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/1.121, allocations: 15.05 kB / 1.076 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/1.121, allocations: 14.69 kB / 1.076 GB, free: 14.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.122, allocations: 425.8 kB / 1.077 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.123, allocations: 1.207 MB / 1.078 GB, free: 12.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/1.124, allocations: 1.343 MB / 1.079 GB, free: 12.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/1.126, allocations: 1.598 MB / 1.081 GB, free: 10.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.126, allocations: 0 / 1.081 GB, free: 10.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00403/1.13, allocations: 3.43 MB / 1.084 GB, free: 8.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.13, allocations: 5.25 kB / 1.084 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/1.13, allocations: 7.938 kB / 1.084 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.13, allocations: 8.031 kB / 1.084 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/1.13, allocations: 140.1 kB / 1.084 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.13, allocations: 4 kB / 1.084 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/1.131, allocations: 247.1 kB / 1.085 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.131, allocations: 62.25 kB / 1.085 GB, free: 7.824 MB / 0.698 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.000139/1.131, allocations: 126.4 kB / 1.085 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/1.132, allocations: 70.69 kB / 1.085 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/1.133, allocations: 0.9469 MB / 1.086 GB, free: 6.703 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/1.133, allocations: 0 / 1.086 GB, free: 6.703 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.133, allocations: 4 kB / 1.086 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.133, allocations: 0 / 1.086 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/1.133, allocations: 0.5182 MB / 1.086 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.133, allocations: 0 / 1.086 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/1.133, allocations: 8 kB / 1.086 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.133, allocations: 0 / 1.086 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/1.133, allocations: 7.984 kB / 1.086 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.133, allocations: 4.031 kB / 1.086 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.133, allocations: 3.938 kB / 1.086 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/1.134, allocations: 1.013 MB / 1.087 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.134, allocations: 151.8 kB / 1.088 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/1.134, allocations: 4 kB / 1.088 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/1.135, allocations: 19.23 kB / 1.088 GB, free: 4.996 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/1.135, allocations: 7.938 kB / 1.088 GB, free: 4.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.135, allocations: 11.97 kB / 1.088 GB, free: 4.977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007447/1.136, allocations: 0.6976 MB / 1.088 GB, free: 4.402 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.136, allocations: 0 / 1.088 GB, free: 4.402 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001774/1.137, allocations: 0.499 MB / 1.089 GB, free: 3.934 MB / 0.698 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.003067/1.14, allocations: 2.173 MB / 1.091 GB, free: 1.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.143, allocations: 2.343 MB / 1.093 GB, free: 184 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.143, allocations: 0 / 1.093 GB, free: 184 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/1.143, allocations: 334.1 kB / 1.093 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/1.143, allocations: 58.17 kB / 1.094 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/1.146, allocations: 1.859 MB / 1.095 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/1.147, allocations: 1.009 MB / 1.096 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002166/1.147, allocations: 63.28 kB / 1.096 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/1.147, allocations: 297.4 kB / 1.097 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/1.147, allocations: 0 / 1.097 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/1.186, allocations: 19.67 MB / 1.116 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/1.187, allocations: 249.8 kB / 1.116 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/4.076, allocations: 0 / 1.116 GB, free: 8.957 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)