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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 182 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6858/0.6858, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 404.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 107.6 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009522/0.0009523, allocations: 55.92 kB / 0.5636 GB, free: 69.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1156, allocations: 80.43 MB / 0.6422 GB, free: 5.367 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002923/0.1185, allocations: 1.792 MB / 0.6439 GB, free: 3.555 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.1243, allocations: 4.395 MB / 0.6482 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.1245, allocations: 3.938 kB / 0.6482 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1255, allocations: 346.7 kB / 0.6486 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1257, allocations: 55.75 kB / 0.6486 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1274, allocations: 0.7633 MB / 0.6494 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1277, allocations: 191.3 kB / 0.6495 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1277, allocations: 13.5 kB / 0.6496 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.1278, allocations: 59.77 kB / 0.6496 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.128, allocations: 172.8 kB / 0.6498 GB, free: 13.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.1281, allocations: 16 kB / 0.6498 GB, free: 13.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.1299, allocations: 1.392 MB / 0.6511 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1301, allocations: 271.8 kB / 0.6514 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.1304, allocations: 314.1 kB / 0.6517 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.1319, allocations: 1.531 MB / 0.6532 GB, free: 10.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.132, allocations: 0 / 0.6532 GB, free: 10.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.132, allocations: 0 / 0.6532 GB, free: 10.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.132, allocations: 0 / 0.6532 GB, free: 10.03 MB / 458.7 MB 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.01018/0.1422, allocations: 1.273 MB / 0.6544 GB, free: 8.707 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1422, allocations: 8.031 kB / 0.6545 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.1426, allocations: 103.5 kB / 0.6546 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.143, allocations: 405.9 kB / 0.6549 GB, free: 8.152 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.143, allocations: 12.36 kB / 0.655 GB, free: 8.141 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.1431, allocations: 8.125 kB / 0.655 GB, free: 8.133 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1435, allocations: 387.2 kB / 0.6553 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1435, allocations: 0 / 0.6553 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1435, allocations: 0 / 0.6553 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1435, allocations: 8 kB / 0.6553 GB, free: 7.734 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.144, allocations: 443.7 kB / 0.6558 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.1446, allocations: 0.6612 MB / 0.6564 GB, free: 6.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1451, allocations: 0.5594 MB / 0.657 GB, free: 6.012 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.1454, allocations: 345.6 kB / 0.6573 GB, free: 5.668 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009767/0.1464, allocations: 1.025 MB / 0.6583 GB, free: 4.422 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.1468, allocations: 408.9 kB / 0.6587 GB, free: 4.004 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1468, allocations: 0 / 0.6587 GB, free: 4.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.001249/0.148, allocations: 1.293 MB / 0.6599 GB, free: 2.703 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1481, allocations: 81.11 kB / 0.66 GB, free: 2.605 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.1493, allocations: 1.281 MB / 0.6613 GB, free: 1.312 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1493, allocations: 33.7 kB / 0.6613 GB, free: 1.273 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1495, allocations: 277.4 kB / 0.6616 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1496, allocations: 27.64 kB / 0.6616 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.1499, allocations: 347.5 kB / 0.6619 GB, free: 0.625 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.15, allocations: 318 kB / 0.6622 GB, free: 316 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.1511, allocations: 1.361 MB / 0.6635 GB, free: 14.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.1524, allocations: 1.499 MB / 0.665 GB, free: 13.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006858/0.1593, allocations: 3.534 MB / 0.6685 GB, free: 9.812 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1593, allocations: 4 kB / 0.6685 GB, free: 9.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004112/0.1634, allocations: 3.977 MB / 0.6724 GB, free: 5.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1634, allocations: 4 kB / 0.6724 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.1634, allocations: 7.984 kB / 0.6724 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1635, allocations: 0 / 0.6724 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1636, allocations: 12 kB / 0.6724 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1636, allocations: 8 kB / 0.6724 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.1641, allocations: 240.2 kB / 0.6726 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.1641, allocations: 19.98 kB / 0.6726 GB, free: 5.508 MB / 474.7 MB 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.0002653/0.1644, allocations: 257.6 kB / 0.6729 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.1645, allocations: 70.69 kB / 0.6729 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.1647, allocations: 75.72 kB / 0.673 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1647, allocations: 0 / 0.673 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1647, allocations: 4 kB / 0.673 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1648, allocations: 0 / 0.673 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.1652, allocations: 0.5099 MB / 0.6735 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1652, allocations: 7.969 kB / 0.6735 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1653, allocations: 15.92 kB / 0.6735 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1653, allocations: 0 / 0.6735 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1653, allocations: 8 kB / 0.6735 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1653, allocations: 0 / 0.6735 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1653, allocations: 0 / 0.6735 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.167, allocations: 2.277 MB / 0.6758 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1671, allocations: 155.8 kB / 0.6759 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.1672, allocations: 4 kB / 0.6759 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1674, allocations: 7.984 kB / 0.6759 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1674, allocations: 11.94 kB / 0.6759 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.1674, allocations: 19.97 kB / 0.676 GB, free: 1.949 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007353/0.1682, allocations: 0.714 MB / 0.6767 GB, free: 1.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1682, allocations: 0 / 0.6767 GB, free: 1.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001108/0.1693, allocations: 411.8 kB / 0.6771 GB, free: 0.8281 MB / 474.7 MB 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.001148/0.1705, allocations: 486.8 kB / 0.6775 GB, free: 352 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.1726, allocations: 2.492 MB / 0.6799 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1727, allocations: 0 / 0.6799 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.173, allocations: 343.7 kB / 0.6803 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1734, allocations: 54.19 kB / 0.6803 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1756, allocations: 2.17 MB / 0.6824 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.1762, allocations: 0.992 MB / 0.6834 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1764, allocations: 41.42 kB / 0.6835 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1765, allocations: 23.42 kB / 0.6835 GB, free: 10.16 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1765, allocations: 0 / 0.6835 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Templates: time 0.01609/0.1926, allocations: 9.981 MB / 0.6932 GB, free: 232 kB / 490.7 MB 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)