Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_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.006089/0.006089, allocations: 101 kB / 15.73 MB, free: 6.059 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.001607/0.001607, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8386/0.8386, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 64.61 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 80.21 MB / 0.6593 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002732/0.1597, allocations: 1.405 MB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004789/0.1645, allocations: 3.033 MB / 0.6636 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.1646, allocations: 0 / 0.6636 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1647, allocations: 7.922 kB / 0.6636 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1649, allocations: 31.78 kB / 0.6636 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.1675, allocations: 0.9933 MB / 0.6646 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1677, allocations: 87.67 kB / 0.6647 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.1677, allocations: 7.984 kB / 0.6647 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.1678, allocations: 35.91 kB / 0.6647 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.168, allocations: 161.6 kB / 0.6649 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.1681, allocations: 12 kB / 0.6649 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.1703, allocations: 1.381 MB / 0.6662 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/0.1711, allocations: 0.6836 MB / 0.6669 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.1715, allocations: 441 kB / 0.6673 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.1737, allocations: 1.805 MB / 0.6691 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1737, allocations: 0 / 0.6691 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1737, allocations: 0 / 0.6691 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.1737, allocations: 0 / 0.6691 GB, free: 3.816 MB / 0.4981 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.01119/0.1849, allocations: 1.746 MB / 0.6708 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.185, allocations: 12.03 kB / 0.6708 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.1851, allocations: 38.73 kB / 0.6708 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.1855, allocations: 147.9 kB / 0.671 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.1862, allocations: 0.5296 MB / 0.6715 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1862, allocations: 12.12 kB / 0.6715 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.1863, allocations: 4 kB / 0.6715 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.1868, allocations: 391.1 kB / 0.6719 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1868, allocations: 0 / 0.6719 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1868, allocations: 0 / 0.6719 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1868, allocations: 3.938 kB / 0.6719 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.1873, allocations: 443.7 kB / 0.6723 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.1882, allocations: 0.8078 MB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.1887, allocations: 0.5671 MB / 0.6737 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1891, allocations: 337.7 kB / 0.674 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.1903, allocations: 1.025 MB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.1907, allocations: 412.8 kB / 0.6754 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1908, allocations: 0 / 0.6754 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001502/0.1923, allocations: 1.351 MB / 0.6767 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1923, allocations: 77.11 kB / 0.6768 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.1943, allocations: 1.851 MB / 0.6786 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.1944, allocations: 29.7 kB / 0.6786 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.1948, allocations: 485.8 kB / 0.6791 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1948, allocations: 19.89 kB / 0.6791 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.1952, allocations: 343.6 kB / 0.6794 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1953, allocations: 305.1 kB / 0.6797 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.1967, allocations: 1.517 MB / 0.6812 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.1983, allocations: 1.646 MB / 0.6828 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007342/0.2056, allocations: 3.694 MB / 0.6864 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2057, allocations: 0 / 0.6864 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004856/0.2105, allocations: 4.324 MB / 0.6906 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2106, allocations: 11.98 kB / 0.6906 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2106, allocations: 0 / 0.6906 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2106, allocations: 4 kB / 0.6906 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2107, allocations: 12 kB / 0.6907 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2108, allocations: 3.984 kB / 0.6907 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.2113, allocations: 241.3 kB / 0.6909 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.2114, allocations: 23.98 kB / 0.6909 GB, free: 12.76 MB / 0.5294 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.0004576/0.2119, allocations: 377.2 kB / 0.6913 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.212, allocations: 130.9 kB / 0.6914 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.2123, allocations: 141.1 kB / 0.6915 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2123, allocations: 0 / 0.6915 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2124, allocations: 4 kB / 0.6915 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2124, allocations: 0 / 0.6915 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.213, allocations: 0.6832 MB / 0.6922 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.213, allocations: 4 kB / 0.6922 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.2131, allocations: 12.02 kB / 0.6922 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2131, allocations: 0 / 0.6922 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2131, allocations: 7.984 kB / 0.6922 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2131, allocations: 0 / 0.6922 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2132, allocations: 0 / 0.6922 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2142, allocations: 1.075 MB / 0.6933 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.2144, allocations: 211.9 kB / 0.6935 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.534e-05/0.2145, allocations: 3.984 kB / 0.6935 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2147, allocations: 4 kB / 0.6935 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2148, allocations: 11.98 kB / 0.6935 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.2148, allocations: 7.984 kB / 0.6935 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001265/0.2161, allocations: 1.104 MB / 0.6946 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2161, allocations: 0 / 0.6946 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001011/0.2171, allocations: 439.1 kB / 0.695 GB, free: 8.426 MB / 0.5294 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.002447/0.2195, allocations: 1.99 MB / 0.6969 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.2222, allocations: 2.655 MB / 0.6995 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2222, allocations: 4.062 kB / 0.6995 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.2226, allocations: 339.8 kB / 0.6999 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2229, allocations: 46.53 kB / 0.6999 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2694/0.4923, allocations: 36.41 MB / 0.7355 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.4933, allocations: 1.161 MB / 0.7366 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.4935, allocations: 32.56 kB / 0.7366 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.494, allocations: 431.3 kB / 0.737 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.494, allocations: 4 kB / 0.737 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.5958, allocations: 59.97 MB / 0.7956 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.96, allocations: 8.406 kB / 0.7956 GB, free: 1.223 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)