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.004906/0.004906, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001036/0.001036, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7624/0.7624, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 62.44 kB / 0.5857 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.13, allocations: 80.93 MB / 0.6647 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002221/0.1323, allocations: 1.404 MB / 0.6661 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004211/0.1365, allocations: 3.024 MB / 0.669 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.1366, allocations: 4 kB / 0.669 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1367, allocations: 11.92 kB / 0.669 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.137, allocations: 35.72 kB / 0.6691 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.1394, allocations: 0.9862 MB / 0.67 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1396, allocations: 87.73 kB / 0.6701 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.1396, allocations: 4 kB / 0.6701 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.1397, allocations: 43.84 kB / 0.6702 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1399, allocations: 139.6 kB / 0.6703 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.14, allocations: 16 kB / 0.6703 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.1419, allocations: 1.381 MB / 0.6717 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.1421, allocations: 263.9 kB / 0.6719 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.1423, allocations: 270.3 kB / 0.6722 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1438, allocations: 1.484 MB / 0.6736 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1438, allocations: 0 / 0.6736 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1438, allocations: 0 / 0.6736 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1438, allocations: 0 / 0.6736 GB, free: 12.68 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.007648/0.1515, allocations: 1.213 MB / 0.6748 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1515, allocations: 8.031 kB / 0.6748 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.1519, allocations: 91.67 kB / 0.6749 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1523, allocations: 360.9 kB / 0.6752 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1523, allocations: 384 / 0.6752 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1523, allocations: 11.94 kB / 0.6753 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1527, allocations: 387.1 kB / 0.6756 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1527, allocations: 0 / 0.6756 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1528, allocations: 7.984 kB / 0.6756 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1528, allocations: 4 kB / 0.6756 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1532, allocations: 431.8 kB / 0.6761 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.1538, allocations: 0.6287 MB / 0.6767 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.1543, allocations: 0.5711 MB / 0.6772 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.1546, allocations: 337.6 kB / 0.6775 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009461/0.1556, allocations: 1.025 MB / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.156, allocations: 412.8 kB / 0.6789 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.156, allocations: 0 / 0.6789 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001224/0.1572, allocations: 1.285 MB / 0.6802 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1573, allocations: 81.09 kB / 0.6803 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.1583, allocations: 1.21 MB / 0.6815 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1584, allocations: 33.83 kB / 0.6815 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1585, allocations: 257.4 kB / 0.6817 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1586, allocations: 27.72 kB / 0.6818 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.1589, allocations: 347.5 kB / 0.6821 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.159, allocations: 310 kB / 0.6824 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.1601, allocations: 1.361 MB / 0.6837 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.1614, allocations: 1.493 MB / 0.6852 GB, free: 356 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00694/0.1683, allocations: 3.541 MB / 0.6886 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1683, allocations: 3.938 kB / 0.6886 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003925/0.1723, allocations: 3.957 MB / 0.6925 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1723, allocations: 8.031 kB / 0.6925 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1723, allocations: 0 / 0.6925 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1723, allocations: 4 kB / 0.6925 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1725, allocations: 19.92 kB / 0.6925 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1725, allocations: 0 / 0.6925 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.1729, allocations: 232.3 kB / 0.6928 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.173, allocations: 23.97 kB / 0.6928 GB, free: 8.43 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.0002529/0.1732, allocations: 237.6 kB / 0.693 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1733, allocations: 70.78 kB / 0.6931 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1735, allocations: 74.83 kB / 0.6931 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1735, allocations: 4 kB / 0.6931 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1736, allocations: 0 / 0.6931 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1736, allocations: 3.984 kB / 0.6931 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.174, allocations: 0.4927 MB / 0.6936 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.174, allocations: 4 kB / 0.6936 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.174, allocations: 8.031 kB / 0.6936 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1741, allocations: 0 / 0.6936 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1741, allocations: 7.984 kB / 0.6936 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1741, allocations: 3.938 kB / 0.6937 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1741, allocations: 320 / 0.6937 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.175, allocations: 1.009 MB / 0.6946 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.1751, allocations: 147.9 kB / 0.6948 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.1751, allocations: 7.984 kB / 0.6948 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1753, allocations: 4 kB / 0.6948 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.1753, allocations: 7.984 kB / 0.6948 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.1754, allocations: 11.98 kB / 0.6948 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006609/0.176, allocations: 0.6648 MB / 0.6955 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.176, allocations: 0 / 0.6955 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009137/0.1769, allocations: 395.9 kB / 0.6958 GB, free: 5.18 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.001025/0.178, allocations: 491.7 kB / 0.6963 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.1802, allocations: 2.499 MB / 0.6987 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1802, allocations: 0 / 0.6987 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.1805, allocations: 347.7 kB / 0.6991 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1808, allocations: 41.36 kB / 0.6991 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1827, allocations: 1.733 MB / 0.7008 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.1832, allocations: 0.9679 MB / 0.7018 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.1833, allocations: 36.55 kB / 0.7018 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.1834, allocations: 27.42 kB / 0.7018 GB, free: 14.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.1834, allocations: 0 / 0.7018 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Templates: time 0.01531/0.1987, allocations: 9.536 MB / 0.7111 GB, free: 5.473 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)