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.005419/0.005423, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001308/0.001308, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8003/0.8003, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.47 kB / 0.5814 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1338, allocations: 80.22 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002725/0.1366, allocations: 1.727 MB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.1421, allocations: 4.218 MB / 0.6655 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.1422, allocations: 3.938 kB / 0.6655 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.1433, allocations: 366.4 kB / 0.6659 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1434, allocations: 63.67 kB / 0.666 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.1455, allocations: 0.9855 MB / 0.6669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.1458, allocations: 155.4 kB / 0.6671 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1458, allocations: 9.547 kB / 0.6671 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/0.1459, allocations: 51.73 kB / 0.6671 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1461, allocations: 163.5 kB / 0.6673 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.1462, allocations: 16 kB / 0.6673 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.1481, allocations: 1.373 MB / 0.6686 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.1483, allocations: 279.8 kB / 0.6689 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.1486, allocations: 306.1 kB / 0.6692 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.1503, allocations: 1.547 MB / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1503, allocations: 0 / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1503, allocations: 4 kB / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.1504, allocations: 0 / 0.6707 GB, free: 14.93 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.008003/0.1584, allocations: 1.277 MB / 0.672 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1584, allocations: 9.109 kB / 0.672 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/0.1588, allocations: 95.59 kB / 0.6721 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.1594, allocations: 409.9 kB / 0.6725 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1594, allocations: 8.375 kB / 0.6725 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1594, allocations: 7.938 kB / 0.6725 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.1599, allocations: 387.2 kB / 0.6728 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1599, allocations: 3.984 kB / 0.6728 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1599, allocations: 0 / 0.6728 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1599, allocations: 8 kB / 0.6728 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.1603, allocations: 431.7 kB / 0.6733 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.1609, allocations: 0.6614 MB / 0.6739 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.1614, allocations: 0.5594 MB / 0.6745 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.1617, allocations: 341.7 kB / 0.6748 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/0.1627, allocations: 1.028 MB / 0.6758 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.1631, allocations: 404.9 kB / 0.6762 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.1631, allocations: 0 / 0.6762 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001258/0.1643, allocations: 1.296 MB / 0.6774 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1644, allocations: 81.11 kB / 0.6775 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1656, allocations: 1.281 MB / 0.6788 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1656, allocations: 33.7 kB / 0.6788 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.1658, allocations: 285.4 kB / 0.6791 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1658, allocations: 23.69 kB / 0.6791 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/0.1661, allocations: 351.5 kB / 0.6794 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1663, allocations: 325.8 kB / 0.6797 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.1674, allocations: 1.361 MB / 0.6811 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.1687, allocations: 1.493 MB / 0.6825 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006979/0.1757, allocations: 3.541 MB / 0.686 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1757, allocations: 3.938 kB / 0.686 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004101/0.1798, allocations: 3.969 MB / 0.6899 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1798, allocations: 8 kB / 0.6899 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1799, allocations: 4 kB / 0.6899 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1799, allocations: 0 / 0.6899 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.18, allocations: 15.98 kB / 0.6899 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.18, allocations: 4 kB / 0.6899 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.1805, allocations: 228.3 kB / 0.6901 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.1805, allocations: 27.92 kB / 0.6901 GB, free: 10.41 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.0002848/0.1808, allocations: 249.6 kB / 0.6904 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.1809, allocations: 74.67 kB / 0.6904 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.1812, allocations: 75.73 kB / 0.6905 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1812, allocations: 0 / 0.6905 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1812, allocations: 7.922 kB / 0.6905 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1812, allocations: 0 / 0.6905 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1816, allocations: 0.5215 MB / 0.691 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1817, allocations: 4.031 kB / 0.691 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.1817, allocations: 4 kB / 0.691 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1817, allocations: 4 kB / 0.691 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1818, allocations: 7.984 kB / 0.6911 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1818, allocations: 0 / 0.6911 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1818, allocations: 0 / 0.6911 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.1827, allocations: 1.01 MB / 0.692 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1828, allocations: 163.7 kB / 0.6922 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.1829, allocations: 0 / 0.6922 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.183, allocations: 8 kB / 0.6922 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1831, allocations: 11.92 kB / 0.6922 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.1831, allocations: 11.98 kB / 0.6922 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007483/0.1839, allocations: 0.7218 MB / 0.6929 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1839, allocations: 7.938 kB / 0.6929 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009816/0.1849, allocations: 395.9 kB / 0.6933 GB, free: 7.043 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.001064/0.1859, allocations: 482.8 kB / 0.6938 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.1881, allocations: 2.495 MB / 0.6962 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1882, allocations: 0 / 0.6962 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1885, allocations: 339.8 kB / 0.6965 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1889, allocations: 67.08 kB / 0.6966 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1909, allocations: 1.857 MB / 0.6984 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.1915, allocations: 0.9839 MB / 0.6994 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.1916, allocations: 37.42 kB / 0.6994 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1917, allocations: 35.36 kB / 0.6994 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1917, allocations: 3.938 kB / 0.6994 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of Templates: time 0.01703/0.2087, allocations: 10.17 MB / 0.7094 GB, free: 6.574 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)