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.0008212/0.0008213, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005169/0.005169, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.394/1.394, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.69/1.69, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005354/0.0005354, allocations: 13.5 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2301, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007665/0.2309, allocations: 306 kB / 0.7882 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2324, allocations: 0.9848 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.2325, allocations: 0 / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.2325, allocations: 0 / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007147/0.2332, allocations: 83.84 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.499e-05/0.2333, allocations: 7.938 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.934e-05/0.2333, allocations: 4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.2334, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.2334, allocations: 3.938 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.2336, allocations: 44.62 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.2336, allocations: 3.938 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2338, allocations: 83.89 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.2338, allocations: 4 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.2339, allocations: 29.64 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2341, allocations: 71.91 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2341, allocations: 0 / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2341, allocations: 0 / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2341, allocations: 0 / 0.7895 GB, free: 9.922 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.0003189/0.2344, allocations: 331.8 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2345, allocations: 8.031 kB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2345, allocations: 0.9375 kB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2346, allocations: 172.2 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2346, allocations: 384 / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2347, allocations: 384 / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.2348, allocations: 41.81 kB / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2348, allocations: 0 / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2348, allocations: 0 / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2348, allocations: 0 / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.2348, allocations: 7.984 kB / 0.79 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.2353, allocations: 464.6 kB / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.2354, allocations: 169.1 kB / 0.7906 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.2354, allocations: 80.14 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2355, allocations: 83.22 kB / 0.7908 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.2355, allocations: 117.9 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.2355, allocations: 0 / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.85e-05/0.2356, allocations: 33.62 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.2357, allocations: 126.7 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2358, allocations: 93.86 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2358, allocations: 25.7 kB / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.2359, allocations: 92.14 kB / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.2359, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.2359, allocations: 9.719 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2361, allocations: 318.8 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.2361, allocations: 0 / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.2361, allocations: 4 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.2361, allocations: 4.859 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2361, allocations: 0 / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.2363, allocations: 45.7 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2363, allocations: 4 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2363, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2363, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.308e-05/0.2363, allocations: 3.984 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2363, allocations: 7.938 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.2364, allocations: 0 / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2364, allocations: 0 / 0.7916 GB, free: 7.477 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 0.0001191/0.2365, allocations: 189.1 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.2366, allocations: 105 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.2367, allocations: 108 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.874e-05/0.2367, allocations: 176.3 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.532e-05/0.2368, allocations: 188.3 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-05/0.2369, allocations: 184.3 kB / 0.7925 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2372, allocations: 405.2 kB / 0.7929 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/0.2372, allocations: 104.9 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.2372, allocations: 109 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.437e-05/0.2373, allocations: 180.2 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.2374, allocations: 176.3 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-05/0.2375, allocations: 176.3 kB / 0.7936 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.502e-05/0.2375, allocations: 192.2 kB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.2377, allocations: 319.5 kB / 0.7941 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.2378, allocations: 182.1 kB / 0.7943 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.493e-05/0.2379, allocations: 176.3 kB / 0.7945 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.238, allocations: 116.9 kB / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.238, allocations: 180.3 kB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.2381, allocations: 104.9 kB / 0.7949 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.2381, allocations: 83.27 kB / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2381, allocations: 0 / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.2384, allocations: 20 kB / 0.795 GB, free: 3.848 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.0003849/0.2388, allocations: 242.9 kB / 0.7952 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.374e-05/0.2389, allocations: 4 kB / 0.7952 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2389, allocations: 0 / 0.7952 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.2389, allocations: 0 / 0.7952 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2393, allocations: 0.5256 MB / 0.7957 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.2396, allocations: 197.9 kB / 0.7959 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2399, allocations: 0.677 MB / 0.7966 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.2399, allocations: 4 kB / 0.7966 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.2399, allocations: 7.438 kB / 0.7966 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2399, allocations: 4 kB / 0.7966 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of Templates: time 0.002661/0.2426, allocations: 0.6285 MB / 0.7972 GB, free: 1.547 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: