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.0009329/0.0009331, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001075/0.001075, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.626/1.626, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0005418/0.0005418, allocations: 23.98 kB / 0.6242 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4974, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001759/0.4992, allocations: 1.38 MB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004947/0.5042, allocations: 3.839 MB / 0.7331 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.5043, allocations: 0 / 0.7331 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.5053, allocations: 346.9 kB / 0.7334 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.5054, allocations: 47.84 kB / 0.7335 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.5071, allocations: 0.7249 MB / 0.7342 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.5073, allocations: 103.8 kB / 0.7343 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.5073, allocations: 9.5 kB / 0.7343 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.5074, allocations: 51.8 kB / 0.7344 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.5076, allocations: 163.6 kB / 0.7345 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.5076, allocations: 16 kB / 0.7345 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.5093, allocations: 1.26 MB / 0.7358 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.5095, allocations: 251.3 kB / 0.736 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5096, allocations: 121.2 kB / 0.7361 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.5107, allocations: 1.029 MB / 0.7371 GB, free: 2.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.5107, allocations: 0 / 0.7371 GB, free: 2.074 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5107, allocations: 0 / 0.7371 GB, free: 2.074 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5107, allocations: 3.938 kB / 0.7371 GB, free: 2.07 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.009694/0.5204, allocations: 1.222 MB / 0.7383 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5205, allocations: 12.03 kB / 0.7383 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.5208, allocations: 94.64 kB / 0.7384 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.5213, allocations: 396.8 kB / 0.7388 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.5213, allocations: 7.984 kB / 0.7388 GB, free: 252 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.5214, allocations: 15.92 kB / 0.7388 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.5218, allocations: 387.2 kB / 0.7392 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5218, allocations: 0 / 0.7392 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.5218, allocations: 4 kB / 0.7392 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5219, allocations: 0 / 0.7392 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.5223, allocations: 435.7 kB / 0.7396 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.5229, allocations: 0.6691 MB / 0.7403 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.5234, allocations: 0.5555 MB / 0.7408 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009754/0.5243, allocations: 1.044 MB / 0.7418 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.5248, allocations: 396.9 kB / 0.7422 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.5248, allocations: 0 / 0.7422 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001499/0.5263, allocations: 1.304 MB / 0.7435 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.5264, allocations: 85.11 kB / 0.7436 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.5278, allocations: 1.262 MB / 0.7448 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.5278, allocations: 29.69 kB / 0.7448 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.528, allocations: 285.4 kB / 0.7451 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.5281, allocations: 19.75 kB / 0.7451 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.5281, allocations: 0 / 0.7451 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.5284, allocations: 431.9 kB / 0.7455 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.5297, allocations: 1.361 MB / 0.7468 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.531, allocations: 1.493 MB / 0.7483 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.5328, allocations: 1.895 MB / 0.7502 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5329, allocations: 0 / 0.7502 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004304/0.5372, allocations: 3.957 MB / 0.754 GB, free: 220 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.5372, allocations: 4 kB / 0.754 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5372, allocations: 0 / 0.754 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5373, allocations: 7.938 kB / 0.754 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.5374, allocations: 15.98 kB / 0.754 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5375, allocations: 0 / 0.754 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.5381, allocations: 232.3 kB / 0.7543 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.5382, allocations: 19.98 kB / 0.7543 GB, free: 15.94 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004029/0.5386, allocations: 253.6 kB / 0.7545 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.5387, allocations: 74.69 kB / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.5391, allocations: 87.58 kB / 0.7547 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5391, allocations: 0 / 0.7547 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5391, allocations: 7.938 kB / 0.7547 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5391, allocations: 8.016 kB / 0.7547 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.5397, allocations: 0.5061 MB / 0.7552 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5398, allocations: 3.984 kB / 0.7552 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.5398, allocations: 12 kB / 0.7552 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5399, allocations: 0 / 0.7552 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.5399, allocations: 7.984 kB / 0.7552 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5399, allocations: 4 kB / 0.7552 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5399, allocations: 0 / 0.7552 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.541, allocations: 1.021 MB / 0.7562 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5412, allocations: 159.8 kB / 0.7564 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.5413, allocations: 3.984 kB / 0.7564 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.5414, allocations: 4 kB / 0.7564 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.5415, allocations: 7.984 kB / 0.7564 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.5415, allocations: 15.98 kB / 0.7564 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007669/0.5423, allocations: 0.7101 MB / 0.7571 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5423, allocations: 0 / 0.7571 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00122/0.5435, allocations: 399.8 kB / 0.7575 GB, free: 12.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001254/0.5448, allocations: 486.8 kB / 0.7579 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.5473, allocations: 2.488 MB / 0.7604 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5473, allocations: 0 / 0.7604 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.5477, allocations: 343.7 kB / 0.7607 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.548, allocations: 56.8 kB / 0.7608 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.5503, allocations: 1.976 MB / 0.7627 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.5509, allocations: 1.003 MB / 0.7637 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.5511, allocations: 41.36 kB / 0.7637 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5512, allocations: 35.36 kB / 0.7637 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.5512, allocations: 0 / 0.7637 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.01609/0.5673, allocations: 9.534 MB / 0.773 GB, free: 12.59 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: