Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001139/0.001139, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 187.1 kB / 16.62 MB, free: 6.582 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.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.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.001727/0.001727, allocations: 76.52 kB / 0.6723 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2513, allocations: 114.5 MB / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001765/0.2531, allocations: 0.5609 MB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2543, allocations: 0.9837 MB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.2543, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.2543, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0006703/0.255, allocations: 95.78 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.543e-05/0.255, allocations: 15.92 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.2551, allocations: 7.984 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.2551, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.2552, allocations: 3.938 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.2552, allocations: 4 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.2552, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.2554, allocations: 75.91 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.2554, allocations: 3.938 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.2555, allocations: 4 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2556, allocations: 71.86 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2556, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2556, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.2557, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 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.0003471/0.256, allocations: 339.4 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.256, allocations: 8.031 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.2561, allocations: 4.938 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2562, allocations: 168.3 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2562, allocations: 384 / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.2562, allocations: 384 / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.2563, allocations: 37.83 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2564, allocations: 0 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2564, allocations: 0 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2564, allocations: 0 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.2564, allocations: 7.984 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.2569, allocations: 464.5 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.257, allocations: 173.1 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.257, allocations: 84.17 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2571, allocations: 79.28 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.2571, allocations: 109.8 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2571, allocations: 0 / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.457e-05/0.2572, allocations: 29.64 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.2573, allocations: 126.7 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.2574, allocations: 109.8 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.2574, allocations: 25.7 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.2575, allocations: 80.14 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.2575, allocations: 0 / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2575, allocations: 13.72 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2576, allocations: 318.8 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.2576, allocations: 0 / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.2576, allocations: 4 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.2577, allocations: 12.86 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2577, allocations: 0 / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.995e-05/0.2578, allocations: 33.64 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2578, allocations: 8 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2578, allocations: 0 / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2578, allocations: 0 / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.419e-05/0.2579, allocations: 0 / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2579, allocations: 0 / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.2579, allocations: 4.078 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2579, allocations: 11.94 kB / 0.7881 GB, free: 8.418 MB / 0.6075 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 8.763e-05/0.258, allocations: 185.1 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.2581, allocations: 104.9 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.2581, allocations: 119.8 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.197e-05/0.2582, allocations: 177.3 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.409e-05/0.2583, allocations: 188.2 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/0.2584, allocations: 176.3 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2586, allocations: 405.2 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/0.2586, allocations: 108.9 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2587, allocations: 105 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.004e-05/0.2587, allocations: 184.2 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.2588, allocations: 184.3 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.531e-05/0.2589, allocations: 176.5 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/0.259, allocations: 184.2 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.2591, allocations: 311.7 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.2592, allocations: 190 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.2592, allocations: 188.2 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.2593, allocations: 101 kB / 0.791 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.2594, allocations: 176.3 kB / 0.7912 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.2594, allocations: 108.9 kB / 0.7913 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.2595, allocations: 75.28 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2595, allocations: 8 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002535/0.2598, allocations: 23.98 kB / 0.7914 GB, free: 4.785 MB / 0.6075 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.0003481/0.2601, allocations: 229.9 kB / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.73e-05/0.2602, allocations: 7.984 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2602, allocations: 0 / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.2602, allocations: 4.062 kB / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2606, allocations: 466.8 kB / 0.7921 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.2608, allocations: 156.2 kB / 0.7922 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2611, allocations: 0.6729 MB / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.2611, allocations: 8 kB / 0.7929 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.2611, allocations: 11.38 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2612, allocations: 0 / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of Templates: time 0.002719/0.2639, allocations: 0.6508 MB / 0.7936 GB, free: 2.586 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)