Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.596/2.596, allocations: 287.3 MB / 302.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 179 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 89.92 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 17.06 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002063/0.2097, allocations: 1.377 MB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006682/0.2164, allocations: 3.834 MB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2166, allocations: 4 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.2181, allocations: 344.8 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2183, allocations: 47.84 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.2213, allocations: 0.7167 MB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.2216, allocations: 99.78 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.2217, allocations: 9.562 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.2218, allocations: 55.78 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.222, allocations: 163.5 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.285e-05/0.2221, allocations: 16 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.2249, allocations: 1.248 MB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.2252, allocations: 255.2 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2253, allocations: 129.2 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.2273, allocations: 1.021 MB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2273, allocations: 0 / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2274, allocations: 0 / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.2274, allocations: 0 / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01781/0.2452, allocations: 1.234 MB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2453, allocations: 12.02 kB / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.2458, allocations: 98.64 kB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.2464, allocations: 400.7 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2464, allocations: 7.984 kB / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.2465, allocations: 11.98 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.247, allocations: 383.2 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.247, allocations: 3.938 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.247, allocations: 7.984 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.247, allocations: 0 / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.2476, allocations: 439.7 kB / 0.9898 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.2483, allocations: 0.6574 MB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.2489, allocations: 0.5672 MB / 0.991 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.2503, allocations: 1.029 MB / 0.992 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007884/0.2511, allocations: 405 kB / 0.9924 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/0.2511, allocations: 0 / 0.9924 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.002728/0.2539, allocations: 1.3 MB / 0.9937 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.254, allocations: 77.11 kB / 0.9937 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.2569, allocations: 1.277 MB / 0.995 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.2571, allocations: 29.69 kB / 0.995 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.2575, allocations: 285.3 kB / 0.9953 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.2576, allocations: 15.81 kB / 0.9953 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.2576, allocations: 4 kB / 0.9953 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.2579, allocations: 427.8 kB / 0.9957 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/0.2605, allocations: 1.361 MB / 0.9971 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.2629, allocations: 1.501 MB / 0.9985 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.2648, allocations: 1.899 MB / 1 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2648, allocations: 0 / 1 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005068/0.2699, allocations: 3.945 MB / 1.004 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.27, allocations: 8 kB / 1.004 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.27, allocations: 4.031 kB / 1.004 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.27, allocations: 0 / 1.004 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.2703, allocations: 19.92 kB / 1.004 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2703, allocations: 4 kB / 1.004 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.2712, allocations: 228.3 kB / 1.004 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.2713, allocations: 23.98 kB / 1.005 GB, free: 0.8828 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004217/0.2717, allocations: 245.6 kB / 1.005 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.2718, allocations: 74.67 kB / 1.005 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.2722, allocations: 83.67 kB / 1.005 GB, free: 476 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2723, allocations: 0 / 1.005 GB, free: 476 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2723, allocations: 3.984 kB / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2723, allocations: 0 / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.2729, allocations: 0.5139 MB / 1.005 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2729, allocations: 4 kB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.273, allocations: 4 kB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.273, allocations: 4.031 kB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2731, allocations: 7.984 kB / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2731, allocations: 0 / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2731, allocations: 3.938 kB / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2746, allocations: 1.032 MB / 1.006 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.2749, allocations: 163.7 kB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.275, allocations: 4 kB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.2753, allocations: 4 kB / 1.007 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.2754, allocations: 7.984 kB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.2754, allocations: 11.98 kB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001343/0.2768, allocations: 0.7101 MB / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2768, allocations: 0 / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00158/0.2784, allocations: 399.9 kB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.2803, allocations: 476.3 kB / 1.008 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.2843, allocations: 2.503 MB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.2843, allocations: 0 / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.2849, allocations: 340.1 kB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.2854, allocations: 49.98 kB / 1.011 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.2894, allocations: 1.981 MB / 1.013 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/0.2903, allocations: 0.9995 MB / 1.014 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.2907, allocations: 41.42 kB / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.2909, allocations: 27.42 kB / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of SimCode: time 1.203e-06/0.2909, allocations: 0 / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of Templates: time 0.0284/0.3193, allocations: 9.538 MB / 1.023 GB, free: 13.55 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)