Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008907/0.008907, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001831/0.001831, allocations: 196.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.7 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002074/0.3307, allocations: 0.6246 MB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.332, allocations: 1.011 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.3321, allocations: 0 / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3321, allocations: 3.938 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007018/0.3328, allocations: 83.84 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.573e-05/0.3329, allocations: 7.984 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.961e-05/0.3329, allocations: 11.98 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.333, allocations: 4 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.333, allocations: 3.938 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3332, allocations: 31.97 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3332, allocations: 4 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3334, allocations: 83.91 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.3335, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3335, allocations: 11.92 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3336, allocations: 59.81 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3336, allocations: 4 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3336, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3337, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003264/0.334, allocations: 337.6 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.334, allocations: 11.97 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.3341, allocations: 4.938 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3342, allocations: 168.4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3342, allocations: 4.375 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3342, allocations: 384 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.3343, allocations: 33.83 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3343, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3344, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3344, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.3344, allocations: 3.938 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.3348, allocations: 468.6 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.023e-05/0.3349, allocations: 169.1 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.3349, allocations: 80.14 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.335, allocations: 75.28 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.335, allocations: 117.8 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.335, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.813e-05/0.3351, allocations: 29.64 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3352, allocations: 126.7 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3353, allocations: 101.8 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.3353, allocations: 29.7 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.3353, allocations: 84.05 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.3353, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.3354, allocations: 9.719 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3355, allocations: 318.8 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.3355, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.3355, allocations: 3.938 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.3356, allocations: 12.86 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3356, allocations: 3.938 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.3357, allocations: 37.75 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3357, allocations: 8 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3357, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3357, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.3357, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3358, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.3358, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3358, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.3359, allocations: 189.1 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.3359, allocations: 112.9 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.336, allocations: 112.3 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/0.3361, allocations: 184.2 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-05/0.3361, allocations: 180.3 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.299e-05/0.3362, allocations: 180.3 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3364, allocations: 417.1 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/0.3365, allocations: 101 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.3365, allocations: 101 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.394e-05/0.3366, allocations: 184.2 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.3366, allocations: 180.3 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.822e-05/0.3367, allocations: 184.2 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.077e-05/0.3368, allocations: 180.3 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.3369, allocations: 311.7 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.337, allocations: 178.1 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.3371, allocations: 184.2 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.3371, allocations: 109 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.3372, allocations: 176.3 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.3373, allocations: 108.9 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.3373, allocations: 79.28 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3373, allocations: 0 / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002645/0.3376, allocations: 20 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004092/0.338, allocations: 247.5 kB / 1.06 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.3381, allocations: 0 / 1.06 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3381, allocations: 0 / 1.06 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.792e-06/0.3381, allocations: 7.938 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3385, allocations: 0.5224 MB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.3389, allocations: 228.6 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3391, allocations: 0.677 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.3392, allocations: 11.38 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3392, allocations: 0 / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.002656/0.3418, allocations: 0.8677 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)