Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7873/0.7873, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 183.8 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 111.5 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 272.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 79.88 kB / 0.6886 GB, free: 3.789 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2947, allocations: 81.29 MB / 0.768 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002029/0.2967, allocations: 1.461 MB / 0.7694 GB, free: 26.19 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.3002, allocations: 3.228 MB / 0.7726 GB, free: 22.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.3003, allocations: 0 / 0.7726 GB, free: 22.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3004, allocations: 11.94 kB / 0.7726 GB, free: 22.94 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.3006, allocations: 27.89 kB / 0.7726 GB, free: 22.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3021, allocations: 0.7708 MB / 0.7733 GB, free: 22.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.3022, allocations: 111.7 kB / 0.7735 GB, free: 22.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.3022, allocations: 4 kB / 0.7735 GB, free: 22.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.3023, allocations: 39.91 kB / 0.7735 GB, free: 21.99 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3025, allocations: 156.9 kB / 0.7736 GB, free: 21.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.3025, allocations: 12 kB / 0.7737 GB, free: 21.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3039, allocations: 1.392 MB / 0.775 GB, free: 20.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3041, allocations: 263.8 kB / 0.7753 GB, free: 20.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3043, allocations: 278.3 kB / 0.7755 GB, free: 19.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3054, allocations: 1.479 MB / 0.777 GB, free: 18.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3054, allocations: 0 / 0.777 GB, free: 18.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3055, allocations: 4 kB / 0.777 GB, free: 18.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3055, allocations: 0 / 0.777 GB, free: 18.41 MB / 458.7 MB 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.01018/0.3156, allocations: 1.209 MB / 0.7782 GB, free: 17.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3157, allocations: 8.031 kB / 0.7782 GB, free: 17.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.316, allocations: 87.69 kB / 0.7783 GB, free: 17.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3164, allocations: 360.8 kB / 0.7786 GB, free: 16.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3164, allocations: 4.375 kB / 0.7786 GB, free: 16.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.3164, allocations: 12.31 kB / 0.7786 GB, free: 16.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3168, allocations: 395.5 kB / 0.779 GB, free: 16.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3168, allocations: 0 / 0.779 GB, free: 16.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3168, allocations: 0 / 0.779 GB, free: 16.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3168, allocations: 0 / 0.779 GB, free: 16.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.3171, allocations: 435.7 kB / 0.7794 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.3175, allocations: 0.6286 MB / 0.78 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3178, allocations: 0.5633 MB / 0.7806 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3181, allocations: 337.7 kB / 0.7809 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007866/0.3188, allocations: 1.028 MB / 0.7819 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.3192, allocations: 408.8 kB / 0.7823 GB, free: 12.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3192, allocations: 0 / 0.7823 GB, free: 12.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008994/0.3201, allocations: 1.293 MB / 0.7835 GB, free: 11.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3201, allocations: 81.11 kB / 0.7836 GB, free: 11.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.3209, allocations: 1.206 MB / 0.7848 GB, free: 9.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3209, allocations: 33.7 kB / 0.7848 GB, free: 9.891 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.321, allocations: 257.4 kB / 0.7851 GB, free: 9.633 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3211, allocations: 23.73 kB / 0.7851 GB, free: 9.609 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3213, allocations: 351.5 kB / 0.7854 GB, free: 9.262 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.3214, allocations: 310 kB / 0.7857 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/0.3222, allocations: 1.361 MB / 0.7871 GB, free: 7.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/0.323, allocations: 1.489 MB / 0.7885 GB, free: 6.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006065/0.3291, allocations: 3.541 MB / 0.792 GB, free: 2.457 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3291, allocations: 4 kB / 0.792 GB, free: 2.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003403/0.3325, allocations: 3.966 MB / 0.7959 GB, free: 14.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3326, allocations: 4 kB / 0.7959 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3326, allocations: 4 kB / 0.7959 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3326, allocations: 0 / 0.7959 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3327, allocations: 19.98 kB / 0.7959 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3327, allocations: 7.938 kB / 0.7959 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.3332, allocations: 232.3 kB / 0.7961 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.3333, allocations: 19.98 kB / 0.7961 GB, free: 14.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0002666/0.3335, allocations: 242.7 kB / 0.7964 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.3336, allocations: 70.66 kB / 0.7964 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.3339, allocations: 74.89 kB / 0.7965 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3339, allocations: 4.031 kB / 0.7965 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3339, allocations: 0 / 0.7965 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3339, allocations: 0 / 0.7965 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.3343, allocations: 0.4967 MB / 0.797 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3343, allocations: 0 / 0.797 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/0.3344, allocations: 11.92 kB / 0.797 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3344, allocations: 0 / 0.797 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3344, allocations: 4 kB / 0.797 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3344, allocations: 3.938 kB / 0.797 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3345, allocations: 3.984 kB / 0.797 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.3361, allocations: 2.245 MB / 0.7992 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3362, allocations: 147.9 kB / 0.7993 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.3363, allocations: 0 / 0.7993 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3364, allocations: 11.98 kB / 0.7994 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3365, allocations: 4 kB / 0.7994 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.3365, allocations: 19.97 kB / 0.7994 GB, free: 10.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006577/0.3372, allocations: 0.6609 MB / 0.8 GB, free: 10.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3372, allocations: 0 / 0.8 GB, free: 10.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001072/0.3383, allocations: 403.8 kB / 0.8004 GB, free: 9.629 MB / 474.7 MB 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.001133/0.3394, allocations: 487.3 kB / 0.8009 GB, free: 9.141 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.3415, allocations: 2.492 MB / 0.8033 GB, free: 6.641 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3415, allocations: 0 / 0.8033 GB, free: 6.641 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.3418, allocations: 343.8 kB / 0.8036 GB, free: 6.305 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3421, allocations: 35.55 kB / 0.8037 GB, free: 6.273 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3443, allocations: 2.046 MB / 0.8057 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.3448, allocations: 0.9643 MB / 0.8066 GB, free: 3.195 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.3449, allocations: 28.56 kB / 0.8066 GB, free: 3.168 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.345, allocations: 31.41 kB / 0.8067 GB, free: 3.137 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3451, allocations: 0 / 0.8067 GB, free: 3.137 MB / 474.7 MB Notification: Performance of Templates: time 0.01523/0.3603, allocations: 9.381 MB / 0.8158 GB, free: 9.797 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)