Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001572/0.001572, allocations: 105.1 kB / 15.99 MB, free: 5.891 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.00149/0.00149, allocations: 186 kB / 16.91 MB, free: 5.746 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 469.8 MB / 0.7427 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 78.12 kB / 0.9088 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.304, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002046/0.3061, allocations: 0.6325 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3075, allocations: 1.001 MB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.3076, allocations: 0 / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.3076, allocations: 0 / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007252/0.3083, allocations: 83.84 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.609e-05/0.3084, allocations: 15.92 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.3084, allocations: 8 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3085, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.3085, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.3087, allocations: 35.91 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.3088, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.309, allocations: 79.91 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.309, allocations: 4 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.309, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3091, allocations: 55.92 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3091, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3091, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3092, allocations: 7.938 kB / 1.066 GB, free: 12.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003766/0.3095, allocations: 335.7 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3096, allocations: 12.03 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3096, allocations: 0.9375 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3098, allocations: 168.3 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3098, allocations: 384 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3098, allocations: 384 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.3099, allocations: 33.83 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3099, allocations: 4 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3099, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3099, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.31, allocations: 4 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.3104, allocations: 468.5 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3106, allocations: 177.1 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.3106, allocations: 88.12 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.3106, allocations: 75.28 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.3107, allocations: 105.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3107, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.135e-05/0.3108, allocations: 33.55 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3109, allocations: 126.7 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.311, allocations: 109.8 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.311, allocations: 25.7 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.3111, allocations: 80.14 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3111, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3111, allocations: 13.72 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3113, allocations: 318.8 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.3113, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-06/0.3113, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.3113, allocations: 8.922 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3113, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001145/0.3115, allocations: 41.62 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3115, allocations: 5.25 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3115, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3115, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-05/0.3115, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3115, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.3116, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3116, allocations: 7.969 kB / 1.068 GB, free: 10.16 MB / 0.8262 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 0.0001105/0.3117, allocations: 193.1 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.3118, allocations: 105 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.3119, allocations: 112 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.173e-05/0.3119, allocations: 176.3 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.864e-05/0.312, allocations: 188.2 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-05/0.3121, allocations: 180.3 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3124, allocations: 409.2 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-05/0.3125, allocations: 104.9 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.3125, allocations: 101 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.197e-05/0.3126, allocations: 188.2 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.3127, allocations: 180.3 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.475e-05/0.3128, allocations: 180.3 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-05/0.3129, allocations: 184.2 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.313, allocations: 311.7 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.3131, allocations: 182.1 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/0.3132, allocations: 180.3 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.3133, allocations: 104.9 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.3134, allocations: 180.2 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/0.3134, allocations: 108.9 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.3135, allocations: 83.28 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3135, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002663/0.3138, allocations: 20 kB / 1.072 GB, free: 6.543 MB / 0.8262 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.0004213/0.3142, allocations: 240.7 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.446e-05/0.3143, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3143, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.3143, allocations: 64 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.3147, allocations: 470.2 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.3151, allocations: 229.9 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3154, allocations: 0.6766 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3155, allocations: 7.438 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.064e-06/0.3155, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.002585/0.3181, allocations: 0.8733 MB / 1.074 GB, free: 4 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)