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/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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001098/0.001098, 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/package.mo): time 0.8706/0.8706, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.428/1.428, allocations: 222.9 MB / 403.3 MB, free: 7.066 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.001119/0.00112, allocations: 105.3 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009992, allocations: 59.91 kB / 0.5619 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1268, allocations: 80.21 MB / 0.6402 GB, free: 6.734 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002607/0.1295, allocations: 1.466 MB / 0.6416 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1342, allocations: 3.22 MB / 0.6448 GB, free: 2.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.1343, allocations: 0 / 0.6448 GB, free: 2.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1344, allocations: 11.92 kB / 0.6448 GB, free: 2.008 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1346, allocations: 23.91 kB / 0.6448 GB, free: 1.984 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1368, allocations: 0.766 MB / 0.6456 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.137, allocations: 111.6 kB / 0.6457 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.137, allocations: 8 kB / 0.6457 GB, free: 1.102 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.1371, allocations: 43.83 kB / 0.6457 GB, free: 1.059 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.1374, allocations: 224.8 kB / 0.6459 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.1375, allocations: 12 kB / 0.646 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.1397, allocations: 1.396 MB / 0.6473 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.1403, allocations: 0.6758 MB / 0.648 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.1407, allocations: 441 kB / 0.6484 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.143, allocations: 1.772 MB / 0.6501 GB, free: 12.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.143, allocations: 0 / 0.6501 GB, free: 12.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.143, allocations: 0 / 0.6501 GB, free: 12.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.1431, allocations: 0 / 0.6501 GB, free: 12.54 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.01122/0.1543, allocations: 1.702 MB / 0.6518 GB, free: 10.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1543, allocations: 8.031 kB / 0.6518 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004108/0.1548, allocations: 142.9 kB / 0.6519 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.1553, allocations: 0.5211 MB / 0.6524 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1553, allocations: 4.375 kB / 0.6525 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.1554, allocations: 20.05 kB / 0.6525 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.1558, allocations: 391.2 kB / 0.6528 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1558, allocations: 0 / 0.6528 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1558, allocations: 0 / 0.6528 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1559, allocations: 8 kB / 0.6529 GB, free: 9.609 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.1563, allocations: 431.7 kB / 0.6533 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.157, allocations: 0.8073 MB / 0.6541 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.1575, allocations: 0.5672 MB / 0.6546 GB, free: 7.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1577, allocations: 337.7 kB / 0.6549 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009887/0.1587, allocations: 1.036 MB / 0.6559 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.1591, allocations: 400.8 kB / 0.6563 GB, free: 5.727 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.1592, allocations: 0 / 0.6563 GB, free: 5.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.00126/0.1604, allocations: 1.343 MB / 0.6576 GB, free: 4.375 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1605, allocations: 85.09 kB / 0.6577 GB, free: 4.273 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.1621, allocations: 1.842 MB / 0.6595 GB, free: 2.383 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1622, allocations: 33.7 kB / 0.6595 GB, free: 2.344 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.1625, allocations: 477.3 kB / 0.66 GB, free: 1.871 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1625, allocations: 27.67 kB / 0.66 GB, free: 1.844 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.1628, allocations: 347.5 kB / 0.6604 GB, free: 1.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.1629, allocations: 309.2 kB / 0.6607 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.1641, allocations: 1.51 MB / 0.6621 GB, free: 15.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.1655, allocations: 1.646 MB / 0.6637 GB, free: 14.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007141/0.1727, allocations: 3.69 MB / 0.6673 GB, free: 10.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1727, allocations: 0 / 0.6673 GB, free: 10.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004777/0.1775, allocations: 4.327 MB / 0.6716 GB, free: 5.879 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1775, allocations: 4 kB / 0.6716 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.1775, allocations: 4 kB / 0.6716 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1776, allocations: 0 / 0.6716 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1777, allocations: 15.98 kB / 0.6716 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1777, allocations: 0 / 0.6716 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.1783, allocations: 232.3 kB / 0.6718 GB, free: 5.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.1784, allocations: 19.98 kB / 0.6718 GB, free: 5.605 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.0005008/0.1789, allocations: 370.8 kB / 0.6722 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.179, allocations: 122 kB / 0.6723 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.1794, allocations: 145.1 kB / 0.6724 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1794, allocations: 8.031 kB / 0.6724 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1794, allocations: 0 / 0.6724 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1794, allocations: 3.984 kB / 0.6724 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.18, allocations: 0.6793 MB / 0.6731 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.18, allocations: 0 / 0.6731 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.1801, allocations: 4 kB / 0.6731 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1801, allocations: 7.984 kB / 0.6731 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1801, allocations: 0 / 0.6731 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1801, allocations: 3.938 kB / 0.6731 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1802, allocations: 4 kB / 0.6731 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.182, allocations: 2.434 MB / 0.6755 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.1821, allocations: 199.1 kB / 0.6757 GB, free: 1.473 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.1822, allocations: 11.98 kB / 0.6757 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1824, allocations: 4 kB / 0.6757 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.1825, allocations: 11.92 kB / 0.6757 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.1825, allocations: 11.98 kB / 0.6757 GB, free: 1.434 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.1836, allocations: 1.104 MB / 0.6768 GB, free: 312 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 3.938 kB / 0.6768 GB, free: 308 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001179/0.1848, allocations: 435.9 kB / 0.6772 GB, free: 15.88 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.001129/0.186, allocations: 479.7 kB / 0.6777 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.1881, allocations: 2.649 MB / 0.6803 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1882, allocations: 0 / 0.6803 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.1885, allocations: 351.8 kB / 0.6806 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1889, allocations: 42.7 kB / 0.6807 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.1919, allocations: 2.973 MB / 0.6836 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.1925, allocations: 1.161 MB / 0.6847 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.1927, allocations: 32.55 kB / 0.6847 GB, free: 8.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.1928, allocations: 27.42 kB / 0.6847 GB, free: 8.09 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1929, allocations: 4 kB / 0.6848 GB, free: 8.086 MB / 490.7 MB Notification: Performance of Templates: time 0.266/0.4589, allocations: 9.916 MB / 0.6944 GB, free: 57.43 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)