Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008852/0.0008854, allocations: 100.3 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.0008519/0.0008519, 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.229/1.229, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8505/0.8505, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 0.5069 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 82.32 MB / 0.5873 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00138/0.1613, allocations: 1.106 MB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.1649, allocations: 2.523 MB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.1649, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1649, allocations: 3.938 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.165, allocations: 15.95 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.168, allocations: 1.223 MB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.1681, allocations: 23.95 kB / 0.592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1681, allocations: 4 kB / 0.592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.349e-05/0.1681, allocations: 11.94 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.1682, allocations: 19.91 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1682, allocations: 7.938 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.1698, allocations: 1.143 MB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1699, allocations: 15.92 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1699, allocations: 29.7 kB / 0.5932 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.1709, allocations: 0.6982 MB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1709, allocations: 0 / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.81e-07/0.1709, allocations: 0 / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.1709, allocations: 0 / 0.5939 GB, free: 12.25 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000595/0.1715, allocations: 0.4989 MB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1716, allocations: 12.75 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1716, allocations: 83.12 kB / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1718, allocations: 266.1 kB / 0.5948 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.1718, allocations: 150.6 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.1719, allocations: 154.6 kB / 0.595 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.229e-05/0.1719, allocations: 105 kB / 0.5951 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.172, allocations: 79.22 kB / 0.5952 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.172, allocations: 154.6 kB / 0.5954 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.1721, allocations: 150.6 kB / 0.5955 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.1721, allocations: 154.5 kB / 0.5957 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.1724, allocations: 465.9 kB / 0.5961 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.1724, allocations: 169.1 kB / 0.5963 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1725, allocations: 79.28 kB / 0.5963 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1725, allocations: 109.8 kB / 0.5964 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1725, allocations: 0 / 0.5964 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.819e-05/0.1726, allocations: 33.55 kB / 0.5965 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1726, allocations: 130.7 kB / 0.5966 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1728, allocations: 128.4 kB / 0.5967 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1728, allocations: 29.7 kB / 0.5968 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.1728, allocations: 92.12 kB / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.1728, allocations: 0 / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.1728, allocations: 0 / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.1729, allocations: 318.8 kB / 0.5971 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.173, allocations: 7.984 kB / 0.5972 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.173, allocations: 0 / 0.5972 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.173, allocations: 11.95 kB / 0.5972 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.173, allocations: 0 / 0.5972 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001069/0.1731, allocations: 53.58 kB / 0.5972 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1731, allocations: 4 kB / 0.5972 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.1732, allocations: 7.984 kB / 0.5972 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1732, allocations: 3.938 kB / 0.5972 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.1732, allocations: 0 / 0.5972 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1732, allocations: 0 / 0.5972 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.1732, allocations: 0 / 0.5972 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1732, allocations: 0 / 0.5972 GB, free: 8.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0001149/0.1734, allocations: 194.8 kB / 0.5974 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.1735, allocations: 112.9 kB / 0.5975 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.1735, allocations: 112.8 kB / 0.5976 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-05/0.1736, allocations: 176.3 kB / 0.5978 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-05/0.1736, allocations: 184.2 kB / 0.598 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/0.1737, allocations: 180.3 kB / 0.5981 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1739, allocations: 413.2 kB / 0.5985 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.1739, allocations: 112.9 kB / 0.5986 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.174, allocations: 101 kB / 0.5987 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-05/0.174, allocations: 184.2 kB / 0.5989 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.1741, allocations: 180.3 kB / 0.5991 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.147e-05/0.1741, allocations: 188.3 kB / 0.5993 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.479e-05/0.1742, allocations: 184.4 kB / 0.5994 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.1743, allocations: 315.7 kB / 0.5997 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1744, allocations: 190 kB / 0.5999 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.1745, allocations: 180.2 kB / 0.6001 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1745, allocations: 108.9 kB / 0.6002 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1746, allocations: 180.3 kB / 0.6004 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1746, allocations: 104.9 kB / 0.6005 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.1747, allocations: 101.5 kB / 0.6006 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1747, allocations: 0 / 0.6006 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007071/0.1754, allocations: 275.8 kB / 0.6008 GB, free: 4.719 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001006/0.1764, allocations: 498 kB / 0.6013 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.1765, allocations: 37.7 kB / 0.6013 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1765, allocations: 0 / 0.6013 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.1766, allocations: 0 / 0.6013 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.1769, allocations: 0.5263 MB / 0.6019 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.1771, allocations: 259.7 kB / 0.6021 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1774, allocations: 0.6848 MB / 0.6028 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.1774, allocations: 0 / 0.6028 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1775, allocations: 15.38 kB / 0.6028 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1775, allocations: 4 kB / 0.6028 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.2596/0.4371, allocations: 5.377 MB / 0.608 GB, free: 48.78 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: