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.0008116/0.0008117, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008288/0.0008289, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 8.781 kB / 0.5069 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 82.3 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001251/0.1317, allocations: 1.092 MB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.1355, allocations: 2.781 MB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.1356, allocations: 4 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1357, allocations: 7.938 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1359, allocations: 27.89 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1377, allocations: 0.7253 MB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.1378, allocations: 47.92 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.1379, allocations: 8 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.1379, allocations: 39.84 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1381, allocations: 143.7 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.1382, allocations: 16 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1399, allocations: 1.244 MB / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.14, allocations: 247.3 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.1401, allocations: 117.1 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.1413, allocations: 0.9708 MB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1413, allocations: 0 / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1413, allocations: 0 / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.1414, allocations: 4 kB / 0.5945 GB, free: 11.6 MB / 0.4981 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.008971/0.1503, allocations: 1.17 MB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1504, allocations: 8.031 kB / 0.5957 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.1507, allocations: 90.73 kB / 0.5958 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.151, allocations: 359.6 kB / 0.5961 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1511, allocations: 4 kB / 0.5961 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.1511, allocations: 7.938 kB / 0.5961 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1515, allocations: 387.2 kB / 0.5965 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1515, allocations: 0 / 0.5965 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1515, allocations: 4 kB / 0.5965 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1515, allocations: 4 kB / 0.5965 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.1519, allocations: 427.8 kB / 0.5969 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1524, allocations: 0.648 MB / 0.5975 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.1528, allocations: 0.5594 MB / 0.5981 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/0.1537, allocations: 1.032 MB / 0.5991 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.1541, allocations: 412.9 kB / 0.5995 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1541, allocations: 0 / 0.5995 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001089/0.1552, allocations: 1.289 MB / 0.6007 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1552, allocations: 77.11 kB / 0.6008 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.1562, allocations: 1.202 MB / 0.602 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.1562, allocations: 29.7 kB / 0.602 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1564, allocations: 257.4 kB / 0.6023 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1564, allocations: 23.7 kB / 0.6023 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.1565, allocations: 0 / 0.6023 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1566, allocations: 419.8 kB / 0.6027 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.1577, allocations: 1.357 MB / 0.604 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2243/0.382, allocations: 1.487 MB / 0.6055 GB, free: 49.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3833, allocations: 1.9 MB / 0.6073 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3833, allocations: 1.891 kB / 0.6073 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003079/0.3864, allocations: 3.94 MB / 0.6112 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3864, allocations: 8.844 kB / 0.6112 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3864, allocations: 5.125 kB / 0.6112 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3864, allocations: 1.438 kB / 0.6112 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3865, allocations: 19.55 kB / 0.6112 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3866, allocations: 5 kB / 0.6112 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3869, allocations: 228 kB / 0.6114 GB, free: 47.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.387, allocations: 28.64 kB / 0.6114 GB, free: 47.99 MB / 0.4981 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.3872, allocations: 234.3 kB / 0.6117 GB, free: 47.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.3872, allocations: 67.17 kB / 0.6117 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3875, allocations: 74.62 kB / 0.6118 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3875, allocations: 3.031 kB / 0.6118 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3875, allocations: 4.547 kB / 0.6118 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3875, allocations: 3.375 kB / 0.6118 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3878, allocations: 497.5 kB / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3878, allocations: 0 / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.3879, allocations: 16.44 kB / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3879, allocations: 0 / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3879, allocations: 4.031 kB / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3879, allocations: 5.375 kB / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3879, allocations: 0 / 0.6123 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.3885, allocations: 1.02 MB / 0.6133 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3886, allocations: 147.8 kB / 0.6135 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.3887, allocations: 6.703 kB / 0.6135 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3888, allocations: 9.156 kB / 0.6135 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3888, allocations: 2.781 kB / 0.6135 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.3889, allocations: 18.41 kB / 0.6135 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004813/0.3894, allocations: 0.6556 MB / 0.6141 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.21e-07/0.3894, allocations: 0 / 0.6141 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000786/0.3902, allocations: 397.7 kB / 0.6145 GB, free: 47.04 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008983/0.3911, allocations: 479.6 kB / 0.615 GB, free: 46.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.3926, allocations: 2.495 MB / 0.6174 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3927, allocations: 3.562 kB / 0.6174 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3929, allocations: 339.5 kB / 0.6177 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.3931, allocations: 37.02 kB / 0.6178 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3945, allocations: 1.827 MB / 0.6195 GB, free: 45.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3948, allocations: 0.9827 MB / 0.6205 GB, free: 44.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.395, allocations: 33.86 kB / 0.6205 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.395, allocations: 26.81 kB / 0.6206 GB, free: 44.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.395, allocations: 0 / 0.6206 GB, free: 44.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.01211/0.4072, allocations: 8.96 MB / 0.6293 GB, free: 43.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: