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_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 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001342/0.001342, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01017/0.01017, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.463/1.463, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.516/1.516, allocations: 252 MB / 0.5105 GB, free: 4.609 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.0005141/0.0005142, allocations: 16 kB / 0.6249 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4749, allocations: 106.3 MB / 0.7288 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001675/0.4767, allocations: 1.146 MB / 0.7299 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004584/0.4813, allocations: 3.2 MB / 0.733 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.4813, allocations: 0 / 0.733 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.4815, allocations: 7.922 kB / 0.733 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.4817, allocations: 27.84 kB / 0.733 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.4837, allocations: 0.7763 MB / 0.7338 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.4838, allocations: 99.78 kB / 0.7339 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.4839, allocations: 7.938 kB / 0.7339 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.4839, allocations: 43.83 kB / 0.7339 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.4842, allocations: 157 kB / 0.7341 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.4842, allocations: 12 kB / 0.7341 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.4861, allocations: 1.388 MB / 0.7355 GB, free: 4.379 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.4863, allocations: 271.8 kB / 0.7357 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.4866, allocations: 296 kB / 0.736 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.4882, allocations: 1.478 MB / 0.7374 GB, free: 2.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4883, allocations: 0 / 0.7374 GB, free: 2.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4883, allocations: 3.938 kB / 0.7374 GB, free: 2.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.4883, allocations: 0 / 0.7374 GB, free: 2.328 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.01058/0.4989, allocations: 1.156 MB / 0.7386 GB, free: 1.121 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4989, allocations: 8.031 kB / 0.7386 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.4992, allocations: 83.69 kB / 0.7387 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4996, allocations: 356.9 kB / 0.739 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4996, allocations: 8.375 kB / 0.739 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.4997, allocations: 8.359 kB / 0.739 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.5001, allocations: 399.5 kB / 0.7394 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5001, allocations: 0 / 0.7394 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5002, allocations: 0 / 0.7394 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5002, allocations: 4 kB / 0.7394 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.5006, allocations: 435.7 kB / 0.7398 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.5012, allocations: 0.6325 MB / 0.7404 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.5017, allocations: 0.5634 MB / 0.741 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.502, allocations: 337.5 kB / 0.7413 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.503, allocations: 1.04 MB / 0.7423 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.5034, allocations: 400.8 kB / 0.7427 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.5035, allocations: 0 / 0.7427 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001287/0.5047, allocations: 1.297 MB / 0.744 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5048, allocations: 81.11 kB / 0.7441 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.5059, allocations: 1.198 MB / 0.7452 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.506, allocations: 33.7 kB / 0.7453 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.5062, allocations: 261.4 kB / 0.7455 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.5062, allocations: 15.75 kB / 0.7455 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.5065, allocations: 295.6 kB / 0.7458 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5066, allocations: 314 kB / 0.7461 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.5078, allocations: 1.361 MB / 0.7474 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.5091, allocations: 1.486 MB / 0.7489 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006993/0.5161, allocations: 3.541 MB / 0.7523 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5161, allocations: 0 / 0.7523 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004036/0.5202, allocations: 3.969 MB / 0.7562 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5202, allocations: 4 kB / 0.7562 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5202, allocations: 4 kB / 0.7562 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5203, allocations: 0 / 0.7562 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5204, allocations: 15.98 kB / 0.7562 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5204, allocations: 4.031 kB / 0.7562 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.5209, allocations: 240.2 kB / 0.7565 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.521, allocations: 23.98 kB / 0.7565 GB, free: 14.18 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.000281/0.5212, allocations: 237.6 kB / 0.7567 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.5213, allocations: 66.72 kB / 0.7568 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.5216, allocations: 82.83 kB / 0.7569 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.5216, allocations: 3.938 kB / 0.7569 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5216, allocations: 0 / 0.7569 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5216, allocations: 4 kB / 0.7569 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.522, allocations: 496.7 kB / 0.7573 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.522, allocations: 0 / 0.7573 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.5221, allocations: 15.88 kB / 0.7574 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5221, allocations: 4 kB / 0.7574 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5221, allocations: 3.984 kB / 0.7574 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5221, allocations: 0 / 0.7574 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5222, allocations: 4.031 kB / 0.7574 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.523, allocations: 0.9974 MB / 0.7583 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.5231, allocations: 155.8 kB / 0.7585 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.5232, allocations: 7.984 kB / 0.7585 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5234, allocations: 8 kB / 0.7585 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.5234, allocations: 11.92 kB / 0.7585 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.5234, allocations: 11.98 kB / 0.7585 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006891/0.5241, allocations: 0.6687 MB / 0.7592 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5241, allocations: 0 / 0.7592 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001016/0.5252, allocations: 395.8 kB / 0.7596 GB, free: 10.93 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.001141/0.5263, allocations: 476.6 kB / 0.76 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002221/0.5285, allocations: 2.495 MB / 0.7625 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5286, allocations: 0 / 0.7625 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.5289, allocations: 343.9 kB / 0.7628 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.5293, allocations: 44.36 kB / 0.7628 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.5314, allocations: 1.922 MB / 0.7647 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.5319, allocations: 0.9601 MB / 0.7656 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.5321, allocations: 32.55 kB / 0.7657 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.5322, allocations: 23.42 kB / 0.7657 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.5322, allocations: 0 / 0.7657 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of Templates: time 0.01577/0.548, allocations: 9.188 MB / 0.7747 GB, free: 11.43 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: