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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001222/0.001223, allocations: 181.5 kB / 371.6 MB, free: 3.418 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.638/1.638, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008839/0.0008839, allocations: 90.06 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.773e-05, allocations: 8 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8551/1.132, allocations: 158.4 MB / 1.134 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.132, allocations: 114.1 kB / 1.135 GB, free: 31.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1023/1.235, allocations: 29.67 MB / 1.164 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.175e-06/1.235, allocations: 0 / 1.164 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.661e-05/1.235, allocations: 23.94 kB / 1.164 GB, free: 12.72 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.002775/1.238, allocations: 1.049 MB / 1.165 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.238, allocations: 12.03 kB / 1.165 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/1.238, allocations: 102.9 kB / 1.165 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/1.239, allocations: 467.1 kB / 1.165 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/1.239, allocations: 22.69 kB / 1.165 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/1.239, allocations: 39.56 kB / 1.165 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/1.24, allocations: 380.9 kB / 1.166 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.24, allocations: 0 / 1.166 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/1.24, allocations: 0.5625 kB / 1.166 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.24, allocations: 4 kB / 1.166 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/1.24, allocations: 423.1 kB / 1.166 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/1.241, allocations: 0.7772 MB / 1.167 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/1.241, allocations: 0.5665 MB / 1.167 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.241, allocations: 325 kB / 1.168 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007931/1.242, allocations: 1.033 MB / 1.169 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/1.243, allocations: 400.1 kB / 1.169 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/1.243, allocations: 0 / 1.169 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0007564/1.243, allocations: 0.9772 MB / 1.17 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.243, allocations: 85.09 kB / 1.17 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.244, allocations: 1.116 MB / 1.171 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/1.245, allocations: 41.7 kB / 1.171 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/1.245, allocations: 298.7 kB / 1.171 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/1.245, allocations: 21.66 kB / 1.171 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/1.245, allocations: 14.19 kB / 1.172 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.245, allocations: 428.8 kB / 1.172 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.246, allocations: 1.207 MB / 1.173 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.247, allocations: 1.345 MB / 1.174 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.248, allocations: 1.594 MB / 1.176 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.248, allocations: 8 kB / 1.176 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003871/1.252, allocations: 3.424 MB / 1.179 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.252, allocations: 8.656 kB / 1.179 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.252, allocations: 4.766 kB / 1.179 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.252, allocations: 4 kB / 1.179 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/1.253, allocations: 142.7 kB / 1.179 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.253, allocations: 4 kB / 1.179 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/1.254, allocations: 246.9 kB / 1.18 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.254, allocations: 59.08 kB / 1.18 GB, free: 14.48 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.0001774/1.254, allocations: 133.7 kB / 1.18 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.254, allocations: 74.69 kB / 1.18 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.255, allocations: 0.9428 MB / 1.181 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.255, allocations: 0 / 1.181 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.255, allocations: 0 / 1.181 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.255, allocations: 0 / 1.181 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/1.256, allocations: 0.5239 MB / 1.181 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.256, allocations: 4.031 kB / 1.181 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/1.256, allocations: 4.75 kB / 1.181 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/1.256, allocations: 4 kB / 1.181 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.256, allocations: 3.984 kB / 1.181 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.256, allocations: 0 / 1.181 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.256, allocations: 7.938 kB / 1.181 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/1.257, allocations: 1.012 MB / 1.182 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/1.257, allocations: 159.5 kB / 1.183 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/1.257, allocations: 0 / 1.183 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/1.257, allocations: 8.547 kB / 1.183 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/1.258, allocations: 4 kB / 1.183 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/1.258, allocations: 15.97 kB / 1.183 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009703/1.259, allocations: 0.6944 MB / 1.183 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.1e-07/1.259, allocations: 4 kB / 1.183 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002241/1.261, allocations: 0.5027 MB / 1.184 GB, free: 10.59 MB / 0.7605 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.003282/1.264, allocations: 0.645 MB / 1.184 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002597/1.267, allocations: 2.35 MB / 1.187 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.267, allocations: 0 / 1.187 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/1.267, allocations: 338.4 kB / 1.187 GB, free: 8.047 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/1.268, allocations: 62.06 kB / 1.187 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/1.27, allocations: 1.476 MB / 1.189 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/1.271, allocations: 1.013 MB / 1.189 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002805/1.271, allocations: 60.08 kB / 1.19 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.271, allocations: 36.86 kB / 1.19 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/1.271, allocations: 0 / 1.19 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of Templates: time 0.02353/1.295, allocations: 11.25 MB / 1.201 GB, free: 10.25 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)