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_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-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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008031/0.0008031, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008278/0.0008279, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9135/0.9135, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 16.55 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 82.31 MB / 0.5874 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001733/0.1541, allocations: 1.405 MB / 0.5888 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005143/0.1593, allocations: 3.876 MB / 0.5926 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.1594, allocations: 0 / 0.5926 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.1604, allocations: 326.3 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1605, allocations: 51.78 kB / 0.5929 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1624, allocations: 0.7374 MB / 0.5937 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1626, allocations: 163.4 kB / 0.5938 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.1627, allocations: 21.53 kB / 0.5938 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.1627, allocations: 55.78 kB / 0.5939 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.163, allocations: 187.6 kB / 0.5941 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.163, allocations: 12 kB / 0.5941 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.1648, allocations: 1.306 MB / 0.5954 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.165, allocations: 267.2 kB / 0.5956 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1652, allocations: 125.1 kB / 0.5957 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1662, allocations: 1.029 MB / 0.5967 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1662, allocations: 0 / 0.5967 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1663, allocations: 0 / 0.5967 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1663, allocations: 0 / 0.5967 GB, free: 9.41 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.006977/0.1732, allocations: 1.222 MB / 0.5979 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1733, allocations: 15.97 kB / 0.5979 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.1736, allocations: 94.66 kB / 0.598 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.1741, allocations: 400.7 kB / 0.5984 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1741, allocations: 4 kB / 0.5984 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1741, allocations: 11.98 kB / 0.5984 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1746, allocations: 391 kB / 0.5988 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1746, allocations: 4 kB / 0.5988 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1746, allocations: 4 kB / 0.5988 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1746, allocations: 0 / 0.5988 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.175, allocations: 435.8 kB / 0.5992 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.1756, allocations: 0.6535 MB / 0.5999 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.1762, allocations: 0.5672 MB / 0.6004 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.1765, allocations: 333.7 kB / 0.6007 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.1775, allocations: 1.036 MB / 0.6017 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003956/0.1779, allocations: 412.8 kB / 0.6021 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1779, allocations: 0 / 0.6021 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001312/0.1792, allocations: 1.301 MB / 0.6034 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.1793, allocations: 85.09 kB / 0.6035 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.1805, allocations: 1.269 MB / 0.6047 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.1806, allocations: 33.7 kB / 0.6048 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1808, allocations: 277.4 kB / 0.605 GB, free: 444 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1808, allocations: 19.8 kB / 0.605 GB, free: 424 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.1808, allocations: 4 kB / 0.6051 GB, free: 420 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.246/0.4269, allocations: 420.5 kB / 0.6055 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.428, allocations: 1.363 MB / 0.6068 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009616/0.429, allocations: 1.496 MB / 0.6082 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.4301, allocations: 1.896 MB / 0.6101 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4302, allocations: 1.891 kB / 0.6101 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00321/0.4334, allocations: 3.951 MB / 0.614 GB, free: 46.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4334, allocations: 6.406 kB / 0.614 GB, free: 46.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4334, allocations: 3.234 kB / 0.614 GB, free: 46.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4334, allocations: 3.219 kB / 0.614 GB, free: 46.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4336, allocations: 13.56 kB / 0.614 GB, free: 46.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4336, allocations: 9.328 kB / 0.614 GB, free: 46.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.434, allocations: 226.3 kB / 0.6142 GB, free: 46.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.434, allocations: 22.2 kB / 0.6142 GB, free: 46.51 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.0002324/0.4343, allocations: 250.4 kB / 0.6145 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.4343, allocations: 71.88 kB / 0.6145 GB, free: 46.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.4346, allocations: 87.7 kB / 0.6146 GB, free: 46.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4346, allocations: 0 / 0.6146 GB, free: 46.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4346, allocations: 2.406 kB / 0.6146 GB, free: 46.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4346, allocations: 4.25 kB / 0.6146 GB, free: 46.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.4349, allocations: 0.5193 MB / 0.6151 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4349, allocations: 3.875 kB / 0.6151 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.435, allocations: 9.922 kB / 0.6151 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.435, allocations: 0 / 0.6151 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.435, allocations: 6.234 kB / 0.6151 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.435, allocations: 1.969 kB / 0.6152 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.435, allocations: 6.188 kB / 0.6152 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.4358, allocations: 1.002 MB / 0.6161 GB, free: 45.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.4358, allocations: 161 kB / 0.6163 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.4359, allocations: 7.172 kB / 0.6163 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4361, allocations: 7.141 kB / 0.6163 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.4361, allocations: 6.516 kB / 0.6163 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4362, allocations: 13.5 kB / 0.6163 GB, free: 45.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000606/0.4368, allocations: 0.7071 MB / 0.617 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4368, allocations: 6.562 kB / 0.617 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008442/0.4376, allocations: 403.8 kB / 0.6174 GB, free: 45.43 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.0009485/0.4386, allocations: 479.2 kB / 0.6179 GB, free: 45.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.4403, allocations: 2.488 MB / 0.6203 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4403, allocations: 2.969 kB / 0.6203 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.4405, allocations: 341.3 kB / 0.6206 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.4409, allocations: 51.78 kB / 0.6207 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.4426, allocations: 1.977 MB / 0.6226 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4429, allocations: 0.9845 MB / 0.6236 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.4431, allocations: 41.03 kB / 0.6236 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.4432, allocations: 26.2 kB / 0.6236 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4432, allocations: 7.672 kB / 0.6236 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.01493/0.4581, allocations: 9.527 MB / 0.6329 GB, free: 42.26 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)