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/Complex 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) 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-master/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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 183.2 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-master/package.mo): time 0.79/0.79, allocations: 133.3 MB / 150.1 MB, free: 11.19 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.453/1.453, allocations: 222.9 MB / 404.7 MB, free: 6.062 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.001021/0.001021, allocations: 95.39 kB / 485.9 MB, free: 7.207 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009691/0.0009692, allocations: 51.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1141, allocations: 80.43 MB / 0.6422 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002328/0.1164, allocations: 1.462 MB / 0.6436 GB, free: 3.941 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.1209, allocations: 3.221 MB / 0.6468 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.1209, allocations: 0 / 0.6468 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.862e-05/0.1211, allocations: 11.92 kB / 0.6468 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.1213, allocations: 23.84 kB / 0.6468 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1232, allocations: 0.7794 MB / 0.6476 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1233, allocations: 107.7 kB / 0.6477 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.1234, allocations: 7.984 kB / 0.6477 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.1234, allocations: 43.8 kB / 0.6477 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.1237, allocations: 220.9 kB / 0.6479 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.1237, allocations: 15.94 kB / 0.6479 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.1256, allocations: 1.396 MB / 0.6493 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.1262, allocations: 0.6758 MB / 0.65 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.1265, allocations: 441 kB / 0.6504 GB, free: 13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1283, allocations: 1.776 MB / 0.6521 GB, free: 11.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1284, allocations: 3.938 kB / 0.6521 GB, free: 11.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1284, allocations: 3.938 kB / 0.6521 GB, free: 11.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1284, allocations: 0 / 0.6521 GB, free: 11.21 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.01089/0.1393, allocations: 1.686 MB / 0.6538 GB, free: 9.461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1393, allocations: 16.02 kB / 0.6538 GB, free: 9.445 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004423/0.1398, allocations: 138.9 kB / 0.6539 GB, free: 9.309 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.1404, allocations: 0.5251 MB / 0.6544 GB, free: 8.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1404, allocations: 4.375 kB / 0.6544 GB, free: 8.711 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.1405, allocations: 8.125 kB / 0.6544 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.1409, allocations: 395.2 kB / 0.6548 GB, free: 8.305 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1409, allocations: 0 / 0.6548 GB, free: 8.305 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1409, allocations: 3.938 kB / 0.6548 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1409, allocations: 0 / 0.6548 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1414, allocations: 435.7 kB / 0.6552 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.1421, allocations: 0.8035 MB / 0.656 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.1426, allocations: 0.5672 MB / 0.6566 GB, free: 6.422 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.143, allocations: 341.7 kB / 0.6569 GB, free: 6.082 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009943/0.144, allocations: 1.024 MB / 0.6579 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.1444, allocations: 416.8 kB / 0.6583 GB, free: 4.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.1444, allocations: 0 / 0.6583 GB, free: 4.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.001412/0.1458, allocations: 1.343 MB / 0.6596 GB, free: 3.059 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1459, allocations: 81.05 kB / 0.6597 GB, free: 2.961 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.1477, allocations: 1.85 MB / 0.6615 GB, free: 1.062 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.1477, allocations: 29.7 kB / 0.6615 GB, free: 1.027 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.1481, allocations: 473.3 kB / 0.662 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.1481, allocations: 23.73 kB / 0.662 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.1485, allocations: 351.5 kB / 0.6623 GB, free: 192 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1486, allocations: 305.2 kB / 0.6626 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.1498, allocations: 1.514 MB / 0.6641 GB, free: 14.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.1512, allocations: 1.642 MB / 0.6657 GB, free: 12.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006979/0.1582, allocations: 3.686 MB / 0.6693 GB, free: 8.941 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1582, allocations: 4 kB / 0.6693 GB, free: 8.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004275/0.1625, allocations: 4.327 MB / 0.6735 GB, free: 4.574 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1626, allocations: 4 kB / 0.6735 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1626, allocations: 0 / 0.6735 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1626, allocations: 4 kB / 0.6735 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1627, allocations: 19.92 kB / 0.6736 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1627, allocations: 0 / 0.6736 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.1633, allocations: 232.3 kB / 0.6738 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.1633, allocations: 23.98 kB / 0.6738 GB, free: 4.293 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.0004119/0.1638, allocations: 369.4 kB / 0.6742 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.1639, allocations: 122 kB / 0.6743 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.1642, allocations: 145 kB / 0.6744 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1642, allocations: 3.969 kB / 0.6744 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1642, allocations: 8 kB / 0.6744 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1642, allocations: 0 / 0.6744 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.1648, allocations: 0.6794 MB / 0.6751 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1648, allocations: 0 / 0.6751 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.1649, allocations: 8 kB / 0.6751 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1649, allocations: 0 / 0.6751 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1649, allocations: 11.97 kB / 0.6751 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1649, allocations: 0 / 0.6751 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1649, allocations: 0 / 0.6751 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.1668, allocations: 2.438 MB / 0.6775 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.167, allocations: 199.1 kB / 0.6777 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.167, allocations: 3.984 kB / 0.6777 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.1673, allocations: 12 kB / 0.6777 GB, free: 144 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1673, allocations: 11.92 kB / 0.6777 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.1673, allocations: 15.92 kB / 0.6777 GB, free: 116 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.1685, allocations: 1.101 MB / 0.6788 GB, free: 14.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1685, allocations: 0 / 0.6788 GB, free: 14.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001039/0.1695, allocations: 439.8 kB / 0.6792 GB, free: 14.56 MB / 490.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.001146/0.1707, allocations: 478.8 kB / 0.6797 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.1728, allocations: 2.652 MB / 0.6823 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1729, allocations: 0 / 0.6823 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1732, allocations: 343.8 kB / 0.6826 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1736, allocations: 47.86 kB / 0.6826 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.1766, allocations: 2.971 MB / 0.6855 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.1772, allocations: 1.157 MB / 0.6867 GB, free: 6.836 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.1774, allocations: 32.55 kB / 0.6867 GB, free: 6.801 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1775, allocations: 23.42 kB / 0.6867 GB, free: 6.777 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1775, allocations: 4 kB / 0.6867 GB, free: 6.773 MB / 490.7 MB Notification: Performance of Templates: time 0.2426/0.4202, allocations: 9.929 MB / 0.6964 GB, free: 56.72 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)