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.001342/0.001342, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001065/0.001065, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.31/1.31, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.457/1.457, allocations: 251.6 MB / 0.5089 GB, free: 3.273 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.001345/0.001345, allocations: 71.91 kB / 0.6218 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4497, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002903/0.4526, allocations: 1.812 MB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.458, allocations: 4.252 MB / 0.7299 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.4581, allocations: 4 kB / 0.73 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.4593, allocations: 346.6 kB / 0.7303 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4594, allocations: 55.72 kB / 0.7303 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.4617, allocations: 0.8726 MB / 0.7312 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4619, allocations: 147.4 kB / 0.7313 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.462, allocations: 13.55 kB / 0.7313 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.4621, allocations: 59.72 kB / 0.7314 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.4623, allocations: 180.8 kB / 0.7316 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.4624, allocations: 12 kB / 0.7316 GB, free: 5.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.4642, allocations: 1.416 MB / 0.733 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.4645, allocations: 275.8 kB / 0.7332 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.4647, allocations: 306.1 kB / 0.7335 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.4664, allocations: 1.547 MB / 0.735 GB, free: 1.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4664, allocations: 3.938 kB / 0.735 GB, free: 1.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4664, allocations: 0 / 0.735 GB, free: 1.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4664, allocations: 4 kB / 0.735 GB, free: 1.766 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.008771/0.4752, allocations: 1.277 MB / 0.7363 GB, free: 448 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4753, allocations: 8.031 kB / 0.7363 GB, free: 440 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.4757, allocations: 91.59 kB / 0.7364 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.4762, allocations: 406.1 kB / 0.7368 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4762, allocations: 4.375 kB / 0.7368 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.4762, allocations: 8.375 kB / 0.7368 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.4767, allocations: 403.4 kB / 0.7372 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4767, allocations: 0 / 0.7372 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4767, allocations: 0 / 0.7372 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4768, allocations: 0 / 0.7372 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.4772, allocations: 431.8 kB / 0.7376 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.4778, allocations: 0.665 MB / 0.7382 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.4783, allocations: 0.5633 MB / 0.7388 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.4786, allocations: 337.7 kB / 0.7391 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.4797, allocations: 1.032 MB / 0.7401 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.4801, allocations: 404.8 kB / 0.7405 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.4801, allocations: 0 / 0.7405 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001214/0.4813, allocations: 1.3 MB / 0.7418 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4813, allocations: 81.11 kB / 0.7418 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4825, allocations: 1.281 MB / 0.7431 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.4825, allocations: 37.69 kB / 0.7431 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4827, allocations: 281.4 kB / 0.7434 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.4828, allocations: 15.72 kB / 0.7434 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.4831, allocations: 355.7 kB / 0.7437 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4832, allocations: 314 kB / 0.744 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4844, allocations: 1.365 MB / 0.7454 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.4856, allocations: 1.489 MB / 0.7468 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0066/0.4922, allocations: 3.545 MB / 0.7503 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4923, allocations: 0 / 0.7503 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004081/0.4963, allocations: 3.973 MB / 0.7542 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4964, allocations: 10.03 kB / 0.7542 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4964, allocations: 0 / 0.7542 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4964, allocations: 0 / 0.7542 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4966, allocations: 19.92 kB / 0.7542 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4966, allocations: 8.031 kB / 0.7542 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.4971, allocations: 228.3 kB / 0.7544 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.4971, allocations: 27.92 kB / 0.7545 GB, free: 13.25 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.0002949/0.4974, allocations: 245.7 kB / 0.7547 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.4975, allocations: 74.62 kB / 0.7548 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.4978, allocations: 83.66 kB / 0.7548 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4978, allocations: 4 kB / 0.7548 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4978, allocations: 0 / 0.7548 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4978, allocations: 0 / 0.7548 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.4983, allocations: 0.51 MB / 0.7553 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4983, allocations: 0 / 0.7553 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.4983, allocations: 7.938 kB / 0.7554 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4984, allocations: 0 / 0.7554 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4984, allocations: 7.984 kB / 0.7554 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4984, allocations: 320 / 0.7554 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4984, allocations: 4.031 kB / 0.7554 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008563/0.4993, allocations: 1.013 MB / 0.7564 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4994, allocations: 163.7 kB / 0.7565 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.4995, allocations: 0 / 0.7565 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4996, allocations: 12 kB / 0.7565 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.4996, allocations: 11.92 kB / 0.7565 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.4997, allocations: 7.984 kB / 0.7565 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007055/0.5004, allocations: 0.7218 MB / 0.7572 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5004, allocations: 0 / 0.7572 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001145/0.5016, allocations: 395.8 kB / 0.7576 GB, free: 9.895 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.001131/0.5027, allocations: 494 kB / 0.7581 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.5048, allocations: 2.492 MB / 0.7605 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5048, allocations: 4 kB / 0.7605 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.5051, allocations: 347.8 kB / 0.7609 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.5055, allocations: 53.34 kB / 0.7609 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.5077, allocations: 2.056 MB / 0.7629 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.5083, allocations: 0.9917 MB / 0.7639 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.5085, allocations: 45.36 kB / 0.7639 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.5086, allocations: 27.42 kB / 0.764 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.5086, allocations: 0 / 0.764 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of Templates: time 0.01616/0.5248, allocations: 10.15 MB / 0.7739 GB, free: 9.242 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)