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_100boreholes.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.565/2.565, allocations: 287.5 MB / 303.2 MB, free: 8.309 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.001391/0.00139, allocations: 178.4 kB / 371.8 MB, free: 10.82 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.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009886/0.0009883, allocations: 103.3 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006684/0.0006687, allocations: 15.86 kB / 0.8668 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.218, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9487/1.167, allocations: 152.7 MB / 1.128 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/1.167, allocations: 115.4 kB / 1.129 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1696/1.337, allocations: 25.1 MB / 1.153 GB, free: 21.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.337, allocations: 0 / 1.153 GB, free: 21.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.968e-05/1.337, allocations: 19.22 kB / 1.153 GB, free: 21.54 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.004491/1.342, allocations: 1.612 MB / 1.155 GB, free: 19.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.342, allocations: 16.03 kB / 1.155 GB, free: 19.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/1.342, allocations: 158.4 kB / 1.155 GB, free: 19.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.344, allocations: 0.678 MB / 1.156 GB, free: 19.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/1.344, allocations: 26 kB / 1.156 GB, free: 19.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/1.344, allocations: 39.19 kB / 1.156 GB, free: 19.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/1.344, allocations: 385.6 kB / 1.156 GB, free: 18.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.344, allocations: 8.188 kB / 1.156 GB, free: 18.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/1.344, allocations: 7.922 kB / 1.156 GB, free: 18.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.344, allocations: 0 / 1.156 GB, free: 18.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/1.345, allocations: 431.7 kB / 1.156 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/1.346, allocations: 0.9859 MB / 1.157 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/1.347, allocations: 0.5616 MB / 1.158 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/1.347, allocations: 336.2 kB / 1.158 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.349, allocations: 1.032 MB / 1.159 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/1.349, allocations: 410.4 kB / 1.16 GB, free: 14.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.905e-06/1.349, allocations: 0 / 1.16 GB, free: 14.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002227/1.352, allocations: 1.363 MB / 1.161 GB, free: 13.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/1.352, allocations: 77.11 kB / 1.161 GB, free: 13.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/1.355, allocations: 1.853 MB / 1.163 GB, free: 11.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/1.355, allocations: 44.89 kB / 1.163 GB, free: 11.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/1.356, allocations: 490.8 kB / 1.163 GB, free: 11.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/1.356, allocations: 26.11 kB / 1.163 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.356, allocations: 17.44 kB / 1.163 GB, free: 11.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002392/1.356, allocations: 406.5 kB / 1.164 GB, free: 11.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.359, allocations: 1.482 MB / 1.165 GB, free: 10.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/1.363, allocations: 1.619 MB / 1.167 GB, free: 8.918 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008336/1.371, allocations: 3.016 MB / 1.17 GB, free: 6.609 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.371, allocations: 0 / 1.17 GB, free: 6.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008532/1.38, allocations: 4.04 MB / 1.174 GB, free: 3.438 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/1.38, allocations: 15.92 kB / 1.174 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/1.38, allocations: 20 kB / 1.174 GB, free: 3.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.38, allocations: 4 kB / 1.174 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.381, allocations: 143.1 kB / 1.174 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.381, allocations: 4 kB / 1.174 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.383, allocations: 243.4 kB / 1.174 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/1.383, allocations: 102.3 kB / 1.174 GB, free: 2.941 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 () * 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.0009074/1.384, allocations: 384.6 kB / 1.175 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/1.384, allocations: 130 kB / 1.175 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/1.386, allocations: 1.005 MB / 1.176 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.386, allocations: 4 kB / 1.176 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.386, allocations: 4.031 kB / 1.176 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.386, allocations: 0 / 1.176 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.387, allocations: 0.6791 MB / 1.176 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.387, allocations: 3.984 kB / 1.176 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/1.388, allocations: 7.875 kB / 1.176 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.388, allocations: 7.938 kB / 1.176 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/1.388, allocations: 7.984 kB / 1.176 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.388, allocations: 0 / 1.176 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.388, allocations: 4 kB / 1.176 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.389, allocations: 1.052 MB / 1.177 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/1.39, allocations: 215 kB / 1.178 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.39, allocations: 3.938 kB / 1.178 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/1.391, allocations: 4 kB / 1.178 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/1.391, allocations: 11.3 kB / 1.178 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/1.391, allocations: 15.98 kB / 1.178 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002422/1.393, allocations: 1.108 MB / 1.179 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.02e-07/1.393, allocations: 0 / 1.179 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002407/1.396, allocations: 0.5195 MB / 1.179 GB, free: 14.07 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.002673/1.398, allocations: 0.56 MB / 1.18 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003933/1.402, allocations: 2.519 MB / 1.182 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.402, allocations: 0 / 1.182 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/1.403, allocations: 338.9 kB / 1.183 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/1.404, allocations: 67.81 kB / 1.183 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/1.41, allocations: 2.727 MB / 1.185 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.411, allocations: 1.155 MB / 1.186 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007862/1.412, allocations: 126.4 kB / 1.187 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/1.412, allocations: 69.88 kB / 1.187 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.412, allocations: 0 / 1.187 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of Templates: time 0.03816/1.45, allocations: 11.75 MB / 1.198 GB, free: 11.66 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)