Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 112 kB / 17.33 MB, free: 5.004 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.001419/0.001419, allocations: 198.6 kB / 18.33 MB, free: 4.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8291/0.8291, allocations: 128.4 MB / 426.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 69.75 kB / 0.5912 GB, free: 21.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1717, allocations: 83.26 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00264/0.1744, allocations: 1.429 MB / 0.6739 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006824/0.1812, allocations: 4.234 MB / 0.6781 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.1813, allocations: 4 kB / 0.6781 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1814, allocations: 15.8 kB / 0.6781 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1816, allocations: 31.84 kB / 0.6781 GB, free: 14.12 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.186, allocations: 1.51 MB / 0.6796 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1861, allocations: 95.69 kB / 0.6797 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1862, allocations: 0 / 0.6797 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.1863, allocations: 47.89 kB / 0.6797 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1865, allocations: 155.6 kB / 0.6799 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.1866, allocations: 16 kB / 0.6799 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.1904, allocations: 2.305 MB / 0.6821 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.1906, allocations: 275.7 kB / 0.6824 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1909, allocations: 274.3 kB / 0.6827 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.1939, allocations: 2.13 MB / 0.6847 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1939, allocations: 0 / 0.6847 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1939, allocations: 0 / 0.6847 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.1939, allocations: 0 / 0.6847 GB, free: 7.316 MB / 0.5137 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.008419/0.2023, allocations: 1.341 MB / 0.6861 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2024, allocations: 8.031 kB / 0.6861 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.2028, allocations: 96.2 kB / 0.6862 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.2033, allocations: 365 kB / 0.6865 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2033, allocations: 4.375 kB / 0.6865 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.2033, allocations: 15.92 kB / 0.6865 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.2038, allocations: 391.1 kB / 0.6869 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.2039, allocations: 0 / 0.6869 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2039, allocations: 0 / 0.6869 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2039, allocations: 0 / 0.6869 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.2044, allocations: 443.7 kB / 0.6873 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.2051, allocations: 0.6371 MB / 0.6879 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.2057, allocations: 0.5632 MB / 0.6885 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.2061, allocations: 333.7 kB / 0.6888 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.2072, allocations: 1.032 MB / 0.6898 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.2077, allocations: 408.8 kB / 0.6902 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.2077, allocations: 0 / 0.6902 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001554/0.2092, allocations: 1.293 MB / 0.6915 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2093, allocations: 77.11 kB / 0.6915 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.2106, allocations: 1.223 MB / 0.6927 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.2107, allocations: 33.7 kB / 0.6928 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.2109, allocations: 269.8 kB / 0.693 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.2109, allocations: 23.88 kB / 0.6931 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.2113, allocations: 347.6 kB / 0.6934 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2114, allocations: 314 kB / 0.6937 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.2128, allocations: 1.369 MB / 0.695 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.2144, allocations: 1.509 MB / 0.6965 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007606/0.222, allocations: 3.556 MB / 0.7 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.222, allocations: 3.938 kB / 0.7 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004806/0.2268, allocations: 4.007 MB / 0.7039 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.2268, allocations: 4 kB / 0.7039 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.2268, allocations: 3.938 kB / 0.7039 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.2269, allocations: 4 kB / 0.7039 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.227, allocations: 15.98 kB / 0.7039 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.227, allocations: 0 / 0.7039 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.2276, allocations: 253.3 kB / 0.7042 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.2276, allocations: 19.98 kB / 0.7042 GB, free: 2.789 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003692/0.228, allocations: 250.2 kB / 0.7044 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.2281, allocations: 67.34 kB / 0.7045 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.2292, allocations: 0.94 MB / 0.7054 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2292, allocations: 4 kB / 0.7054 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2292, allocations: 3.938 kB / 0.7054 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2292, allocations: 0 / 0.7054 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.2297, allocations: 496.8 kB / 0.7059 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2297, allocations: 8.031 kB / 0.7059 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.2298, allocations: 7.984 kB / 0.7059 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2298, allocations: 0 / 0.7059 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2298, allocations: 4 kB / 0.7059 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2298, allocations: 3.938 kB / 0.7059 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2298, allocations: 0 / 0.7059 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2309, allocations: 1.018 MB / 0.7069 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.231, allocations: 152.5 kB / 0.707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.2311, allocations: 7.938 kB / 0.707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2312, allocations: 3.984 kB / 0.707 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2313, allocations: 11.92 kB / 0.7071 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.2313, allocations: 11.98 kB / 0.7071 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008021/0.2321, allocations: 0.6689 MB / 0.7077 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2321, allocations: 4 kB / 0.7077 GB, free: 15.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001753/0.2339, allocations: 0.5884 MB / 0.7083 GB, free: 14.44 MB / 0.545 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 (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.002134/0.236, allocations: 0.7057 MB / 0.709 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.2385, allocations: 1.993 MB / 0.7109 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.2385, allocations: 4.062 kB / 0.7109 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.2388, allocations: 331.8 kB / 0.7113 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2392, allocations: 44.52 kB / 0.7113 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.2417, allocations: 1.77 MB / 0.713 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.2423, allocations: 0.9646 MB / 0.714 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.2424, allocations: 32.56 kB / 0.714 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2425, allocations: 27.41 kB / 0.714 GB, free: 8.516 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.2425, allocations: 0 / 0.714 GB, free: 8.516 MB / 0.545 GB Notification: Performance of Templates: time 0.02395/0.2665, allocations: 13.71 MB / 0.7274 GB, free: 10.85 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480]