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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 12.88 kB / 0.9022 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2662, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001488/0.2677, allocations: 1.131 MB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005438/0.2732, allocations: 3.93 MB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.2732, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.063e-05/0.2733, allocations: 3.938 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.2735, allocations: 35.83 kB / 1.063 GB, free: 224 kB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.276, allocations: 1.13 MB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2762, allocations: 99.7 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.2762, allocations: 11.92 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.2763, allocations: 39.86 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.2765, allocations: 175.7 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.2766, allocations: 16 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.2791, allocations: 1.95 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.2793, allocations: 259.2 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.2794, allocations: 109.2 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.2809, allocations: 1.396 MB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2809, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2809, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.281, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8262 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.00707/0.288, allocations: 1.253 MB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2881, allocations: 8.031 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.2884, allocations: 90.66 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.2888, allocations: 355.8 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2888, allocations: 7.984 kB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.2889, allocations: 11.95 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.2893, allocations: 391.1 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2893, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2893, allocations: 3.984 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2893, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.2898, allocations: 435.8 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.2903, allocations: 0.6404 MB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.2909, allocations: 0.5594 MB / 1.072 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.2912, allocations: 337.7 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009817/0.2922, allocations: 1.044 MB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.2926, allocations: 408.8 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2926, allocations: 0 / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001292/0.2939, allocations: 1.289 MB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.2939, allocations: 81.11 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.2951, allocations: 1.207 MB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2951, allocations: 29.7 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.2953, allocations: 257.4 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2954, allocations: 27.64 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2954, allocations: 4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2956, allocations: 415.9 kB / 1.077 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.2968, allocations: 1.369 MB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.2982, allocations: 1.506 MB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.2998, allocations: 1.91 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2998, allocations: 0 / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004133/0.3039, allocations: 3.987 MB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.304, allocations: 4 kB / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.304, allocations: 11.97 kB / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.304, allocations: 0 / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3041, allocations: 19.92 kB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3042, allocations: 4 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.3046, allocations: 228.2 kB / 1.086 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.3046, allocations: 31.97 kB / 1.086 GB, free: 8.609 MB / 0.8419 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * 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.0002791/0.3049, allocations: 241.7 kB / 1.086 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.305, allocations: 70.73 kB / 1.086 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.3052, allocations: 75.02 kB / 1.086 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3053, allocations: 3.984 kB / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3053, allocations: 0 / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3053, allocations: 0 / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.3057, allocations: 0.4891 MB / 1.086 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3057, allocations: 0 / 1.086 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.3058, allocations: 8.031 kB / 1.086 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3058, allocations: 4 kB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3058, allocations: 7.938 kB / 1.086 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3058, allocations: 0 / 1.086 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3058, allocations: 8 kB / 1.086 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.3067, allocations: 0.9974 MB / 1.087 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3069, allocations: 159.8 kB / 1.088 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.3069, allocations: 4 kB / 1.088 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3071, allocations: 7.953 kB / 1.088 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3071, allocations: 7.984 kB / 1.088 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3071, allocations: 7.984 kB / 1.088 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007063/0.3078, allocations: 0.665 MB / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3078, allocations: 0 / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001357/0.3092, allocations: 0.5701 MB / 1.089 GB, free: 5.176 MB / 0.8419 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.001615/0.3108, allocations: 0.6935 MB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.3131, allocations: 2.544 MB / 1.092 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3131, allocations: 0 / 1.092 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.3135, allocations: 347.7 kB / 1.092 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3137, allocations: 40.72 kB / 1.092 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3158, allocations: 1.828 MB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3163, allocations: 0.9643 MB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.3165, allocations: 32.56 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.3166, allocations: 27.41 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3166, allocations: 0 / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of Templates: time 0.01991/0.3365, allocations: 13.01 MB / 1.108 GB, free: 1.668 MB / 0.8575 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)