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.001351/0.001351, allocations: 104.6 kB / 16.41 MB, free: 6.492 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.001259/0.001259, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7627/0.7627, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.25 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 80.92 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002417/0.1335, allocations: 1.394 MB / 0.6667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.1379, allocations: 3.03 MB / 0.6697 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.138, allocations: 0 / 0.6697 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1381, allocations: 15.86 kB / 0.6697 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1384, allocations: 31.78 kB / 0.6697 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.1409, allocations: 0.9929 MB / 0.6707 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.141, allocations: 83.73 kB / 0.6708 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.1411, allocations: 4 kB / 0.6708 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.1412, allocations: 43.84 kB / 0.6708 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1414, allocations: 139.6 kB / 0.671 GB, free: 0 / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.1414, allocations: 12.05 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.1434, allocations: 1.381 MB / 0.6723 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.1436, allocations: 267.8 kB / 0.6726 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1439, allocations: 274.3 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.1458, allocations: 1.477 MB / 0.6743 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1458, allocations: 0 / 0.6743 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1458, allocations: 0 / 0.6743 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.1458, allocations: 0 / 0.6743 GB, free: 12.59 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.007409/0.1532, allocations: 1.214 MB / 0.6755 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1533, allocations: 8.031 kB / 0.6755 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.1536, allocations: 91.67 kB / 0.6756 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.154, allocations: 356.9 kB / 0.6759 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.154, allocations: 4.375 kB / 0.6759 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.1541, allocations: 11.94 kB / 0.6759 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.1545, allocations: 387.1 kB / 0.6763 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1545, allocations: 0 / 0.6763 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1545, allocations: 7.984 kB / 0.6763 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1545, allocations: 4 kB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.1549, allocations: 427.8 kB / 0.6767 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.1554, allocations: 0.6248 MB / 0.6773 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.1559, allocations: 0.571 MB / 0.6779 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.1562, allocations: 337.7 kB / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008808/0.1571, allocations: 1.028 MB / 0.6792 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.1575, allocations: 416.8 kB / 0.6796 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1575, allocations: 0 / 0.6796 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001179/0.1587, allocations: 1.281 MB / 0.6808 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1587, allocations: 85.23 kB / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1598, allocations: 1.21 MB / 0.6821 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1598, allocations: 29.7 kB / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.16, allocations: 257.4 kB / 0.6824 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.16, allocations: 27.72 kB / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.1603, allocations: 347.5 kB / 0.6827 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.1604, allocations: 310 kB / 0.683 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1615, allocations: 1.365 MB / 0.6844 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.1627, allocations: 1.496 MB / 0.6858 GB, free: 264 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/0.1692, allocations: 3.541 MB / 0.6893 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.1693, allocations: 3.938 kB / 0.6893 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003836/0.1731, allocations: 3.957 MB / 0.6932 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1731, allocations: 9.719 kB / 0.6932 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.1732, allocations: 3.938 kB / 0.6932 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1732, allocations: 4 kB / 0.6932 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1733, allocations: 15.98 kB / 0.6932 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1733, allocations: 320 / 0.6932 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.1737, allocations: 228.3 kB / 0.6934 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.1738, allocations: 23.98 kB / 0.6934 GB, free: 8.344 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.0002656/0.1741, allocations: 245.6 kB / 0.6937 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.1741, allocations: 70.72 kB / 0.6937 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.1744, allocations: 66.91 kB / 0.6938 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1744, allocations: 4 kB / 0.6938 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1744, allocations: 0 / 0.6938 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1744, allocations: 0 / 0.6938 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.1748, allocations: 0.4967 MB / 0.6943 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1748, allocations: 0 / 0.6943 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.1749, allocations: 11.98 kB / 0.6943 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1749, allocations: 0 / 0.6943 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1749, allocations: 0 / 0.6943 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1749, allocations: 11.92 kB / 0.6943 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1749, allocations: 7.969 kB / 0.6943 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.1758, allocations: 0.9973 MB / 0.6953 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1759, allocations: 155.9 kB / 0.6954 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.176, allocations: 3.984 kB / 0.6954 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1761, allocations: 4 kB / 0.6954 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1761, allocations: 7.984 kB / 0.6955 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1762, allocations: 11.98 kB / 0.6955 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006444/0.1768, allocations: 0.6687 MB / 0.6961 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1768, allocations: 3.938 kB / 0.6961 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009003/0.1777, allocations: 391.9 kB / 0.6965 GB, free: 5.09 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.001183/0.1789, allocations: 497.6 kB / 0.697 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.181, allocations: 2.484 MB / 0.6994 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.181, allocations: 0 / 0.6994 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1813, allocations: 347.7 kB / 0.6997 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1816, allocations: 41.48 kB / 0.6998 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1836, allocations: 1.785 MB / 0.7015 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.1841, allocations: 0.9679 MB / 0.7025 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1842, allocations: 23.42 kB / 0.7025 GB, free: 14.88 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.1842, allocations: 0 / 0.7025 GB, free: 14.88 MB / 0.545 GB Notification: Performance of Templates: time 0.01601/0.2002, allocations: 10.66 MB / 0.7129 GB, free: 4.207 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)