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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 185.1 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.4505/0.4505, allocations: 87.49 MB / 104.9 MB, free: 13.03 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.426/1.426, allocations: 222.9 MB / 349.1 MB, free: 2.742 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.00104/0.00104, allocations: 111.5 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009982/0.0009983, allocations: 52.16 kB / 0.4891 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2833, allocations: 70.06 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002165/0.2855, allocations: 1.464 MB / 0.559 GB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.289, allocations: 3.206 MB / 0.5621 GB, free: 40.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.289, allocations: 3.938 kB / 0.5621 GB, free: 40.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.823e-05/0.2891, allocations: 11.94 kB / 0.5621 GB, free: 40.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.2893, allocations: 27.83 kB / 0.5621 GB, free: 40.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2909, allocations: 0.7708 MB / 0.5629 GB, free: 39.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.291, allocations: 111.7 kB / 0.563 GB, free: 39.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.291, allocations: 4 kB / 0.563 GB, free: 39.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.2911, allocations: 39.86 kB / 0.563 GB, free: 39.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.2913, allocations: 224.9 kB / 0.5633 GB, free: 39.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2914, allocations: 15.94 kB / 0.5633 GB, free: 39.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.2929, allocations: 1.4 MB / 0.5646 GB, free: 37.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.2934, allocations: 0.6797 MB / 0.5653 GB, free: 37.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.2936, allocations: 441 kB / 0.5657 GB, free: 36.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.2951, allocations: 1.774 MB / 0.5675 GB, free: 35.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2951, allocations: 0 / 0.5675 GB, free: 35.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2951, allocations: 0 / 0.5675 GB, free: 35.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2951, allocations: 0 / 0.5675 GB, free: 35.01 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.01045/0.3056, allocations: 1.69 MB / 0.5691 GB, free: 33.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3056, allocations: 8.031 kB / 0.5691 GB, free: 33.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.306, allocations: 150.9 kB / 0.5693 GB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.3064, allocations: 0.5211 MB / 0.5698 GB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3064, allocations: 8.312 kB / 0.5698 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3065, allocations: 8.359 kB / 0.5698 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.3068, allocations: 403.4 kB / 0.5702 GB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3068, allocations: 0 / 0.5702 GB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3068, allocations: 0 / 0.5702 GB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3068, allocations: 4 kB / 0.5702 GB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.3071, allocations: 435.7 kB / 0.5706 GB, free: 31.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.3076, allocations: 0.7996 MB / 0.5714 GB, free: 30.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.308, allocations: 0.5634 MB / 0.5719 GB, free: 30.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3082, allocations: 337.6 kB / 0.5722 GB, free: 29.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.3089, allocations: 1.025 MB / 0.5732 GB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.3092, allocations: 416.8 kB / 0.5736 GB, free: 28.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3092, allocations: 0 / 0.5736 GB, free: 28.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009227/0.3101, allocations: 1.343 MB / 0.5749 GB, free: 26.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.3102, allocations: 77.11 kB / 0.575 GB, free: 26.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3114, allocations: 1.85 MB / 0.5768 GB, free: 24.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3114, allocations: 33.7 kB / 0.5769 GB, free: 24.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.3116, allocations: 469.3 kB / 0.5773 GB, free: 24.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3117, allocations: 19.75 kB / 0.5773 GB, free: 24.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.3119, allocations: 351.5 kB / 0.5777 GB, free: 23.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.3119, allocations: 301.1 kB / 0.5779 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/0.3128, allocations: 1.518 MB / 0.5794 GB, free: 22.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/0.3137, allocations: 1.646 MB / 0.581 GB, free: 20.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/0.3198, allocations: 3.694 MB / 0.5846 GB, free: 16.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3198, allocations: 0 / 0.5846 GB, free: 16.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003219/0.323, allocations: 4.323 MB / 0.5889 GB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3231, allocations: 7.984 kB / 0.5889 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3231, allocations: 0 / 0.5889 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3231, allocations: 4 kB / 0.5889 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3232, allocations: 12 kB / 0.5889 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3233, allocations: 0 / 0.5889 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.3237, allocations: 236.2 kB / 0.5891 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.3238, allocations: 23.98 kB / 0.5891 GB, free: 12.09 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.0003321/0.3241, allocations: 369.5 kB / 0.5895 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3242, allocations: 126 kB / 0.5896 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3245, allocations: 141.1 kB / 0.5897 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3245, allocations: 0 / 0.5897 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3245, allocations: 4 kB / 0.5897 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3245, allocations: 0 / 0.5897 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3249, allocations: 0.6795 MB / 0.5904 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3249, allocations: 4.031 kB / 0.5904 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.325, allocations: 7.938 kB / 0.5904 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.325, allocations: 3.938 kB / 0.5904 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.325, allocations: 7.984 kB / 0.5904 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.325, allocations: 3.938 kB / 0.5904 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.325, allocations: 3.938 kB / 0.5904 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3262, allocations: 2.438 MB / 0.5928 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3263, allocations: 195.1 kB / 0.593 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/0.3265, allocations: 4 kB / 0.593 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3266, allocations: 7.984 kB / 0.593 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3267, allocations: 4 kB / 0.593 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.3267, allocations: 19.97 kB / 0.593 GB, free: 7.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008396/0.3276, allocations: 1.101 MB / 0.5941 GB, free: 6.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3276, allocations: 0 / 0.5941 GB, free: 6.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009666/0.3285, allocations: 447.8 kB / 0.5945 GB, free: 6.355 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.0009934/0.3295, allocations: 485.2 kB / 0.595 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3311, allocations: 2.648 MB / 0.5976 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3311, allocations: 0 / 0.5976 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3313, allocations: 339.8 kB / 0.5979 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3317, allocations: 46.66 kB / 0.598 GB, free: 2.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.3339, allocations: 2.967 MB / 0.6009 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/0.3346, allocations: 1.157 MB / 0.602 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.3347, allocations: 33.11 kB / 0.602 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.3348, allocations: 27.41 kB / 0.602 GB, free: 14.58 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3349, allocations: 4 kB / 0.602 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Templates: time 0.01675/0.3516, allocations: 9.938 MB / 0.6118 GB, free: 4.676 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)