Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001108/0.001108, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.332/1.332, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 251.6 MB / 0.5088 GB, free: 3.383 MB / 414.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.001338/0.001338, allocations: 59.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4462, allocations: 104.7 MB / 0.7238 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002849/0.4491, allocations: 1.8 MB / 0.7256 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005614/0.4548, allocations: 4.447 MB / 0.7299 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.4549, allocations: 0 / 0.7299 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.456, allocations: 354.6 kB / 0.7303 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.4561, allocations: 51.73 kB / 0.7303 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.4581, allocations: 0.7595 MB / 0.7311 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.4583, allocations: 199.3 kB / 0.7313 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.4584, allocations: 9.562 kB / 0.7313 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.4584, allocations: 47.73 kB / 0.7313 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.4587, allocations: 176.8 kB / 0.7315 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.4587, allocations: 19.94 kB / 0.7315 GB, free: 5.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.4605, allocations: 1.388 MB / 0.7329 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.4607, allocations: 279.8 kB / 0.7331 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.4609, allocations: 306.1 kB / 0.7334 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.4625, allocations: 1.543 MB / 0.7349 GB, free: 1.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4625, allocations: 0 / 0.7349 GB, free: 1.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4625, allocations: 0 / 0.7349 GB, free: 1.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4625, allocations: 0 / 0.7349 GB, free: 1.922 MB / 0.545 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.007746/0.4703, allocations: 1.273 MB / 0.7362 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4703, allocations: 12.03 kB / 0.7362 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.4707, allocations: 99.58 kB / 0.7363 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.4712, allocations: 402.1 kB / 0.7367 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4712, allocations: 4.375 kB / 0.7367 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.4712, allocations: 8.359 kB / 0.7367 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.4717, allocations: 403.4 kB / 0.7371 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4717, allocations: 0 / 0.7371 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4717, allocations: 0 / 0.7371 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4717, allocations: 0 / 0.7371 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.4721, allocations: 435.7 kB / 0.7375 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.4727, allocations: 0.6612 MB / 0.7381 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.4732, allocations: 0.5672 MB / 0.7387 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.4735, allocations: 337.7 kB / 0.739 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009565/0.4745, allocations: 1.025 MB / 0.74 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.4749, allocations: 412.8 kB / 0.7404 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4749, allocations: 0 / 0.7404 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001172/0.4761, allocations: 1.297 MB / 0.7417 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.4761, allocations: 85.05 kB / 0.7417 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.4773, allocations: 1.281 MB / 0.743 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.4773, allocations: 29.7 kB / 0.743 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4775, allocations: 285.4 kB / 0.7433 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.4775, allocations: 27.64 kB / 0.7433 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.4778, allocations: 343.6 kB / 0.7436 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.4779, allocations: 326 kB / 0.744 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.479, allocations: 1.361 MB / 0.7453 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.4802, allocations: 1.489 MB / 0.7467 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0068/0.487, allocations: 3.537 MB / 0.7502 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4871, allocations: 0 / 0.7502 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003937/0.491, allocations: 3.98 MB / 0.7541 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.4911, allocations: 4 kB / 0.7541 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.4911, allocations: 4 kB / 0.7541 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4911, allocations: 3.938 kB / 0.7541 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4913, allocations: 15.98 kB / 0.7541 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4913, allocations: 0 / 0.7541 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4918, allocations: 236.3 kB / 0.7543 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.4919, allocations: 19.98 kB / 0.7543 GB, free: 13.4 MB / 0.5762 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.0003255/0.4922, allocations: 245.7 kB / 0.7546 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.4923, allocations: 74.62 kB / 0.7547 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.4926, allocations: 83.66 kB / 0.7547 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4927, allocations: 0 / 0.7547 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4927, allocations: 8.031 kB / 0.7547 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4927, allocations: 0 / 0.7547 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.4932, allocations: 0.5137 MB / 0.7552 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4932, allocations: 0 / 0.7552 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.4933, allocations: 15.92 kB / 0.7553 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4933, allocations: 0 / 0.7553 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4934, allocations: 4 kB / 0.7553 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.4934, allocations: 4 kB / 0.7553 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4934, allocations: 0 / 0.7553 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/0.4943, allocations: 1.006 MB / 0.7562 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4944, allocations: 163.7 kB / 0.7564 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.4945, allocations: 7.938 kB / 0.7564 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.4946, allocations: 7.922 kB / 0.7564 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.4947, allocations: 4 kB / 0.7564 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.4947, allocations: 19.97 kB / 0.7564 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007947/0.4955, allocations: 0.7179 MB / 0.7571 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4955, allocations: 0 / 0.7571 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001075/0.4966, allocations: 403.9 kB / 0.7575 GB, free: 10.04 MB / 0.5762 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.001309/0.4979, allocations: 494.4 kB / 0.758 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.5001, allocations: 2.484 MB / 0.7604 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5002, allocations: 0 / 0.7604 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.5005, allocations: 351.7 kB / 0.7608 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.501, allocations: 52.78 kB / 0.7608 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.5035, allocations: 2.062 MB / 0.7628 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.504, allocations: 0.984 MB / 0.7638 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.5042, allocations: 41.42 kB / 0.7638 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.5043, allocations: 23.42 kB / 0.7638 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.5043, allocations: 0 / 0.7638 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of Templates: time 0.017/0.5213, allocations: 9.876 MB / 0.7735 GB, free: 9.676 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)