Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00544/0.00544, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001167/0.001167, allocations: 195.1 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 251.7 MB / 0.5094 GB, free: 2.984 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 72.47 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2357, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002069/0.2378, allocations: 0.569 MB / 0.8286 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2394, allocations: 0.9801 MB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.2394, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.2394, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/shaGFunction.mo:2:1-78:17:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction' contains a call to impure function 'Buildings.Utilities.Cryptographics.sha'. Notification: Performance of NFTyping.typeBindings: time 0.0007822/0.2402, allocations: 99.77 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.283e-05/0.2403, allocations: 7.938 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.2404, allocations: 4 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.2404, allocations: 8 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.2404, allocations: 3.938 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.2405, allocations: 11.92 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.2405, allocations: 0 / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2407, allocations: 75.92 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2407, allocations: 7.984 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.2407, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2409, allocations: 71.84 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2409, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2409, allocations: 3.938 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2409, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 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.0003355/0.2413, allocations: 335.4 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2413, allocations: 8.031 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.2414, allocations: 4.938 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2415, allocations: 160.4 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2415, allocations: 384 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.2415, allocations: 384 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.2416, allocations: 41.81 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2416, allocations: 0 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.2416, allocations: 0 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2416, allocations: 0 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.2417, allocations: 0 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.2421, allocations: 468.5 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.2422, allocations: 173.1 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.2422, allocations: 80.14 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2422, allocations: 75.28 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.2423, allocations: 109.8 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.2423, allocations: 0 / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.228e-05/0.2423, allocations: 33.62 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.2424, allocations: 130.7 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.2425, allocations: 101.9 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2425, allocations: 25.7 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.2426, allocations: 84.05 kB / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.2426, allocations: 0 / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2426, allocations: 17.7 kB / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2427, allocations: 318.8 kB / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.2427, allocations: 4 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.2427, allocations: 0 / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.2428, allocations: 8.859 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.2428, allocations: 7.938 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.606e-05/0.2429, allocations: 33.64 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2429, allocations: 8 kB / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2429, allocations: 0 / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2429, allocations: 3.938 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.167e-05/0.243, allocations: 3.984 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.243, allocations: 4.094 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.243, allocations: 0 / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.243, allocations: 0 / 0.832 GB, free: 11.86 MB / 0.6544 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.249e-05/0.2431, allocations: 193.1 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.2432, allocations: 101 kB / 0.8323 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.2432, allocations: 108 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/0.2433, allocations: 188.2 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.488e-05/0.2434, allocations: 180.2 kB / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-05/0.2434, allocations: 176.3 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.2437, allocations: 413.1 kB / 0.8333 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/0.2437, allocations: 101 kB / 0.8334 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.2438, allocations: 101 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.043e-05/0.2438, allocations: 184.2 kB / 0.8337 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.2439, allocations: 184.5 kB / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.166e-05/0.244, allocations: 188.2 kB / 0.8341 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.524e-05/0.244, allocations: 180.2 kB / 0.8342 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2441, allocations: 311.7 kB / 0.8345 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.2442, allocations: 178.3 kB / 0.8347 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2443, allocations: 188.2 kB / 0.8349 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.2444, allocations: 101 kB / 0.835 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.2444, allocations: 180.2 kB / 0.8351 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.2445, allocations: 104.9 kB / 0.8352 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.2445, allocations: 91.27 kB / 0.8353 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2445, allocations: 0 / 0.8353 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002523/0.2448, allocations: 20 kB / 0.8353 GB, free: 8.23 MB / 0.6544 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.0003407/0.2451, allocations: 229.4 kB / 0.8356 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.839e-05/0.2452, allocations: 7.938 kB / 0.8356 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2452, allocations: 4.062 kB / 0.8356 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.2452, allocations: 0 / 0.8356 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.2456, allocations: 474.1 kB / 0.836 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.2458, allocations: 152.4 kB / 0.8362 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2461, allocations: 0.6766 MB / 0.8368 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.2461, allocations: 15.91 kB / 0.8368 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.2461, allocations: 7.438 kB / 0.8369 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2461, allocations: 0 / 0.8369 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of Templates: time 0.003122/0.2493, allocations: 0.662 MB / 0.8375 GB, free: 6.012 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)