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.004513/0.004513, allocations: 104.2 kB / 15.74 MB, free: 6.445 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.001197/0.001197, allocations: 191.8 kB / 16.67 MB, free: 6.352 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.61/1.61, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001502/0.001502, allocations: 76.41 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2547, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001945/0.2567, allocations: 0.5623 MB / 0.8286 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2582, allocations: 0.9878 MB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.2582, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2582, allocations: 0 / 0.8296 GB, free: 14.61 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.0008015/0.2591, allocations: 87.77 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-05/0.2591, allocations: 15.94 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.2592, allocations: 4 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.2592, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.2592, allocations: 11.98 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.2593, allocations: 7.938 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.2593, allocations: 0 / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.2595, allocations: 75.91 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2595, allocations: 0 / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.2596, allocations: 3.938 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.2597, allocations: 75.78 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2598, allocations: 7.938 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2598, allocations: 0 / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2598, allocations: 0 / 0.8299 GB, free: 14.32 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.0003893/0.2602, allocations: 339.3 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2602, allocations: 8.031 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.2603, allocations: 0.9375 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2604, allocations: 168.4 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2604, allocations: 384 / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.2604, allocations: 384 / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.909e-05/0.2605, allocations: 41.8 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2606, allocations: 0 / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2606, allocations: 0 / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2606, allocations: 0 / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.2606, allocations: 7.938 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.2611, allocations: 464.6 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.2612, allocations: 165.1 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.2612, allocations: 84.14 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.2613, allocations: 79.28 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.2613, allocations: 113.8 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2613, allocations: 3.938 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.202e-05/0.2614, allocations: 29.69 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.2615, allocations: 126.7 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.2616, allocations: 97.86 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2616, allocations: 25.7 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.2617, allocations: 92.09 kB / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.2617, allocations: 0 / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2617, allocations: 13.7 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2618, allocations: 322.7 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.2618, allocations: 4 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.2619, allocations: 0 / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.2619, allocations: 12.8 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2619, allocations: 4.062 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.827e-05/0.262, allocations: 29.7 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.262, allocations: 8 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.262, allocations: 0 / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.262, allocations: 0 / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.2621, allocations: 3.984 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2621, allocations: 0 / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.2621, allocations: 0 / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.2621, allocations: 0 / 0.832 GB, free: 11.88 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 0.0001039/0.2622, allocations: 193.1 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.2623, allocations: 108.9 kB / 0.8323 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.2623, allocations: 108 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.2624, allocations: 184.2 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.426e-05/0.2625, allocations: 180.2 kB / 0.8328 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/0.2626, allocations: 176.3 kB / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.2628, allocations: 417.1 kB / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/0.2629, allocations: 101 kB / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.2629, allocations: 101 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.211e-05/0.263, allocations: 180.2 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.2631, allocations: 180.5 kB / 0.8339 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.44e-05/0.2631, allocations: 192.2 kB / 0.8341 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-05/0.2632, allocations: 184.2 kB / 0.8342 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.2633, allocations: 303.7 kB / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.2634, allocations: 182.1 kB / 0.8347 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.2635, allocations: 188.2 kB / 0.8349 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.2636, allocations: 105 kB / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.2636, allocations: 180.2 kB / 0.8352 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.2637, allocations: 101 kB / 0.8352 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.2637, allocations: 83.45 kB / 0.8353 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2637, allocations: 0 / 0.8353 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002543/0.264, allocations: 23.94 kB / 0.8353 GB, free: 8.254 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.0003749/0.2644, allocations: 236.8 kB / 0.8356 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.086e-05/0.2645, allocations: 4 kB / 0.8356 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2645, allocations: 0 / 0.8356 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.2645, allocations: 3.938 kB / 0.8356 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2648, allocations: 463.7 kB / 0.836 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.2651, allocations: 156.2 kB / 0.8362 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2653, allocations: 0.6766 MB / 0.8368 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.2653, allocations: 4 kB / 0.8368 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.2653, allocations: 7.438 kB / 0.8368 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2653, allocations: 0 / 0.8368 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.002815/0.2682, allocations: 0.6687 MB / 0.8375 GB, free: 6.039 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)