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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6911/0.6911, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 403.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 110.9 kB / 484.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009805/0.0009805, allocations: 51.92 kB / 0.5619 GB, free: 70.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1235, allocations: 80.19 MB / 0.6402 GB, free: 6.707 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003339/0.1269, allocations: 1.791 MB / 0.642 GB, free: 4.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006272/0.1332, allocations: 4.399 MB / 0.6463 GB, free: 496 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1333, allocations: 4 kB / 0.6463 GB, free: 492 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1346, allocations: 358.6 kB / 0.6466 GB, free: 132 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1347, allocations: 51.73 kB / 0.6466 GB, free: 80 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.1369, allocations: 0.7549 MB / 0.6474 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1372, allocations: 195.4 kB / 0.6476 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1373, allocations: 21.42 kB / 0.6476 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.1374, allocations: 55.77 kB / 0.6476 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1376, allocations: 172.8 kB / 0.6478 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1377, allocations: 15.94 kB / 0.6478 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.1398, allocations: 1.396 MB / 0.6492 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.14, allocations: 275.8 kB / 0.6495 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1404, allocations: 306.1 kB / 0.6497 GB, free: 12.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.1426, allocations: 1.535 MB / 0.6512 GB, free: 11.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1426, allocations: 0 / 0.6512 GB, free: 11.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1426, allocations: 0 / 0.6512 GB, free: 11.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.1426, allocations: 0 / 0.6512 GB, free: 11.36 MB / 458.7 MB 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.01103/0.1537, allocations: 1.273 MB / 0.6525 GB, free: 10.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1537, allocations: 16.02 kB / 0.6525 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.1541, allocations: 95.53 kB / 0.6526 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.1546, allocations: 398 kB / 0.653 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1547, allocations: 8.359 kB / 0.653 GB, free: 9.477 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1547, allocations: 8.125 kB / 0.653 GB, free: 9.469 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.1551, allocations: 399.1 kB / 0.6534 GB, free: 9.066 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1551, allocations: 0 / 0.6534 GB, free: 9.066 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1552, allocations: 0 / 0.6534 GB, free: 9.066 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1552, allocations: 4 kB / 0.6534 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1556, allocations: 431.7 kB / 0.6538 GB, free: 8.641 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.1562, allocations: 0.6651 MB / 0.6544 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.1567, allocations: 0.5673 MB / 0.655 GB, free: 7.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.157, allocations: 337.5 kB / 0.6553 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.158, allocations: 1.021 MB / 0.6563 GB, free: 5.762 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.1584, allocations: 408.8 kB / 0.6567 GB, free: 5.344 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.1584, allocations: 0 / 0.6567 GB, free: 5.344 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.001227/0.1597, allocations: 1.3 MB / 0.658 GB, free: 4.035 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1597, allocations: 85.09 kB / 0.658 GB, free: 3.934 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1609, allocations: 1.273 MB / 0.6593 GB, free: 2.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.1609, allocations: 29.7 kB / 0.6593 GB, free: 2.613 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1611, allocations: 281.4 kB / 0.6596 GB, free: 2.332 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1612, allocations: 27.64 kB / 0.6596 GB, free: 2.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.1615, allocations: 347.5 kB / 0.6599 GB, free: 1.961 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1616, allocations: 322 kB / 0.6603 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.1627, allocations: 1.357 MB / 0.6616 GB, free: 288 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.164, allocations: 1.497 MB / 0.663 GB, free: 14.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006874/0.1708, allocations: 3.537 MB / 0.6665 GB, free: 11.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1709, allocations: 4 kB / 0.6665 GB, free: 11.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00393/0.1748, allocations: 3.973 MB / 0.6704 GB, free: 7.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1748, allocations: 13.08 kB / 0.6704 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.1749, allocations: 0 / 0.6704 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1749, allocations: 0 / 0.6704 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.175, allocations: 19.94 kB / 0.6704 GB, free: 7.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.175, allocations: 7.984 kB / 0.6704 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.1755, allocations: 232.2 kB / 0.6706 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.1756, allocations: 27.98 kB / 0.6707 GB, free: 6.836 MB / 474.7 MB 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.0002781/0.1759, allocations: 246.9 kB / 0.6709 GB, free: 6.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.1759, allocations: 74.69 kB / 0.671 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.1762, allocations: 79.72 kB / 0.671 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.1762, allocations: 0 / 0.671 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1763, allocations: 4.031 kB / 0.6711 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1763, allocations: 0 / 0.6711 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1767, allocations: 0.5138 MB / 0.6716 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1767, allocations: 3.938 kB / 0.6716 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.1768, allocations: 7.984 kB / 0.6716 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1768, allocations: 4 kB / 0.6716 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1768, allocations: 0 / 0.6716 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1768, allocations: 0 / 0.6716 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1768, allocations: 3.938 kB / 0.6716 GB, free: 5.844 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.1785, allocations: 2.277 MB / 0.6738 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1786, allocations: 159.8 kB / 0.6739 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.1787, allocations: 4 kB / 0.674 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1788, allocations: 7.984 kB / 0.674 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1789, allocations: 11.92 kB / 0.674 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.1789, allocations: 15.97 kB / 0.674 GB, free: 3.289 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007402/0.1797, allocations: 0.7179 MB / 0.6747 GB, free: 2.566 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1797, allocations: 0 / 0.6747 GB, free: 2.566 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00107/0.1807, allocations: 411.8 kB / 0.6751 GB, free: 2.164 MB / 474.7 MB 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.001411/0.1822, allocations: 484.1 kB / 0.6755 GB, free: 1.684 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.1843, allocations: 2.488 MB / 0.678 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1843, allocations: 0 / 0.678 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.1847, allocations: 348.2 kB / 0.6783 GB, free: 14.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1851, allocations: 52.72 kB / 0.6784 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.1877, allocations: 2.176 MB / 0.6805 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.1882, allocations: 0.9881 MB / 0.6814 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1884, allocations: 41.41 kB / 0.6815 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1885, allocations: 27.41 kB / 0.6815 GB, free: 11.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1885, allocations: 0 / 0.6815 GB, free: 11.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02136/0.2099, allocations: 9.981 MB / 0.6913 GB, free: 1.562 MB / 490.7 MB 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)