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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009015, allocations: 100.2 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.00104/0.00104, 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.276/1.276, allocations: 223.2 MB / 239.9 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9034/0.9034, allocations: 135.2 MB / 426.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8 kB / 0.5069 GB, free: 5.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 82.32 MB / 0.5873 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001374/0.156, allocations: 1.113 MB / 0.5883 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.1599, allocations: 2.562 MB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.1599, allocations: 0 / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.16, allocations: 4 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.16, allocations: 19.95 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.1634, allocations: 1.225 MB / 0.5921 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.1635, allocations: 35.89 kB / 0.5921 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1635, allocations: 11.98 kB / 0.5921 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.145e-05/0.1636, allocations: 15.88 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.681e-05/0.1636, allocations: 11.92 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.216e-06/0.1636, allocations: 4 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.1652, allocations: 1.194 MB / 0.5933 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1653, allocations: 3.938 kB / 0.5933 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1653, allocations: 29.7 kB / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009152/0.1662, allocations: 0.7099 MB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1662, allocations: 4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1662, allocations: 4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.1662, allocations: 0 / 0.594 GB, free: 11.98 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.0005485/0.1668, allocations: 0.5106 MB / 0.5945 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.1668, allocations: 12.03 kB / 0.5945 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1669, allocations: 79.19 kB / 0.5946 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.167, allocations: 250.2 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.1671, allocations: 158.5 kB / 0.595 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.1672, allocations: 162.4 kB / 0.5952 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.095e-05/0.1672, allocations: 101 kB / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1672, allocations: 75.28 kB / 0.5953 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.1673, allocations: 150.6 kB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.1673, allocations: 154.6 kB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.1674, allocations: 154.6 kB / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.1676, allocations: 465.9 kB / 0.5962 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.1677, allocations: 173.1 kB / 0.5964 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1678, allocations: 75.28 kB / 0.5965 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.1678, allocations: 109.8 kB / 0.5966 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.1678, allocations: 3.938 kB / 0.5966 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.103e-05/0.1679, allocations: 33.61 kB / 0.5966 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1679, allocations: 130.6 kB / 0.5967 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.168, allocations: 136.2 kB / 0.5969 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1681, allocations: 25.7 kB / 0.5969 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.1681, allocations: 92.14 kB / 0.597 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.1681, allocations: 0 / 0.597 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.1681, allocations: 0 / 0.597 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.1682, allocations: 322.8 kB / 0.5973 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.1683, allocations: 8 kB / 0.5973 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.1683, allocations: 8 kB / 0.5973 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.1683, allocations: 8 kB / 0.5973 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1683, allocations: 0 / 0.5973 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.1684, allocations: 49.61 kB / 0.5973 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1684, allocations: 4 kB / 0.5973 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.1685, allocations: 7.984 kB / 0.5974 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1685, allocations: 0 / 0.5974 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1685, allocations: 4.062 kB / 0.5974 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1685, allocations: 0 / 0.5974 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.1685, allocations: 11.88 kB / 0.5974 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1685, allocations: 0 / 0.5974 GB, free: 8.34 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 8.381e-05/0.1686, allocations: 185.1 kB / 0.5975 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.1687, allocations: 112.9 kB / 0.5977 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1687, allocations: 116.8 kB / 0.5978 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.1688, allocations: 184.2 kB / 0.5979 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.777e-05/0.1688, allocations: 176.3 kB / 0.5981 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/0.1689, allocations: 180.2 kB / 0.5983 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1691, allocations: 417.2 kB / 0.5987 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/0.1691, allocations: 105 kB / 0.5988 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1692, allocations: 104.9 kB / 0.5989 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.287e-05/0.1692, allocations: 184.3 kB / 0.5991 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.1693, allocations: 184.2 kB / 0.5992 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.246e-05/0.1694, allocations: 180.2 kB / 0.5994 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.014e-05/0.1694, allocations: 188.2 kB / 0.5996 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1695, allocations: 307.9 kB / 0.5999 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.1696, allocations: 190 kB / 0.6001 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.1697, allocations: 192.2 kB / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1697, allocations: 101 kB / 0.6003 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.1698, allocations: 180.2 kB / 0.6005 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.1698, allocations: 105 kB / 0.6006 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.1699, allocations: 105.4 kB / 0.6007 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1699, allocations: 0 / 0.6007 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006417/0.1706, allocations: 283.8 kB / 0.601 GB, free: 4.414 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.0008109/0.1714, allocations: 0.4902 MB / 0.6015 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.1715, allocations: 41.64 kB / 0.6015 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1715, allocations: 3.938 kB / 0.6015 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1715, allocations: 0 / 0.6015 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1718, allocations: 0.5387 MB / 0.602 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.1721, allocations: 259.8 kB / 0.6023 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.1723, allocations: 0.6887 MB / 0.6029 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.188e-05/0.1723, allocations: 0 / 0.6029 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-06/0.1723, allocations: 11.44 kB / 0.603 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1723, allocations: 0 / 0.603 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.2385/0.4108, allocations: 5.581 MB / 0.6084 GB, free: 48.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: