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.59/1.59, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001152/0.001152, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.527/1.527, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008968/0.0008968, allocations: 94.61 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.787e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6934, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.9182, allocations: 157.7 MB / 1.127 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.9186, allocations: 112.5 kB / 1.127 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1013/1.02, allocations: 29.47 MB / 1.156 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.483e-06/1.02, allocations: 0 / 1.156 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.107e-05/1.02, allocations: 16 kB / 1.156 GB, free: 10.91 MB / 0.7605 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.002208/1.022, allocations: 1.048 MB / 1.157 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.022, allocations: 12.03 kB / 1.157 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/1.023, allocations: 102.6 kB / 1.157 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/1.023, allocations: 472.7 kB / 1.158 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/1.023, allocations: 0 / 1.158 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/1.023, allocations: 20 kB / 1.158 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004421/1.024, allocations: 423.8 kB / 1.158 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/1.024, allocations: 383.2 kB / 1.159 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.024, allocations: 0 / 1.159 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/1.024, allocations: 0 / 1.159 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.024, allocations: 0 / 1.159 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/1.025, allocations: 0.7225 MB / 1.159 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/1.026, allocations: 0.5632 MB / 1.16 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/1.026, allocations: 333.7 kB / 1.16 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.027, allocations: 1.032 MB / 1.161 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/1.028, allocations: 400.8 kB / 1.162 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.028, allocations: 0 / 1.162 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001245/1.029, allocations: 0.9684 MB / 1.162 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/1.029, allocations: 85.09 kB / 1.163 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.03, allocations: 1.06 MB / 1.164 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/1.03, allocations: 25.7 kB / 1.164 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/1.03, allocations: 282.1 kB / 1.164 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.031, allocations: 27.73 kB / 1.164 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/1.031, allocations: 0 / 1.164 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002418/1.031, allocations: 423.8 kB / 1.164 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/1.032, allocations: 1.194 MB / 1.165 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.034, allocations: 1.328 MB / 1.167 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/1.035, allocations: 1.583 MB / 1.168 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.035, allocations: 0 / 1.168 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003978/1.039, allocations: 3.38 MB / 1.172 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.039, allocations: 8 kB / 1.172 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.039, allocations: 0 / 1.172 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.039, allocations: 6 kB / 1.172 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/1.04, allocations: 151.7 kB / 1.172 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.04, allocations: 4 kB / 1.172 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/1.041, allocations: 228.3 kB / 1.172 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.041, allocations: 55.98 kB / 1.172 GB, free: 10.12 MB / 0.7761 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.0001361/1.041, allocations: 123 kB / 1.172 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/1.041, allocations: 74.69 kB / 1.172 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/1.042, allocations: 0.9314 MB / 1.173 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.042, allocations: 4 kB / 1.173 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.042, allocations: 0 / 1.173 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.042, allocations: 3.938 kB / 1.173 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/1.042, allocations: 0.4893 MB / 1.174 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.042, allocations: 0 / 1.174 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/1.042, allocations: 15.98 kB / 1.174 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.042, allocations: 0 / 1.174 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.042, allocations: 7.984 kB / 1.174 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.042, allocations: 1.625 kB / 1.174 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.042, allocations: 0 / 1.174 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/1.043, allocations: 1.009 MB / 1.175 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/1.043, allocations: 163.7 kB / 1.175 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/1.043, allocations: 5.781 kB / 1.175 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/1.044, allocations: 7.984 kB / 1.175 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/1.044, allocations: 4 kB / 1.175 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/1.044, allocations: 15.97 kB / 1.175 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006407/1.044, allocations: 0.64 MB / 1.175 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.61e-07/1.044, allocations: 0 / 1.175 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001551/1.046, allocations: 491.3 kB / 1.176 GB, free: 6.055 MB / 0.7761 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.001495/1.047, allocations: 0.6589 MB / 1.177 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001999/1.049, allocations: 2.326 MB / 1.179 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.049, allocations: 0 / 1.179 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/1.05, allocations: 331.8 kB / 1.179 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/1.05, allocations: 54.31 kB / 1.179 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.052, allocations: 1.477 MB / 1.181 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/1.052, allocations: 1.009 MB / 1.182 GB, free: 144 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002037/1.053, allocations: 63.27 kB / 1.182 GB, free: 84 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.053, allocations: 35.42 kB / 1.182 GB, free: 48 kB / 0.7761 GB Notification: Performance of SimCode: time 2.8e-07/1.053, allocations: 0 / 1.182 GB, free: 48 kB / 0.7761 GB Notification: Performance of Templates: time 0.01734/1.07, allocations: 9.979 MB / 1.191 GB, free: 6.172 MB / 0.7917 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)