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.001503/0.001507, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001518/0.001518, allocations: 195.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8839/0.8839, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 68.39 kB / 0.5054 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 81.02 MB / 0.5846 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00251/0.1515, allocations: 1.496 MB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.1555, allocations: 2.876 MB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1555, allocations: 0 / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.1556, allocations: 3.984 kB / 0.5888 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.1556, allocations: 15.86 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.1588, allocations: 1.443 MB / 0.5903 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.1589, allocations: 47.67 kB / 0.5903 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.1589, allocations: 8.266 kB / 0.5903 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.159, allocations: 19.91 kB / 0.5903 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.159, allocations: 11.94 kB / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.159, allocations: 0 / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.1609, allocations: 1.459 MB / 0.5918 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1609, allocations: 11.91 kB / 0.5918 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1609, allocations: 19.88 kB / 0.5918 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1622, allocations: 1.08 MB / 0.5928 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1622, allocations: 0 / 0.5928 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1622, allocations: 0 / 0.5928 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.1622, allocations: 3.984 kB / 0.5928 GB, free: 11.74 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.0005784/0.1628, allocations: 0.5184 MB / 0.5934 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1629, allocations: 16.03 kB / 0.5934 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.1629, allocations: 80.12 kB / 0.5934 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1631, allocations: 251.6 kB / 0.5937 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.1632, allocations: 150.9 kB / 0.5938 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.1632, allocations: 154.5 kB / 0.594 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.1633, allocations: 109 kB / 0.5941 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.1634, allocations: 79.28 kB / 0.5942 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.1634, allocations: 150.6 kB / 0.5943 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.1635, allocations: 150.6 kB / 0.5944 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1636, allocations: 162.5 kB / 0.5946 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.1639, allocations: 461.9 kB / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.28e-05/0.164, allocations: 177 kB / 0.5952 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.164, allocations: 84.14 kB / 0.5953 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1641, allocations: 75.28 kB / 0.5954 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/0.1641, allocations: 113.7 kB / 0.5955 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1641, allocations: 0 / 0.5955 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.053e-05/0.1642, allocations: 37.61 kB / 0.5955 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.1643, allocations: 126.7 kB / 0.5956 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1644, allocations: 143.8 kB / 0.5958 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1645, allocations: 25.7 kB / 0.5958 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.1645, allocations: 88.14 kB / 0.5959 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.1645, allocations: 0 / 0.5959 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1646, allocations: 17.72 kB / 0.5959 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1647, allocations: 318.8 kB / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.1647, allocations: 8 kB / 0.5962 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.1648, allocations: 8 kB / 0.5962 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.1648, allocations: 12.8 kB / 0.5962 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1648, allocations: 3.938 kB / 0.5962 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001224/0.1649, allocations: 57.59 kB / 0.5963 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.165, allocations: 4 kB / 0.5963 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.165, allocations: 4 kB / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.165, allocations: 0 / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.165, allocations: 0 / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.165, allocations: 4.062 kB / 0.5963 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.165, allocations: 4 kB / 0.5963 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.165, allocations: 0 / 0.5963 GB, free: 7.973 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.1651, allocations: 185.1 kB / 0.5965 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.1652, allocations: 120.8 kB / 0.5966 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.1653, allocations: 108.9 kB / 0.5967 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/0.1654, allocations: 180.3 kB / 0.5969 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.788e-05/0.1655, allocations: 184.2 kB / 0.597 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.697e-05/0.1655, allocations: 180.2 kB / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.1658, allocations: 417.1 kB / 0.5976 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.975e-05/0.1659, allocations: 101 kB / 0.5977 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.1659, allocations: 105 kB / 0.5978 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-05/0.166, allocations: 188.2 kB / 0.598 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.1661, allocations: 180.2 kB / 0.5982 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.522e-05/0.1661, allocations: 184.3 kB / 0.5983 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-05/0.1662, allocations: 180.3 kB / 0.5985 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.1664, allocations: 315.6 kB / 0.5988 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.1665, allocations: 186 kB / 0.599 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.1666, allocations: 184.2 kB / 0.5992 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.1667, allocations: 109 kB / 0.5993 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.1668, allocations: 188.1 kB / 0.5994 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.1668, allocations: 105 kB / 0.5995 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.1669, allocations: 109.5 kB / 0.5996 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1669, allocations: 0 / 0.5996 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006532/0.1675, allocations: 279.8 kB / 0.5999 GB, free: 4.039 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 (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.0009836/0.1685, allocations: 0.5215 MB / 0.6004 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1686, allocations: 45.64 kB / 0.6005 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1687, allocations: 0 / 0.6005 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.1687, allocations: 3.938 kB / 0.6005 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1691, allocations: 467.6 kB / 0.6009 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.1694, allocations: 244.2 kB / 0.6011 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1697, allocations: 0.6846 MB / 0.6018 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.067e-05/0.1697, allocations: 0 / 0.6018 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.1697, allocations: 11.44 kB / 0.6018 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1697, allocations: 3.938 kB / 0.6018 GB, free: 2 MB / 0.4981 GB Notification: Performance of Templates: time 0.2222/0.392, allocations: 5.621 MB / 0.6073 GB, free: 51.31 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (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)