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 1.648/1.648, allocations: 287.5 MB / 302.6 MB, free: 8.281 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.001017/0.001017, allocations: 180.3 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007486/0.0007486, allocations: 94.95 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 11.06 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001554/0.1729, allocations: 1.413 MB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.1771, allocations: 3.92 MB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.1772, allocations: 3.938 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008749/0.1781, allocations: 320.6 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1782, allocations: 51.73 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.18, allocations: 0.7463 MB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1802, allocations: 167.4 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.1802, allocations: 9.562 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.1803, allocations: 47.8 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1805, allocations: 191.6 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.1805, allocations: 16 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.182, allocations: 1.306 MB / 0.9867 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1822, allocations: 271.1 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.1822, allocations: 121.2 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.1831, allocations: 1.025 MB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1832, allocations: 4 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1832, allocations: 3.938 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1832, allocations: 0 / 0.9881 GB, free: 18.54 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.008906/0.1921, allocations: 1.214 MB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1921, allocations: 8.031 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.1924, allocations: 95.58 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1928, allocations: 406 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1928, allocations: 4.375 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.1929, allocations: 12.34 kB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1932, allocations: 387.5 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1932, allocations: 3.984 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1933, allocations: 4 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1933, allocations: 0 / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1936, allocations: 443.7 kB / 0.9906 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.194, allocations: 0.6535 MB / 0.9912 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.1944, allocations: 0.5594 MB / 0.9918 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1947, allocations: 345.6 kB / 0.9921 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007079/0.1954, allocations: 1.032 MB / 0.9931 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.1957, allocations: 404.8 kB / 0.9935 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1957, allocations: 0 / 0.9935 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009837/0.1967, allocations: 1.3 MB / 0.9947 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.1967, allocations: 77.11 kB / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.1977, allocations: 1.273 MB / 0.9961 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1977, allocations: 37.64 kB / 0.9961 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1978, allocations: 281.4 kB / 0.9964 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1979, allocations: 23.66 kB / 0.9964 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.1979, allocations: 4 kB / 0.9964 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.198, allocations: 423.8 kB / 0.9968 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/0.1989, allocations: 1.361 MB / 0.9981 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.1998, allocations: 1.497 MB / 0.9996 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007244/0.2071, allocations: 3.502 MB / 1.003 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.2071, allocations: 0 / 1.003 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003468/0.2106, allocations: 3.957 MB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2106, allocations: 8 kB / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2106, allocations: 0 / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2107, allocations: 0 / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2108, allocations: 15.98 kB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2108, allocations: 4 kB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.2113, allocations: 232.2 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.2114, allocations: 23.98 kB / 1.007 GB, free: 14.39 MB / 0.6355 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.0003037/0.2117, allocations: 254.9 kB / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.2117, allocations: 74.62 kB / 1.007 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.212, allocations: 75.72 kB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.212, allocations: 8 kB / 1.008 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2121, allocations: 0 / 1.008 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2121, allocations: 3.984 kB / 1.008 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.2125, allocations: 0.5099 MB / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2125, allocations: 11.95 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.2126, allocations: 7.938 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2126, allocations: 0 / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2126, allocations: 11.98 kB / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2126, allocations: 0 / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2126, allocations: 0 / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.2136, allocations: 1.006 MB / 1.009 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2137, allocations: 159.7 kB / 1.009 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.2138, allocations: 3.984 kB / 1.009 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2139, allocations: 8 kB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.214, allocations: 11.92 kB / 1.009 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.214, allocations: 15.92 kB / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007628/0.2148, allocations: 0.714 MB / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2148, allocations: 4 kB / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009413/0.2157, allocations: 395.9 kB / 1.01 GB, free: 11.02 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.001123/0.2169, allocations: 471.8 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.2191, allocations: 2.503 MB / 1.013 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2191, allocations: 0 / 1.013 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.2195, allocations: 340.2 kB / 1.014 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.2199, allocations: 48.81 kB / 1.014 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.222, allocations: 1.981 MB / 1.016 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.2225, allocations: 0.9878 MB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.2227, allocations: 49.36 kB / 1.017 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.2228, allocations: 23.42 kB / 1.017 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.2228, allocations: 0 / 1.017 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.01622/0.2391, allocations: 9.53 MB / 1.026 GB, free: 11.09 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)