Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 110 kB / 16.37 MB, free: 6.012 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.001639/0.001639, allocations: 185.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 71.84 kB / 0.673 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2867, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.004356/0.2911, allocations: 1.742 MB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5543/0.8454, allocations: 4.251 MB / 0.7907 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.8455, allocations: 0 / 0.7907 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.8468, allocations: 370.1 kB / 0.791 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.8469, allocations: 61.97 kB / 0.7911 GB, free: 46.34 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.8492, allocations: 0.9928 MB / 0.7921 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.8495, allocations: 143.7 kB / 0.7922 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.8495, allocations: 16.52 kB / 0.7922 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.8496, allocations: 55.7 kB / 0.7923 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.8498, allocations: 163.1 kB / 0.7924 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.8499, allocations: 13.12 kB / 0.7924 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.8516, allocations: 1.38 MB / 0.7938 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.8518, allocations: 279.1 kB / 0.7941 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.852, allocations: 304.8 kB / 0.7943 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.8536, allocations: 1.55 MB / 0.7959 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8536, allocations: 0 / 0.7959 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8536, allocations: 0 / 0.7959 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.8536, allocations: 3.438 kB / 0.7959 GB, free: 45.64 MB / 0.6544 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.01002/0.8636, allocations: 1.274 MB / 0.7971 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.8637, allocations: 8 kB / 0.7971 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.8641, allocations: 99.38 kB / 0.7972 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.8646, allocations: 406.4 kB / 0.7976 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.8646, allocations: 3.125 kB / 0.7976 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.8646, allocations: 11.66 kB / 0.7976 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.865, allocations: 387.7 kB / 0.798 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.865, allocations: 9.031 kB / 0.798 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8651, allocations: 0 / 0.798 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8651, allocations: 0 / 0.798 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.8655, allocations: 440.5 kB / 0.7984 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.8662, allocations: 0.6569 MB / 0.799 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.8668, allocations: 0.5678 MB / 0.7996 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.8672, allocations: 337 kB / 0.7999 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008387/0.868, allocations: 1.027 MB / 0.8009 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.8686, allocations: 408.1 kB / 0.8013 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.8686, allocations: 0.5938 kB / 0.8013 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001859/0.8704, allocations: 1.296 MB / 0.8026 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.8705, allocations: 84.78 kB / 0.8027 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.872, allocations: 1.275 MB / 0.8039 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.8721, allocations: 35.95 kB / 0.8039 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.8723, allocations: 278.4 kB / 0.8042 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.8724, allocations: 21.67 kB / 0.8042 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004349/0.8728, allocations: 354.5 kB / 0.8046 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.8729, allocations: 320.3 kB / 0.8049 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.8744, allocations: 1.357 MB / 0.8062 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.8759, allocations: 1.497 MB / 0.8077 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00689/0.8828, allocations: 3.541 MB / 0.8111 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.8828, allocations: 0 / 0.8111 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004256/0.8871, allocations: 3.969 MB / 0.815 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.8871, allocations: 14.05 kB / 0.815 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.8872, allocations: 2.188 kB / 0.815 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.8872, allocations: 1.094 kB / 0.815 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.8873, allocations: 22.33 kB / 0.815 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.8874, allocations: 1.766 kB / 0.815 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.8879, allocations: 227.7 kB / 0.8152 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.888, allocations: 26.41 kB / 0.8153 GB, free: 37.1 MB / 0.6544 GB 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.0003185/0.8883, allocations: 243.1 kB / 0.8155 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.8884, allocations: 79.64 kB / 0.8156 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.8887, allocations: 83.12 kB / 0.8157 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.8887, allocations: 3.031 kB / 0.8157 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.8887, allocations: 0.6562 kB / 0.8157 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8887, allocations: 1.719 kB / 0.8157 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.8892, allocations: 0.5116 MB / 0.8162 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8892, allocations: 2.688 kB / 0.8162 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.8893, allocations: 7.922 kB / 0.8162 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.8893, allocations: 10.83 kB / 0.8162 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.8893, allocations: 2.266 kB / 0.8162 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.8894, allocations: 5.688 kB / 0.8162 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8894, allocations: 2.531 kB / 0.8162 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.8905, allocations: 1.003 MB / 0.8172 GB, free: 36.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.8906, allocations: 160.4 kB / 0.8173 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.8906, allocations: 2.484 kB / 0.8173 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.8908, allocations: 8.156 kB / 0.8173 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.8908, allocations: 13.38 kB / 0.8174 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.8909, allocations: 12.39 kB / 0.8174 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008897/0.8918, allocations: 0.7148 MB / 0.8181 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8918, allocations: 1.469 kB / 0.8181 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001309/0.8931, allocations: 410.6 kB / 0.8185 GB, free: 35.95 MB / 0.6544 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.001151/0.8943, allocations: 475.2 kB / 0.8189 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.8967, allocations: 2.494 MB / 0.8213 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8967, allocations: 5.438 kB / 0.8213 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.8971, allocations: 341.8 kB / 0.8217 GB, free: 34.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.8976, allocations: 56.09 kB / 0.8217 GB, free: 34.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.8999, allocations: 1.903 MB / 0.8236 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.9004, allocations: 0.9857 MB / 0.8245 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.9005, allocations: 28.92 kB / 0.8246 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of SimCode: time 1.363e-06/0.9005, allocations: 0 / 0.8246 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.02134/0.9219, allocations: 11.21 MB / 0.8355 GB, free: 31.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)