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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",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 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 188.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 0.7915 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 99.75 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.169e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.34, allocations: 173.5 MB / 1.388 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.34, allocations: 122 kB / 1.388 GB, free: 12.73 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.1137/1.454, allocations: 30.3 MB / 1.418 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/1.454, allocations: 0 / 1.418 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.927e-05/1.454, allocations: 16 kB / 1.418 GB, free: 2.262 MB / 0.8698 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.003106/1.457, allocations: 1.12 MB / 1.419 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.457, allocations: 8.031 kB / 1.419 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/1.457, allocations: 106.7 kB / 1.419 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/1.458, allocations: 423.2 kB / 1.42 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/1.458, allocations: 26.62 kB / 1.42 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.684e-05/1.458, allocations: 38.67 kB / 1.42 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/1.459, allocations: 381.7 kB / 1.42 GB, free: 164 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.459, allocations: 0 / 1.42 GB, free: 164 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.459, allocations: 8 kB / 1.42 GB, free: 156 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.459, allocations: 3.984 kB / 1.42 GB, free: 152 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/1.459, allocations: 431.2 kB / 1.42 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/1.46, allocations: 0.7426 MB / 1.421 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/1.461, allocations: 0.5654 MB / 1.422 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/1.461, allocations: 329.3 kB / 1.422 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.462, allocations: 1.04 MB / 1.423 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/1.462, allocations: 391.4 kB / 1.423 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 2.285e-06/1.462, allocations: 7.938 kB / 1.423 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.001059/1.464, allocations: 0.9662 MB / 1.424 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.464, allocations: 88.72 kB / 1.424 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.465, allocations: 1.063 MB / 1.425 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/1.465, allocations: 39.33 kB / 1.425 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/1.465, allocations: 272 kB / 1.426 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/1.465, allocations: 26.95 kB / 1.426 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/1.465, allocations: 17.88 kB / 1.426 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.465, allocations: 420 kB / 1.426 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.467, allocations: 1.214 MB / 1.427 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.468, allocations: 1.353 MB / 1.429 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/1.47, allocations: 1.618 MB / 1.43 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.47, allocations: 0 / 1.43 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004328/1.474, allocations: 3.457 MB / 1.434 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.474, allocations: 8 kB / 1.434 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.474, allocations: 0 / 1.434 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.474, allocations: 8.031 kB / 1.434 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/1.475, allocations: 146.5 kB / 1.434 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.475, allocations: 12.05 kB / 1.434 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/1.476, allocations: 241.2 kB / 1.434 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/1.476, allocations: 67.23 kB / 1.434 GB, free: 3.953 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0001754/1.476, allocations: 131.7 kB / 1.434 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/1.476, allocations: 66.77 kB / 1.434 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009617/1.477, allocations: 0.9344 MB / 1.435 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.477, allocations: 0 / 1.435 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.477, allocations: 0 / 1.435 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.477, allocations: 4 kB / 1.435 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/1.477, allocations: 0.4898 MB / 1.436 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.478, allocations: 0 / 1.436 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/1.478, allocations: 11.98 kB / 1.436 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.478, allocations: 0 / 1.436 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.478, allocations: 3.312 kB / 1.436 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.478, allocations: 8.031 kB / 1.436 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.478, allocations: 3.938 kB / 1.436 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/1.479, allocations: 0.9976 MB / 1.437 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.479, allocations: 151.9 kB / 1.437 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/1.479, allocations: 3.25 kB / 1.437 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.479, allocations: 19.92 kB / 1.437 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.479, allocations: 7.984 kB / 1.437 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/1.479, allocations: 11.98 kB / 1.437 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007757/1.48, allocations: 0.651 MB / 1.438 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/1.48, allocations: 0 / 1.438 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002642/1.483, allocations: 0.6992 MB / 1.438 GB, free: 15.93 MB / 0.9011 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.003888/1.486, allocations: 0.794 MB / 1.439 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002604/1.489, allocations: 2.398 MB / 1.441 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.489, allocations: 0 / 1.441 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/1.489, allocations: 342.4 kB / 1.442 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/1.49, allocations: 36.3 kB / 1.442 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/1.492, allocations: 1.434 MB / 1.443 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.492, allocations: 0.9852 MB / 1.444 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002306/1.493, allocations: 55.28 kB / 1.444 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/1.493, allocations: 37.55 kB / 1.444 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of SimCode: time 1.904e-06/1.493, allocations: 0 / 1.444 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of Templates: time 0.02385/1.517, allocations: 13.22 MB / 1.457 GB, free: 13.5 MB / 0.9167 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)