Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005519/0.005519, allocations: 171.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 11.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6389, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001473/0.6404, allocations: 1.131 MB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.6446, allocations: 3.15 MB / 0.9594 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.6447, allocations: 0 / 0.9594 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.6448, allocations: 13.48 kB / 0.9594 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.645, allocations: 38.53 kB / 0.9594 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.6473, allocations: 0.7672 MB / 0.9602 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.6475, allocations: 106.8 kB / 0.9603 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.6476, allocations: 4.125 kB / 0.9603 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.6476, allocations: 41.67 kB / 0.9603 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.6479, allocations: 156.9 kB / 0.9605 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.6479, allocations: 12.78 kB / 0.9605 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.6502, allocations: 1.4 MB / 0.9619 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.6504, allocations: 263.6 kB / 0.9621 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.6506, allocations: 303.7 kB / 0.9624 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.6522, allocations: 1.476 MB / 0.9638 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6522, allocations: 1.344 kB / 0.9638 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6522, allocations: 0 / 0.9638 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.6522, allocations: 0 / 0.9638 GB, free: 1.73 MB / 0.7169 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.01025/0.6625, allocations: 1.159 MB / 0.965 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.6625, allocations: 10.34 kB / 0.965 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.6626, allocations: 31.78 kB / 0.965 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.6629, allocations: 92.55 kB / 0.9651 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.6632, allocations: 357.2 kB / 0.9654 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.6632, allocations: 3.719 kB / 0.9654 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.6633, allocations: 8.438 kB / 0.9655 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.6637, allocations: 390.5 kB / 0.9658 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6637, allocations: 4.953 kB / 0.9658 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6637, allocations: 5.031 kB / 0.9658 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6637, allocations: 1 kB / 0.9658 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.6642, allocations: 430.4 kB / 0.9662 GB, free: 160 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.6648, allocations: 0.6271 MB / 0.9669 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.6653, allocations: 0.5655 MB / 0.9674 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.6657, allocations: 341.8 kB / 0.9677 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009248/0.6666, allocations: 1.037 MB / 0.9688 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.667, allocations: 415.2 kB / 0.9691 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.667, allocations: 0 / 0.9691 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001339/0.6684, allocations: 1.288 MB / 0.9704 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.6684, allocations: 80.05 kB / 0.9705 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.6696, allocations: 1.209 MB / 0.9717 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.6696, allocations: 31.02 kB / 0.9717 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.6698, allocations: 260.8 kB / 0.9719 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.6698, allocations: 22.73 kB / 0.972 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.6701, allocations: 289.2 kB / 0.9722 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.6702, allocations: 307 kB / 0.9725 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.6714, allocations: 1.368 MB / 0.9739 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.6726, allocations: 1.488 MB / 0.9753 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006604/0.6792, allocations: 3.545 MB / 0.9788 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6792, allocations: 0 / 0.9788 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003783/0.683, allocations: 3.965 MB / 0.9827 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.683, allocations: 4 kB / 0.9827 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.683, allocations: 8.312 kB / 0.9827 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.683, allocations: 0 / 0.9827 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.6832, allocations: 19.92 kB / 0.9827 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6832, allocations: 0 / 0.9827 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.6837, allocations: 232.3 kB / 0.9829 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.6838, allocations: 32 kB / 0.9829 GB, free: 2.297 MB / 0.7325 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.0002606/0.6841, allocations: 233.7 kB / 0.9832 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.6841, allocations: 70.7 kB / 0.9832 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.6844, allocations: 74.84 kB / 0.9833 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6844, allocations: 0 / 0.9833 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6844, allocations: 4.031 kB / 0.9833 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.6845, allocations: 4 kB / 0.9833 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.6849, allocations: 0.4928 MB / 0.9838 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6849, allocations: 3.938 kB / 0.9838 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.685, allocations: 7.984 kB / 0.9838 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.685, allocations: 0 / 0.9838 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.685, allocations: 7.938 kB / 0.9838 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.685, allocations: 0 / 0.9838 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.685, allocations: 3.984 kB / 0.9838 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.6858, allocations: 1.001 MB / 0.9848 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6859, allocations: 155.8 kB / 0.9849 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.686, allocations: 4 kB / 0.9849 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6861, allocations: 7.984 kB / 0.9849 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.6862, allocations: 3.984 kB / 0.985 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.6862, allocations: 15.98 kB / 0.985 GB, free: 108 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006698/0.6869, allocations: 0.6687 MB / 0.9856 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6869, allocations: 0 / 0.9856 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001014/0.6879, allocations: 395.9 kB / 0.986 GB, free: 15.04 MB / 0.7481 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.002432/0.6904, allocations: 1.92 MB / 0.9879 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.6925, allocations: 2.506 MB / 0.9903 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6926, allocations: 0 / 0.9903 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.6929, allocations: 335.8 kB / 0.9906 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.6932, allocations: 34.12 kB / 0.9907 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.7086, allocations: 15.05 MB / 1.005 GB, free: 11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.7091, allocations: 0.9643 MB / 1.006 GB, free: 10 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.7093, allocations: 28.56 kB / 1.006 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.7097, allocations: 263.3 kB / 1.007 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/0.7097, allocations: 0 / 1.007 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.7446, allocations: 18.9 MB / 1.025 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.7449, allocations: 294.9 kB / 1.025 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.105, allocations: 0 / 1.025 GB, free: 6.668 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)