Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.007524/0.007524, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001883/0.001883, allocations: 200.6 kB / 16.68 MB, free: 5.934 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.64 kB / 0.5858 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 81.03 MB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00236/0.1436, allocations: 1.407 MB / 0.6663 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.1481, allocations: 3.016 MB / 0.6692 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.1482, allocations: 0 / 0.6692 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.73e-05/0.1483, allocations: 11.88 kB / 0.6693 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1485, allocations: 31.83 kB / 0.6693 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.151, allocations: 1.001 MB / 0.6703 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1512, allocations: 83.73 kB / 0.6703 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.1512, allocations: 4 kB / 0.6703 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.1513, allocations: 47.97 kB / 0.6704 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.1516, allocations: 157.6 kB / 0.6705 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.1516, allocations: 12 kB / 0.6706 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.1538, allocations: 1.377 MB / 0.6719 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006981/0.1545, allocations: 0.6836 MB / 0.6726 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.1549, allocations: 444.9 kB / 0.673 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.1573, allocations: 1.801 MB / 0.6748 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1573, allocations: 0 / 0.6748 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1573, allocations: 0 / 0.6748 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.1574, allocations: 0 / 0.6748 GB, free: 11.49 MB / 0.5137 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.01093/0.1683, allocations: 1.749 MB / 0.6765 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1684, allocations: 13.11 kB / 0.6765 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1684, allocations: 30.75 kB / 0.6765 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004302/0.1688, allocations: 159.8 kB / 0.6767 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.1695, allocations: 0.5296 MB / 0.6772 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1695, allocations: 8.125 kB / 0.6772 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.1695, allocations: 4 kB / 0.6772 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.17, allocations: 395.2 kB / 0.6776 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.17, allocations: 0 / 0.6776 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.17, allocations: 0 / 0.6776 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.17, allocations: 4 kB / 0.6776 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.1705, allocations: 431.7 kB / 0.678 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.1713, allocations: 0.8156 MB / 0.6788 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.1719, allocations: 0.5712 MB / 0.6793 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.1723, allocations: 333.5 kB / 0.6796 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.1734, allocations: 1.025 MB / 0.6806 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.1739, allocations: 400.9 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1739, allocations: 0 / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001463/0.1754, allocations: 1.359 MB / 0.6824 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1755, allocations: 77.11 kB / 0.6824 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.1774, allocations: 1.847 MB / 0.6842 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.1775, allocations: 37.69 kB / 0.6843 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.1779, allocations: 477.8 kB / 0.6847 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1779, allocations: 19.84 kB / 0.6847 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.1783, allocations: 347.5 kB / 0.6851 GB, free: 356 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1784, allocations: 305.2 kB / 0.6854 GB, free: 48 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.1799, allocations: 1.521 MB / 0.6869 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.1815, allocations: 1.638 MB / 0.6885 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/0.1888, allocations: 3.698 MB / 0.6921 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1889, allocations: 3.938 kB / 0.6921 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004905/0.1938, allocations: 4.324 MB / 0.6963 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1938, allocations: 4 kB / 0.6963 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.1938, allocations: 0 / 0.6963 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1939, allocations: 8 kB / 0.6963 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.194, allocations: 15.98 kB / 0.6963 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.194, allocations: 3.938 kB / 0.6963 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005995/0.1946, allocations: 253.4 kB / 0.6966 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.1947, allocations: 19.98 kB / 0.6966 GB, free: 4.422 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.0004771/0.1952, allocations: 365.5 kB / 0.6969 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1953, allocations: 130.9 kB / 0.6971 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.1957, allocations: 145 kB / 0.6972 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1957, allocations: 8.031 kB / 0.6972 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1957, allocations: 0 / 0.6972 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1957, allocations: 0 / 0.6972 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.1964, allocations: 0.6833 MB / 0.6979 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1964, allocations: 0 / 0.6979 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.1964, allocations: 7.984 kB / 0.6979 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1965, allocations: 4 kB / 0.6979 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1965, allocations: 0 / 0.6979 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1965, allocations: 0 / 0.6979 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1965, allocations: 7.984 kB / 0.6979 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1976, allocations: 1.064 MB / 0.6989 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.1978, allocations: 208 kB / 0.6991 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.1979, allocations: 0 / 0.6991 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1981, allocations: 15.92 kB / 0.6991 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1981, allocations: 11.98 kB / 0.6992 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.1982, allocations: 15.97 kB / 0.6992 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001319/0.1995, allocations: 1.101 MB / 0.7002 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1995, allocations: 0 / 0.7002 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001126/0.2007, allocations: 439.1 kB / 0.7007 GB, free: 96 kB / 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.002588/0.2032, allocations: 1.986 MB / 0.7026 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.206, allocations: 2.652 MB / 0.7052 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.206, allocations: 0 / 0.7052 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.2064, allocations: 339.8 kB / 0.7055 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.2068, allocations: 51.14 kB / 0.7056 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2704/0.4772, allocations: 36.42 MB / 0.7411 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/0.4781, allocations: 1.161 MB / 0.7423 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.4783, allocations: 36.55 kB / 0.7423 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.4788, allocations: 427.3 kB / 0.7427 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.4788, allocations: 0 / 0.7427 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3954/0.8742, allocations: 59.97 MB / 0.8013 GB, free: 38.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.12, allocations: 15.16 kB / 0.8013 GB, free: 38.17 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)