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_1borehole_5meters.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004989/0.004989, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.00134/0.00134, allocations: 196.3 kB / 16.68 MB, free: 5.871 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8635/0.8635, allocations: 135.6 MB / 426.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.98 kB / 0.5863 GB, free: 21.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1419, allocations: 81.02 MB / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002448/0.1444, allocations: 1.405 MB / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004718/0.1491, allocations: 3.02 MB / 0.6697 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.1492, allocations: 3.938 kB / 0.6697 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1494, allocations: 11.86 kB / 0.6697 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1496, allocations: 27.84 kB / 0.6698 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.1522, allocations: 0.9932 MB / 0.6707 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1523, allocations: 83.73 kB / 0.6708 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1524, allocations: 4 kB / 0.6708 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.1525, allocations: 39.84 kB / 0.6709 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1527, allocations: 151.6 kB / 0.671 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.1528, allocations: 16 kB / 0.671 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.1549, allocations: 1.373 MB / 0.6724 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.1552, allocations: 267.8 kB / 0.6726 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.1555, allocations: 270.3 kB / 0.6729 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.1574, allocations: 1.487 MB / 0.6743 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1574, allocations: 0 / 0.6743 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1574, allocations: 0 / 0.6743 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1574, allocations: 0 / 0.6743 GB, free: 11.91 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.01061/0.1681, allocations: 1.247 MB / 0.6755 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1681, allocations: 8.031 kB / 0.6756 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.1685, allocations: 92.23 kB / 0.6756 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.1689, allocations: 361 kB / 0.676 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.169, allocations: 4.359 kB / 0.676 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.169, allocations: 7.938 kB / 0.676 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1695, allocations: 399.1 kB / 0.6764 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1695, allocations: 0 / 0.6764 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1695, allocations: 7.984 kB / 0.6764 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1695, allocations: 0 / 0.6764 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.17, allocations: 431.8 kB / 0.6768 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1707, allocations: 0.6331 MB / 0.6774 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.1713, allocations: 0.5787 MB / 0.678 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.1717, allocations: 337.7 kB / 0.6783 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.1728, allocations: 1.028 MB / 0.6793 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.1733, allocations: 408.8 kB / 0.6797 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1733, allocations: 0 / 0.6797 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001495/0.1748, allocations: 1.293 MB / 0.681 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.1749, allocations: 77.11 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.1761, allocations: 1.21 MB / 0.6822 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1762, allocations: 29.7 kB / 0.6822 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1764, allocations: 261.9 kB / 0.6825 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1764, allocations: 23.83 kB / 0.6825 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.1768, allocations: 359.7 kB / 0.6829 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1769, allocations: 310 kB / 0.6832 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.1783, allocations: 1.357 MB / 0.6845 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.1797, allocations: 1.493 MB / 0.6859 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007511/0.1873, allocations: 3.545 MB / 0.6894 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1873, allocations: 3.938 kB / 0.6894 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004772/0.1921, allocations: 3.969 MB / 0.6933 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1921, allocations: 4 kB / 0.6933 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1921, allocations: 4 kB / 0.6933 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1921, allocations: 0 / 0.6933 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1923, allocations: 15.98 kB / 0.6933 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1923, allocations: 4.344 kB / 0.6933 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.1928, allocations: 233.4 kB / 0.6935 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.1929, allocations: 23.98 kB / 0.6936 GB, free: 7.582 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.0003118/0.1932, allocations: 249.5 kB / 0.6938 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.1933, allocations: 71.3 kB / 0.6939 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.1936, allocations: 78.89 kB / 0.6939 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1936, allocations: 0 / 0.6939 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1936, allocations: 0 / 0.6939 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1936, allocations: 0 / 0.6939 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.1941, allocations: 0.4928 MB / 0.6944 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1941, allocations: 4 kB / 0.6944 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.129e-05/0.1942, allocations: 7.984 kB / 0.6944 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1942, allocations: 3.938 kB / 0.6944 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1942, allocations: 4 kB / 0.6944 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.1942, allocations: 7.922 kB / 0.6944 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1942, allocations: 7.969 kB / 0.6944 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1953, allocations: 0.9979 MB / 0.6954 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1954, allocations: 152.5 kB / 0.6956 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.1955, allocations: 3.984 kB / 0.6956 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1957, allocations: 12 kB / 0.6956 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.1957, allocations: 7.984 kB / 0.6956 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.1957, allocations: 11.98 kB / 0.6956 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007858/0.1965, allocations: 0.6648 MB / 0.6963 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1965, allocations: 0 / 0.6963 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009905/0.1975, allocations: 403 kB / 0.6966 GB, free: 4.305 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.001378/0.1989, allocations: 497.9 kB / 0.6971 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002523/0.2015, allocations: 2.492 MB / 0.6995 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2015, allocations: 4 kB / 0.6995 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.2019, allocations: 343.9 kB / 0.6999 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.2022, allocations: 39.23 kB / 0.6999 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2044, allocations: 1.768 MB / 0.7016 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.205, allocations: 0.9646 MB / 0.7026 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.2051, allocations: 28.56 kB / 0.7026 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2052, allocations: 27.41 kB / 0.7026 GB, free: 14.08 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2052, allocations: 0 / 0.7026 GB, free: 14.08 MB / 0.545 GB Notification: Performance of Templates: time 0.01802/0.2233, allocations: 9.547 MB / 0.712 GB, free: 4.566 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)