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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 191.8 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 96.78 kB / 0.7479 GB, free: 61.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2491, allocations: 114.5 MB / 0.9823 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003101/0.2523, allocations: 1.792 MB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005945/0.2582, allocations: 4.438 MB / 0.9883 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2584, allocations: 7.938 kB / 0.9884 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.2596, allocations: 358.6 kB / 0.9887 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2598, allocations: 51.72 kB / 0.9887 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.2619, allocations: 0.7608 MB / 0.9895 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.2622, allocations: 195.3 kB / 0.9897 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.2623, allocations: 13.5 kB / 0.9897 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.2624, allocations: 55.77 kB / 0.9897 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2626, allocations: 172.8 kB / 0.9899 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.2627, allocations: 16 kB / 0.9899 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.2649, allocations: 1.4 MB / 0.9913 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.2651, allocations: 275.8 kB / 0.9915 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.2654, allocations: 302.1 kB / 0.9918 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.2677, allocations: 1.527 MB / 0.9933 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2678, allocations: 8 kB / 0.9933 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2678, allocations: 0 / 0.9933 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.2678, allocations: 0 / 0.9933 GB, free: 14.97 MB / 0.7292 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.01061/0.2784, allocations: 1.288 MB / 0.9946 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2785, allocations: 8.031 kB / 0.9946 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.2789, allocations: 95.59 kB / 0.9947 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.2794, allocations: 405.9 kB / 0.9951 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2795, allocations: 4.375 kB / 0.9951 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.2795, allocations: 12.36 kB / 0.9951 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.28, allocations: 391.5 kB / 0.9955 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.28, allocations: 0 / 0.9955 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.28, allocations: 3.984 kB / 0.9955 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.28, allocations: 4 kB / 0.9955 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.2805, allocations: 431.7 kB / 0.9959 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.2811, allocations: 0.6575 MB / 0.9965 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2816, allocations: 0.5594 MB / 0.9971 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.2819, allocations: 337.7 kB / 0.9974 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.283, allocations: 1.028 MB / 0.9984 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.2834, allocations: 404.8 kB / 0.9988 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2834, allocations: 0 / 0.9988 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.001335/0.2848, allocations: 1.304 MB / 1 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.2848, allocations: 81.09 kB / 1 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.2863, allocations: 1.281 MB / 1.001 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.2864, allocations: 29.7 kB / 1.001 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.2867, allocations: 281.4 kB / 1.002 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.2867, allocations: 23.86 kB / 1.002 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004558/0.2872, allocations: 355.5 kB / 1.002 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2874, allocations: 322 kB / 1.002 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2888, allocations: 1.361 MB / 1.004 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.2903, allocations: 1.499 MB / 1.005 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.2975, allocations: 3.538 MB / 1.009 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2975, allocations: 0 / 1.009 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004513/0.302, allocations: 3.98 MB / 1.012 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3021, allocations: 8 kB / 1.012 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3021, allocations: 3.938 kB / 1.013 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3021, allocations: 0 / 1.013 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3023, allocations: 20.02 kB / 1.013 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3023, allocations: 4 kB / 1.013 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.3028, allocations: 220.4 kB / 1.013 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.3029, allocations: 23.98 kB / 1.013 GB, free: 10.45 MB / 0.7448 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.0003142/0.3032, allocations: 249.6 kB / 1.013 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.3033, allocations: 78.53 kB / 1.013 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.3036, allocations: 87.7 kB / 1.013 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3036, allocations: 4 kB / 1.013 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3036, allocations: 0 / 1.013 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3037, allocations: 0 / 1.013 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3041, allocations: 0.51 MB / 1.014 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3041, allocations: 0 / 1.014 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.3042, allocations: 15.86 kB / 1.014 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3042, allocations: 0 / 1.014 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3042, allocations: 4 kB / 1.014 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3043, allocations: 4.031 kB / 1.014 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3043, allocations: 0 / 1.014 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.306, allocations: 2.273 MB / 1.016 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3062, allocations: 159.8 kB / 1.016 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.3062, allocations: 4 kB / 1.016 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3064, allocations: 3.984 kB / 1.016 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3064, allocations: 4 kB / 1.016 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.3065, allocations: 15.97 kB / 1.016 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007598/0.3072, allocations: 0.7179 MB / 1.017 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3073, allocations: 3.938 kB / 1.017 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001165/0.3084, allocations: 411.8 kB / 1.017 GB, free: 5.77 MB / 0.7448 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.001414/0.3098, allocations: 485.5 kB / 1.018 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.3121, allocations: 2.492 MB / 1.02 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3121, allocations: 0 / 1.02 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.3124, allocations: 343.7 kB / 1.02 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.3128, allocations: 64.78 kB / 1.02 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.3152, allocations: 2.186 MB / 1.023 GB, free: 160 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3569/0.6721, allocations: 0.9796 MB / 1.024 GB, free: 98.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.6724, allocations: 39.77 kB / 1.024 GB, free: 98.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6725, allocations: 29.42 kB / 1.024 GB, free: 98.98 MB / 0.7448 GB Notification: Performance of SimCode: time 1.433e-06/0.6725, allocations: 0 / 1.024 GB, free: 98.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.01881/0.6914, allocations: 9.954 MB / 1.033 GB, free: 98.57 MB / 0.7448 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)