Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.702/1.702, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001984, allocations: 191.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007159/0.0007159, allocations: 102.6 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 12 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6831, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.8774, allocations: 156.2 MB / 1.179 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.8778, allocations: 117.3 kB / 1.179 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.078/0.9558, allocations: 22.07 MB / 1.201 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9558, allocations: 0 / 1.201 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.771e-05/0.9559, allocations: 12 kB / 1.201 GB, free: 15.65 MB / 0.7761 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.002177/0.9581, allocations: 1.137 MB / 1.202 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9581, allocations: 11.97 kB / 1.202 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003728/0.9585, allocations: 95.69 kB / 1.202 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.9591, allocations: 428.9 kB / 1.202 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.9591, allocations: 20.38 kB / 1.202 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.9592, allocations: 36.38 kB / 1.202 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.9596, allocations: 384.8 kB / 1.203 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9596, allocations: 192 / 1.203 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.9597, allocations: 12.52 kB / 1.203 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9597, allocations: 4 kB / 1.203 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.9601, allocations: 437 kB / 1.203 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.9608, allocations: 0.7476 MB / 1.204 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.9613, allocations: 0.5672 MB / 1.204 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.9616, allocations: 329.7 kB / 1.205 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/0.9625, allocations: 1.034 MB / 1.206 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.9629, allocations: 406.2 kB / 1.206 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.9629, allocations: 0 / 1.206 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001236/0.9642, allocations: 1.301 MB / 1.207 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9642, allocations: 85.22 kB / 1.207 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.9654, allocations: 1.202 MB / 1.209 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.9655, allocations: 41.7 kB / 1.209 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.9657, allocations: 270 kB / 1.209 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.9658, allocations: 27.64 kB / 1.209 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.9658, allocations: 16 kB / 1.209 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.966, allocations: 411.8 kB / 1.209 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.9673, allocations: 1.218 MB / 1.21 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.9686, allocations: 1.361 MB / 1.212 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/0.9735, allocations: 2.754 MB / 1.214 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.9735, allocations: 0 / 1.214 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004062/0.9776, allocations: 3.452 MB / 1.218 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9776, allocations: 7.938 kB / 1.218 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.9776, allocations: 0 / 1.218 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9777, allocations: 4 kB / 1.218 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.9783, allocations: 143.8 kB / 1.218 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.9783, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.9789, allocations: 244.3 kB / 1.218 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/0.979, allocations: 59.92 kB / 1.218 GB, free: 12.84 MB / 0.7917 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.0003107/0.9793, allocations: 262.1 kB / 1.219 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.9794, allocations: 71.98 kB / 1.219 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.9804, allocations: 0.9416 MB / 1.22 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9804, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9804, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9804, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.9808, allocations: 499.2 kB / 1.22 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9809, allocations: 4 kB / 1.22 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.9809, allocations: 7.984 kB / 1.22 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.981, allocations: 4.969 kB / 1.22 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.981, allocations: 4 kB / 1.22 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.981, allocations: 0 / 1.22 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.981, allocations: 0 / 1.22 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.9818, allocations: 1.01 MB / 1.221 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.982, allocations: 147.9 kB / 1.221 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.9821, allocations: 7.938 kB / 1.221 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.9822, allocations: 3.984 kB / 1.221 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.9823, allocations: 6.062 kB / 1.221 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.9823, allocations: 19.97 kB / 1.221 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006881/0.983, allocations: 0.657 MB / 1.222 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.41e-07/0.983, allocations: 0.8438 kB / 1.222 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00141/0.9844, allocations: 495.3 kB / 1.222 GB, free: 8.625 MB / 0.7917 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.002023/0.9865, allocations: 0.5591 MB / 1.223 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.9887, allocations: 2.367 MB / 1.225 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9887, allocations: 0 / 1.225 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.989, allocations: 335.8 kB / 1.225 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.9894, allocations: 42.94 kB / 1.226 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.9916, allocations: 1.849 MB / 1.227 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.9921, allocations: 0.9614 MB / 1.228 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.9924, allocations: 56.7 kB / 1.228 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.9925, allocations: 39.42 kB / 1.228 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of SimCode: time 4.21e-07/0.9925, allocations: 0 / 1.228 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of Templates: time 0.0176/1.01, allocations: 9.439 MB / 1.238 GB, free: 9.035 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)