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.001077/0.001077, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001229/0.001229, allocations: 172.7 kB / 15.95 MB, free: 208 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 / 240 MB, free: 5.305 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.286/2.286, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.6999, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001427/0.7013, allocations: 1.11 MB / 0.955 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00375/0.7051, allocations: 2.822 MB / 0.9577 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.7052, allocations: 0 / 0.9577 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.7053, allocations: 9.328 kB / 0.9577 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.7055, allocations: 28.19 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.7081, allocations: 0.7548 MB / 0.9585 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.7082, allocations: 89.38 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.7083, allocations: 7.562 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.7083, allocations: 39.53 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.7086, allocations: 236.7 kB / 0.9589 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.7087, allocations: 13.75 kB / 0.9589 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.7109, allocations: 1.313 MB / 0.9602 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.7117, allocations: 0.7027 MB / 0.9608 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.7119, allocations: 184.1 kB / 0.961 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.7138, allocations: 1.184 MB / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7138, allocations: 1.125 kB / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7138, allocations: 0 / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.7139, allocations: 0 / 0.9622 GB, free: 2.602 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.007805/0.7217, allocations: 1.601 MB / 0.9637 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7217, allocations: 8.25 kB / 0.9637 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.7218, allocations: 35.91 kB / 0.9638 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.7222, allocations: 151.9 kB / 0.9639 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.7227, allocations: 499.5 kB / 0.9644 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.7227, allocations: 6 kB / 0.9644 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.7228, allocations: 9.188 kB / 0.9644 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.7232, allocations: 389.9 kB / 0.9648 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7233, allocations: 5 kB / 0.9648 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7233, allocations: 0 / 0.9648 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.7233, allocations: 5.281 kB / 0.9648 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.7238, allocations: 438 kB / 0.9652 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.7245, allocations: 0.8029 MB / 0.966 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.7251, allocations: 0.5655 MB / 0.9666 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.7255, allocations: 337.3 kB / 0.9669 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/0.7264, allocations: 1.041 MB / 0.9679 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.7269, allocations: 402.5 kB / 0.9683 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.7269, allocations: 0 / 0.9683 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0015/0.7284, allocations: 1.35 MB / 0.9696 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.7285, allocations: 83.2 kB / 0.9697 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.7305, allocations: 1.842 MB / 0.9715 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.7306, allocations: 31.17 kB / 0.9715 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.7309, allocations: 480.1 kB / 0.972 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.731, allocations: 19.33 kB / 0.972 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.731, allocations: 1.094 kB / 0.972 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7312, allocations: 405.2 kB / 0.9724 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.7326, allocations: 1.518 MB / 0.9738 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7339, allocations: 1.639 MB / 0.9754 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.7356, allocations: 2.047 MB / 0.9774 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7356, allocations: 0 / 0.9774 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004183/0.7398, allocations: 4.3 MB / 0.9816 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7398, allocations: 4 kB / 0.9816 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.7398, allocations: 7.984 kB / 0.9817 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.7399, allocations: 0 / 0.9817 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.74, allocations: 15.94 kB / 0.9817 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.74, allocations: 0 / 0.9817 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.7407, allocations: 244.2 kB / 0.9819 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.7408, allocations: 23.98 kB / 0.9819 GB, free: 2.75 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.0005171/0.7413, allocations: 365.6 kB / 0.9823 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.7414, allocations: 118 kB / 0.9824 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.7417, allocations: 149 kB / 0.9825 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7418, allocations: 0 / 0.9825 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7418, allocations: 0 / 0.9825 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7418, allocations: 3.938 kB / 0.9825 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.7424, allocations: 0.6872 MB / 0.9832 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7424, allocations: 0 / 0.9832 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.7425, allocations: 11.98 kB / 0.9832 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7425, allocations: 0 / 0.9832 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.7425, allocations: 7.984 kB / 0.9832 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.7425, allocations: 4 kB / 0.9832 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7425, allocations: 0 / 0.9832 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008982/0.7434, allocations: 1.055 MB / 0.9843 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.7436, allocations: 195.1 kB / 0.9844 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.7437, allocations: 3.984 kB / 0.9844 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.7439, allocations: 4 kB / 0.9845 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.7439, allocations: 15.98 kB / 0.9845 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.744, allocations: 11.98 kB / 0.9845 GB, free: 8 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001207/0.7452, allocations: 1.101 MB / 0.9856 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7452, allocations: 0 / 0.9856 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001283/0.7465, allocations: 439.8 kB / 0.986 GB, free: 14.45 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.002223/0.7487, allocations: 1.984 MB / 0.9879 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.7509, allocations: 2.64 MB / 0.9905 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7509, allocations: 8 kB / 0.9905 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.7513, allocations: 335.8 kB / 0.9908 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.7517, allocations: 46.53 kB / 0.9909 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0626/0.8143, allocations: 30.56 MB / 1.021 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009861/0.8153, allocations: 1.157 MB / 1.022 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002815/0.8156, allocations: 36.55 kB / 1.022 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/0.8162, allocations: 431.3 kB / 1.022 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of SimCode: time 1.082e-06/0.8162, allocations: 0 / 1.022 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08349/0.8997, allocations: 58.72 MB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.9, allocations: 276.6 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.221, allocations: 0 / 1.08 GB, free: 14.14 MB / 0.8419 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)