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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.719/2.719, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001571/0.001571, allocations: 177 kB / 370.8 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 2.148/2.148, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001644/0.001644, allocations: 92.41 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006669, allocations: 13.48 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2208, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001594/0.2225, allocations: 1.111 MB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005145/0.2277, allocations: 2.816 MB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.2278, allocations: 0 / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.2279, allocations: 11.91 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.2281, allocations: 31.91 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.2314, allocations: 0.7121 MB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2315, allocations: 55.84 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.2316, allocations: 4 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.2317, allocations: 31.91 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.2319, allocations: 147.7 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.232, allocations: 16 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.2349, allocations: 1.252 MB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.2352, allocations: 243.3 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2353, allocations: 113.2 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.2374, allocations: 0.9785 MB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2374, allocations: 0 / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2374, allocations: 4 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.2374, allocations: 0 / 0.9856 GB, free: 20.8 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.01864/0.2561, allocations: 1.152 MB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2562, allocations: 12.02 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.2567, allocations: 90.73 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.2571, allocations: 379.4 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2572, allocations: 3.984 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.2572, allocations: 11.94 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.2577, allocations: 383.2 kB / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2578, allocations: 0 / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2578, allocations: 0 / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2578, allocations: 8 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.2584, allocations: 435.7 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.259, allocations: 0.6286 MB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.2596, allocations: 0.5555 MB / 0.9891 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.2608, allocations: 1.052 MB / 0.9901 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.2613, allocations: 408.9 kB / 0.9905 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.266e-06/0.2613, allocations: 0 / 0.9905 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001562/0.2629, allocations: 1.289 MB / 0.9918 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.2629, allocations: 77.11 kB / 0.9919 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2644, allocations: 1.198 MB / 0.993 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.2644, allocations: 29.83 kB / 0.9931 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.2646, allocations: 261.4 kB / 0.9933 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.2647, allocations: 15.81 kB / 0.9933 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.2647, allocations: 7.984 kB / 0.9933 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2649, allocations: 419.8 kB / 0.9937 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2664, allocations: 1.361 MB / 0.9951 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.268, allocations: 1.501 MB / 0.9965 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.2699, allocations: 1.891 MB / 0.9984 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2699, allocations: 0 / 0.9984 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004973/0.2749, allocations: 3.938 MB / 1.002 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.275, allocations: 4 kB / 1.002 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.275, allocations: 8 kB / 1.002 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.275, allocations: 4.016 kB / 1.002 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2752, allocations: 23.88 kB / 1.002 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2753, allocations: 0 / 1.002 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/0.2761, allocations: 236.3 kB / 1.002 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.2762, allocations: 23.98 kB / 1.003 GB, free: 2.895 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.0003839/0.2765, allocations: 237.6 kB / 1.003 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.2766, allocations: 62.78 kB / 1.003 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.277, allocations: 82.83 kB / 1.003 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2771, allocations: 0 / 1.003 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2771, allocations: 0 / 1.003 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2771, allocations: 4 kB / 1.003 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.2776, allocations: 0.4889 MB / 1.003 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2776, allocations: 0 / 1.003 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2777, allocations: 4 kB / 1.003 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2777, allocations: 0 / 1.003 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2777, allocations: 15.95 kB / 1.003 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2777, allocations: 0 / 1.003 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2778, allocations: 0 / 1.003 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2788, allocations: 1.016 MB / 1.004 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.279, allocations: 155.9 kB / 1.005 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.2791, allocations: 4 kB / 1.005 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2793, allocations: 0 / 1.005 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.2794, allocations: 7.984 kB / 1.005 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.2795, allocations: 15.98 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000926/0.2804, allocations: 0.657 MB / 1.005 GB, free: 36 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2804, allocations: 0 / 1.005 GB, free: 36 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001494/0.2819, allocations: 400 kB / 1.006 GB, free: 15.64 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.00188/0.2838, allocations: 483.5 kB / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0038/0.2876, allocations: 2.495 MB / 1.008 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.2877, allocations: 4.062 kB / 1.008 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.2883, allocations: 335.8 kB / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2886, allocations: 37.77 kB / 1.009 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.2921, allocations: 1.824 MB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.2929, allocations: 0.9796 MB / 1.012 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.2932, allocations: 36.55 kB / 1.012 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.2934, allocations: 23.42 kB / 1.012 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.2934, allocations: 3.938 kB / 1.012 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of Templates: time 0.02682/0.3203, allocations: 8.972 MB / 1.02 GB, free: 432 kB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)