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_100boreholes.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.0009884/0.0009883, allocations: 99.31 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.001056/0.001056, 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 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 20 kB / 0.8147 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9346, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001399/0.936, allocations: 1.102 MB / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.94, allocations: 2.778 MB / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.9401, allocations: 3.938 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.9402, allocations: 8.953 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.9404, allocations: 25.28 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.9427, allocations: 0.7241 MB / 0.9582 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.9428, allocations: 54.45 kB / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.9429, allocations: 6.203 kB / 0.9582 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.943, allocations: 37.25 kB / 0.9583 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.9432, allocations: 145 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.9432, allocations: 12.88 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.945, allocations: 1.254 MB / 0.9596 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006642/0.9457, allocations: 0.6059 MB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.9459, allocations: 180.2 kB / 0.9604 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.9476, allocations: 1.186 MB / 0.9616 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.9476, allocations: 1.344 kB / 0.9616 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9476, allocations: 4 kB / 0.9616 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.9476, allocations: 3.938 kB / 0.9616 GB, free: 2.836 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.011/0.9586, allocations: 1.595 MB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.9587, allocations: 12.58 kB / 0.9631 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.9588, allocations: 32.59 kB / 0.9632 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/0.9592, allocations: 147.2 kB / 0.9633 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.9599, allocations: 0.4955 MB / 0.9638 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.9599, allocations: 6.172 kB / 0.9638 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.96, allocations: 8.906 kB / 0.9638 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.9605, allocations: 389.9 kB / 0.9642 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.9605, allocations: 1 kB / 0.9642 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.9605, allocations: 3.938 kB / 0.9642 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9605, allocations: 2 kB / 0.9642 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.961, allocations: 441.3 kB / 0.9646 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.962, allocations: 0.803 MB / 0.9654 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.9626, allocations: 0.5614 MB / 0.9659 GB, free: 64 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.9638, allocations: 1.037 MB / 0.9669 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.9644, allocations: 406 kB / 0.9673 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.9644, allocations: 5.062 kB / 0.9673 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.002098/0.9665, allocations: 1.345 MB / 0.9687 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.9666, allocations: 80.11 kB / 0.9687 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.9694, allocations: 1.845 MB / 0.9705 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/0.9695, allocations: 27.8 kB / 0.9706 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.9699, allocations: 479.8 kB / 0.971 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.9699, allocations: 19.89 kB / 0.971 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.97, allocations: 4 kB / 0.971 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000228/0.9702, allocations: 406.2 kB / 0.9714 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.9718, allocations: 1.513 MB / 0.9729 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.9734, allocations: 1.642 MB / 0.9745 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.9755, allocations: 2.043 MB / 0.9765 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9755, allocations: 0 / 0.9765 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004931/0.9805, allocations: 4.3 MB / 0.9807 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.9805, allocations: 4 kB / 0.9807 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.9805, allocations: 4 kB / 0.9807 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9806, allocations: 0 / 0.9807 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.9807, allocations: 24.02 kB / 0.9807 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9807, allocations: 3.938 kB / 0.9807 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.9818, allocations: 236.2 kB / 0.981 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.9819, allocations: 27.94 kB / 0.981 GB, free: 3.473 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 ($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.000649/0.9825, allocations: 361.6 kB / 0.9813 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.9826, allocations: 118 kB / 0.9814 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.9831, allocations: 153 kB / 0.9816 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9831, allocations: 3.938 kB / 0.9816 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.9831, allocations: 0 / 0.9816 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9831, allocations: 3.938 kB / 0.9816 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008073/0.9839, allocations: 0.6833 MB / 0.9823 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9839, allocations: 0 / 0.9823 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.984, allocations: 8 kB / 0.9823 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.984, allocations: 0 / 0.9823 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.984, allocations: 7.984 kB / 0.9823 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9841, allocations: 4.031 kB / 0.9823 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9841, allocations: 0 / 0.9823 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.9851, allocations: 1.073 MB / 0.9833 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.9853, allocations: 195.1 kB / 0.9835 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.9855, allocations: 15.98 kB / 0.9835 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.9857, allocations: 3.938 kB / 0.9835 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.9857, allocations: 7.984 kB / 0.9835 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.9858, allocations: 11.98 kB / 0.9836 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001375/0.9871, allocations: 1.101 MB / 0.9846 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9871, allocations: 0 / 0.9846 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001479/0.9886, allocations: 439.8 kB / 0.985 GB, free: 15.15 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 (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.002686/0.9913, allocations: 2.065 MB / 0.9871 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.9939, allocations: 2.641 MB / 0.9896 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9939, allocations: 0 / 0.9896 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.9942, allocations: 343.7 kB / 0.99 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.9947, allocations: 50.62 kB / 0.99 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.9996, allocations: 3.548 MB / 0.9935 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/1, allocations: 1.181 MB / 0.9946 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001819/1.001, allocations: 32.56 kB / 0.9947 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/1.001, allocations: 431.3 kB / 0.9951 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.001, allocations: 0 / 0.9951 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/1.06, allocations: 21.67 MB / 1.016 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/1.06, allocations: 266.6 kB / 1.016 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.53, allocations: 0 / 1.016 GB, free: 14.93 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)