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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 96.83 kB / 16.26 MB, free: 5.934 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.001782/0.001782, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7613/0.7613, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 63.91 kB / 0.4911 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 77.92 MB / 0.5672 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002564/0.3369, allocations: 1.405 MB / 0.5686 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005459/0.3424, allocations: 4.203 MB / 0.5727 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.3425, allocations: 0 / 0.5727 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3427, allocations: 18.06 kB / 0.5727 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3431, allocations: 24.88 kB / 0.5728 GB, free: 28.77 MB / 446.1 MB [/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.005136/0.3482, allocations: 1.502 MB / 0.5742 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3484, allocations: 95.8 kB / 0.5743 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.3485, allocations: 4.5 kB / 0.5743 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.3486, allocations: 50.66 kB / 0.5744 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3488, allocations: 148.6 kB / 0.5745 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.3489, allocations: 14.91 kB / 0.5745 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.3534, allocations: 2.155 MB / 0.5766 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.3537, allocations: 269.9 kB / 0.5769 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.3541, allocations: 280.6 kB / 0.5772 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.3584, allocations: 2.107 MB / 0.5792 GB, free: 26.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3584, allocations: 0 / 0.5792 GB, free: 26.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3584, allocations: 1.375 kB / 0.5792 GB, free: 26.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.205e-05/0.3584, allocations: 0 / 0.5792 GB, free: 26.11 MB / 446.1 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.011/0.3694, allocations: 1.305 MB / 0.5805 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3695, allocations: 9.219 kB / 0.5805 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.3699, allocations: 87.03 kB / 0.5806 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3703, allocations: 360.5 kB / 0.5809 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.3703, allocations: 2.469 kB / 0.5809 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.3704, allocations: 9.859 kB / 0.5809 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.3708, allocations: 395.3 kB / 0.5813 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3708, allocations: 1.312 kB / 0.5813 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3708, allocations: 5.375 kB / 0.5813 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3708, allocations: 1.344 kB / 0.5813 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.3712, allocations: 435.7 kB / 0.5817 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.3718, allocations: 0.6413 MB / 0.5824 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.3723, allocations: 0.5605 MB / 0.5829 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3726, allocations: 336.8 kB / 0.5832 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/0.3734, allocations: 1.026 MB / 0.5842 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.3738, allocations: 410.1 kB / 0.5846 GB, free: 22.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.3738, allocations: 0 / 0.5846 GB, free: 22.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001305/0.3751, allocations: 1.298 MB / 0.5859 GB, free: 22.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.3751, allocations: 81.92 kB / 0.586 GB, free: 22.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.3763, allocations: 1.214 MB / 0.5872 GB, free: 21.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.3764, allocations: 28.08 kB / 0.5872 GB, free: 21.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3765, allocations: 261 kB / 0.5874 GB, free: 21.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.3766, allocations: 27.3 kB / 0.5875 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.3769, allocations: 351.6 kB / 0.5878 GB, free: 20.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.377, allocations: 307.4 kB / 0.5881 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009887/0.378, allocations: 1.377 MB / 0.5894 GB, free: 19.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.3789, allocations: 1.5 MB / 0.5909 GB, free: 18.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006843/0.3857, allocations: 3.561 MB / 0.5944 GB, free: 14.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3858, allocations: 0 / 0.5944 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003156/0.3889, allocations: 4.001 MB / 0.5983 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.389, allocations: 10.34 kB / 0.5983 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.389, allocations: 4.766 kB / 0.5983 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.389, allocations: 4 kB / 0.5983 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3892, allocations: 19.38 kB / 0.5983 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3892, allocations: 0 / 0.5983 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.3897, allocations: 240.2 kB / 0.5985 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.3897, allocations: 19.98 kB / 0.5986 GB, free: 10.11 MB / 446.1 MB 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.0002494/0.39, allocations: 237.7 kB / 0.5988 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.3901, allocations: 70.66 kB / 0.5989 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3903, allocations: 80.62 kB / 0.5989 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3903, allocations: 1 kB / 0.5989 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3903, allocations: 0 / 0.5989 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3904, allocations: 7.984 kB / 0.5989 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.3907, allocations: 494.4 kB / 0.5994 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3907, allocations: 0 / 0.5994 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.3908, allocations: 19.92 kB / 0.5994 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3908, allocations: 0 / 0.5994 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3908, allocations: 0.5312 kB / 0.5994 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3908, allocations: 4.75 kB / 0.5994 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3908, allocations: 0 / 0.5994 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.3914, allocations: 1.017 MB / 0.6004 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.3915, allocations: 159.8 kB / 0.6006 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.3916, allocations: 0 / 0.6006 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3917, allocations: 8.922 kB / 0.6006 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3918, allocations: 4 kB / 0.6006 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3918, allocations: 21.09 kB / 0.6006 GB, free: 7.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.3923, allocations: 0.6689 MB / 0.6013 GB, free: 7.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3923, allocations: 1.281 kB / 0.6013 GB, free: 7.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001405/0.3937, allocations: 0.5701 MB / 0.6018 GB, free: 6.66 MB / 446.1 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.001568/0.3953, allocations: 0.6825 MB / 0.6025 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.3969, allocations: 2.561 MB / 0.605 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3969, allocations: 0 / 0.605 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.3972, allocations: 338 kB / 0.6053 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3975, allocations: 40.53 kB / 0.6054 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.3991, allocations: 1.76 MB / 0.6071 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3994, allocations: 0.9685 MB / 0.608 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.3995, allocations: 32.56 kB / 0.6081 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.3996, allocations: 31.41 kB / 0.6081 GB, free: 220 kB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3996, allocations: 3.938 kB / 0.6081 GB, free: 216 kB / 446.1 MB Notification: Performance of Templates: time 0.02218/0.4218, allocations: 13.57 MB / 0.6213 GB, free: 2.68 MB / 462.1 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)