Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00525/0.00525, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001368/0.001368, allocations: 190.6 kB / 16.68 MB, free: 5.973 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7464/0.7464, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 58.81 kB / 0.5814 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1283, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002736/0.1311, allocations: 1.724 MB / 0.6614 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005271/0.1364, allocations: 4.222 MB / 0.6655 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.1365, allocations: 4 kB / 0.6655 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1375, allocations: 370.4 kB / 0.6659 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1377, allocations: 63.67 kB / 0.666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.1397, allocations: 0.9808 MB / 0.6669 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1399, allocations: 147.4 kB / 0.6671 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.14, allocations: 9.562 kB / 0.6671 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.14, allocations: 55.77 kB / 0.6671 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1402, allocations: 167.4 kB / 0.6673 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.1403, allocations: 12 kB / 0.6673 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.142, allocations: 1.381 MB / 0.6686 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.1422, allocations: 283.8 kB / 0.6689 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.1425, allocations: 298.2 kB / 0.6692 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.144, allocations: 1.557 MB / 0.6707 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.144, allocations: 0 / 0.6707 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.144, allocations: 0 / 0.6707 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.144, allocations: 0 / 0.6707 GB, free: 14.94 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.00917/0.1532, allocations: 1.325 MB / 0.672 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1533, allocations: 9.109 kB / 0.672 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.1536, allocations: 100.2 kB / 0.6721 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.1541, allocations: 402.2 kB / 0.6725 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1541, allocations: 8.359 kB / 0.6725 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1541, allocations: 11.94 kB / 0.6725 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.1545, allocations: 391.1 kB / 0.6729 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1546, allocations: 4 kB / 0.6729 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1546, allocations: 0 / 0.6729 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1546, allocations: 0 / 0.6729 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.155, allocations: 435.7 kB / 0.6733 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1555, allocations: 0.6619 MB / 0.674 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.156, allocations: 0.571 MB / 0.6745 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.1563, allocations: 337.7 kB / 0.6748 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008922/0.1572, allocations: 1.025 MB / 0.6758 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.1576, allocations: 400.8 kB / 0.6762 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.1576, allocations: 0 / 0.6762 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001202/0.1588, allocations: 1.309 MB / 0.6775 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1589, allocations: 85.23 kB / 0.6776 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.16, allocations: 1.285 MB / 0.6788 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.16, allocations: 29.7 kB / 0.6789 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1602, allocations: 289.9 kB / 0.6791 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1603, allocations: 15.86 kB / 0.6792 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.1605, allocations: 359.5 kB / 0.6795 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1607, allocations: 321.9 kB / 0.6798 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.1618, allocations: 1.361 MB / 0.6811 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.1629, allocations: 1.496 MB / 0.6826 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006578/0.1695, allocations: 3.545 MB / 0.6861 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1695, allocations: 3.938 kB / 0.6861 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003891/0.1734, allocations: 3.977 MB / 0.6899 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1735, allocations: 8 kB / 0.6899 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1735, allocations: 0 / 0.6899 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1735, allocations: 0 / 0.6899 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1736, allocations: 19.92 kB / 0.69 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1736, allocations: 4 kB / 0.69 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.1741, allocations: 237.4 kB / 0.6902 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.1741, allocations: 27.97 kB / 0.6902 GB, free: 10.34 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.0002754/0.1744, allocations: 253.6 kB / 0.6905 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.1745, allocations: 79.25 kB / 0.6905 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1747, allocations: 75.72 kB / 0.6906 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1747, allocations: 4 kB / 0.6906 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1747, allocations: 0 / 0.6906 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1748, allocations: 32 / 0.6906 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1752, allocations: 0.5216 MB / 0.6911 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1752, allocations: 0 / 0.6911 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.1752, allocations: 4 kB / 0.6911 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1752, allocations: 3.984 kB / 0.6911 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1753, allocations: 4 kB / 0.6911 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1753, allocations: 3.938 kB / 0.6911 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1753, allocations: 320 / 0.6911 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.1761, allocations: 1.022 MB / 0.6921 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1762, allocations: 168.3 kB / 0.6923 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.1763, allocations: 0 / 0.6923 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1764, allocations: 7.984 kB / 0.6923 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1765, allocations: 8 kB / 0.6923 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1765, allocations: 11.97 kB / 0.6923 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007023/0.1772, allocations: 0.7179 MB / 0.693 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1772, allocations: 0 / 0.693 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009194/0.1781, allocations: 415 kB / 0.6934 GB, free: 6.949 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.001028/0.1792, allocations: 493.3 kB / 0.6939 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.1812, allocations: 2.495 MB / 0.6963 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1812, allocations: 0 / 0.6963 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.1815, allocations: 335.8 kB / 0.6967 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1819, allocations: 65.28 kB / 0.6967 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1838, allocations: 1.888 MB / 0.6986 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.1843, allocations: 0.9801 MB / 0.6995 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.1845, allocations: 37.42 kB / 0.6996 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.1846, allocations: 27.42 kB / 0.6996 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/0.1846, allocations: 4 kB / 0.6996 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of Templates: time 0.0153/0.1999, allocations: 10.18 MB / 0.7095 GB, free: 6.445 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)