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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4525/0.4525, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 349.1 MB, free: 2.785 MB / 282.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: 105.4 kB / 420 MB, free: 8.523 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 55.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3029, allocations: 70.07 MB / 0.5575 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002352/0.3053, allocations: 1.46 MB / 0.559 GB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.3091, allocations: 3.214 MB / 0.5621 GB, free: 40.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.3091, allocations: 0 / 0.5621 GB, free: 40.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3093, allocations: 11.92 kB / 0.5621 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.3095, allocations: 31.91 kB / 0.5621 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3112, allocations: 0.7635 MB / 0.5629 GB, free: 39.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.3113, allocations: 115.7 kB / 0.563 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.3114, allocations: 4 kB / 0.563 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.3114, allocations: 35.86 kB / 0.563 GB, free: 39.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.3116, allocations: 160.9 kB / 0.5632 GB, free: 39.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.3117, allocations: 12 kB / 0.5632 GB, free: 39.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3131, allocations: 1.392 MB / 0.5646 GB, free: 38.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3133, allocations: 263.9 kB / 0.5648 GB, free: 37.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3134, allocations: 274.3 kB / 0.5651 GB, free: 37.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.3146, allocations: 1.479 MB / 0.5665 GB, free: 36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3146, allocations: 0 / 0.5665 GB, free: 36 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3146, allocations: 0 / 0.5665 GB, free: 36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3146, allocations: 0 / 0.5665 GB, free: 36 MB / 410.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.009767/0.3244, allocations: 1.209 MB / 0.5677 GB, free: 34.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3245, allocations: 12.03 kB / 0.5677 GB, free: 34.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.3248, allocations: 83.69 kB / 0.5678 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3251, allocations: 360.9 kB / 0.5681 GB, free: 34.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3252, allocations: 12.3 kB / 0.5682 GB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3252, allocations: 4.375 kB / 0.5682 GB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3255, allocations: 391.5 kB / 0.5685 GB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3255, allocations: 0 / 0.5685 GB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3256, allocations: 0 / 0.5685 GB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3256, allocations: 0 / 0.5685 GB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.3259, allocations: 439.7 kB / 0.5689 GB, free: 33.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3263, allocations: 0.6402 MB / 0.5696 GB, free: 32.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.3266, allocations: 0.5555 MB / 0.5701 GB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3269, allocations: 341.7 kB / 0.5704 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007288/0.3276, allocations: 1.028 MB / 0.5714 GB, free: 30.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.3279, allocations: 412.8 kB / 0.5718 GB, free: 30.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.3279, allocations: 0 / 0.5718 GB, free: 30.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009151/0.3288, allocations: 1.285 MB / 0.5731 GB, free: 28.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.3289, allocations: 85.09 kB / 0.5732 GB, free: 28.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.3297, allocations: 1.206 MB / 0.5744 GB, free: 27.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3297, allocations: 29.83 kB / 0.5744 GB, free: 27.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3298, allocations: 257.4 kB / 0.5746 GB, free: 27.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3298, allocations: 27.64 kB / 0.5747 GB, free: 27.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3301, allocations: 347.5 kB / 0.575 GB, free: 26.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.3301, allocations: 310 kB / 0.5753 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007909/0.3309, allocations: 1.365 MB / 0.5766 GB, free: 25.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.3318, allocations: 1.493 MB / 0.5781 GB, free: 23.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005765/0.3376, allocations: 3.541 MB / 0.5815 GB, free: 20.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3376, allocations: 4 kB / 0.5815 GB, free: 20.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002959/0.3406, allocations: 3.961 MB / 0.5854 GB, free: 16.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3406, allocations: 8.031 kB / 0.5854 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3406, allocations: 4 kB / 0.5854 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3406, allocations: 0 / 0.5854 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3408, allocations: 15.98 kB / 0.5854 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3408, allocations: 0 / 0.5854 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.3412, allocations: 232.3 kB / 0.5857 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.3412, allocations: 27.98 kB / 0.5857 GB, free: 15.75 MB / 410.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.0002079/0.3414, allocations: 245.6 kB / 0.5859 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3415, allocations: 70.72 kB / 0.586 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.3417, allocations: 74.89 kB / 0.5861 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3417, allocations: 0 / 0.5861 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3417, allocations: 0 / 0.5861 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3417, allocations: 4 kB / 0.5861 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.342, allocations: 496.7 kB / 0.5865 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.342, allocations: 0 / 0.5865 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.3421, allocations: 15.95 kB / 0.5865 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3421, allocations: 0 / 0.5865 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3421, allocations: 7.938 kB / 0.5866 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3421, allocations: 3.984 kB / 0.5866 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3421, allocations: 3.938 kB / 0.5866 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3432, allocations: 2.245 MB / 0.5888 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.3433, allocations: 147.9 kB / 0.5889 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.3434, allocations: 3.984 kB / 0.5889 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3435, allocations: 8 kB / 0.5889 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.3436, allocations: 7.984 kB / 0.5889 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.3436, allocations: 11.98 kB / 0.5889 GB, free: 12.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004965/0.3441, allocations: 0.6687 MB / 0.5896 GB, free: 11.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3441, allocations: 0 / 0.5896 GB, free: 11.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009475/0.3451, allocations: 403.8 kB / 0.59 GB, free: 11.2 MB / 410.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.0009873/0.3461, allocations: 474.8 kB / 0.5904 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.3475, allocations: 2.511 MB / 0.5929 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3475, allocations: 0 / 0.5929 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.3478, allocations: 343.7 kB / 0.5932 GB, free: 7.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3481, allocations: 32.48 kB / 0.5932 GB, free: 7.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3496, allocations: 2.03 MB / 0.5952 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.35, allocations: 0.972 MB / 0.5962 GB, free: 4.762 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3501, allocations: 32.55 kB / 0.5962 GB, free: 4.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.3502, allocations: 23.42 kB / 0.5962 GB, free: 4.711 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3502, allocations: 0 / 0.5962 GB, free: 4.711 MB / 410.7 MB Notification: Performance of Templates: time 0.01367/0.3639, allocations: 9.366 MB / 0.6054 GB, free: 11.38 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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)