Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, 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.001468/0.001468, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8871/0.8871, allocations: 135.6 MB / 425.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 60.47 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1465, allocations: 81.03 MB / 0.5845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005254/0.1518, allocations: 4.155 MB / 0.5886 GB, free: 104 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.1548, allocations: 2.375 MB / 0.5909 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.155, allocations: 12 kB / 0.5909 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1563, allocations: 0.5017 MB / 0.5914 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1566, allocations: 214.4 kB / 0.5916 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1569, allocations: 119.9 kB / 0.5917 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000809/0.1577, allocations: 0.8098 MB / 0.5925 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.1581, allocations: 330.4 kB / 0.5928 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.1584, allocations: 283 kB / 0.5931 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.1588, allocations: 334.6 kB / 0.5934 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.1589, allocations: 72 kB / 0.5935 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.159, allocations: 76 kB / 0.5936 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1592, allocations: 175.4 kB / 0.5937 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.1595, allocations: 382.3 kB / 0.5941 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1606, allocations: 0.9928 MB / 0.5951 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.1606, allocations: 3.984 kB / 0.5951 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1606, allocations: 3.938 kB / 0.5951 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.1606, allocations: 0 / 0.5951 GB, free: 9.434 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001466/0.1621, allocations: 0.9462 MB / 0.596 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1621, allocations: 12.03 kB / 0.596 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.1622, allocations: 72.09 kB / 0.5961 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.1628, allocations: 457.6 kB / 0.5965 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.1629, allocations: 41.38 kB / 0.5966 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.163, allocations: 56.11 kB / 0.5966 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/0.1638, allocations: 426.4 kB / 0.597 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1638, allocations: 0 / 0.597 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1638, allocations: 20 kB / 0.597 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1638, allocations: 12 kB / 0.5971 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.1645, allocations: 367.8 kB / 0.5974 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.1666, allocations: 1.528 MB / 0.5989 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.1671, allocations: 342.9 kB / 0.5992 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.1676, allocations: 324.8 kB / 0.5995 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1677, allocations: 4.688 kB / 0.5995 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1677, allocations: 38.55 kB / 0.5996 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.382e-06/0.1677, allocations: 0 / 0.5996 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009371/0.1686, allocations: 0.4934 MB / 0.6001 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1687, allocations: 63.19 kB / 0.6001 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.1693, allocations: 485.9 kB / 0.6006 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1693, allocations: 33.7 kB / 0.6006 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.1695, allocations: 276.3 kB / 0.6009 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1697, allocations: 149.8 kB / 0.601 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1698, allocations: 62.08 kB / 0.6011 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.17, allocations: 362.8 kB / 0.6014 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.1702, allocations: 124.7 kB / 0.6015 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1705, allocations: 129.4 kB / 0.6017 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.171, allocations: 291.3 kB / 0.6019 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.171, allocations: 0 / 0.6019 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006655/0.1717, allocations: 397.1 kB / 0.6023 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1717, allocations: 4 kB / 0.6023 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.1717, allocations: 8 kB / 0.6023 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1717, allocations: 0 / 0.6023 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1722, allocations: 123.9 kB / 0.6025 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1723, allocations: 0 / 0.6025 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.1725, allocations: 55.66 kB / 0.6025 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1725, allocations: 15.94 kB / 0.6025 GB, free: 1.566 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.000215/0.1728, allocations: 193.7 kB / 0.6027 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.1728, allocations: 55.34 kB / 0.6028 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.173, allocations: 57.11 kB / 0.6028 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.173, allocations: 4 kB / 0.6028 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.173, allocations: 3.984 kB / 0.6028 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.173, allocations: 0 / 0.6028 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.1737, allocations: 0.5713 MB / 0.6034 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1737, allocations: 4 kB / 0.6034 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.1743, allocations: 127.8 kB / 0.6035 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1743, allocations: 4 kB / 0.6035 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.1743, allocations: 8 kB / 0.6035 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1743, allocations: 4 kB / 0.6035 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1743, allocations: 0 / 0.6035 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.216/0.3903, allocations: 0.6485 MB / 0.6042 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.3905, allocations: 138 kB / 0.6043 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.3907, allocations: 10.17 kB / 0.6043 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.3909, allocations: 16.98 kB / 0.6043 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.391, allocations: 22.64 kB / 0.6043 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.391, allocations: 10.62 kB / 0.6043 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000378/0.3914, allocations: 355.4 kB / 0.6047 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3914, allocations: 0 / 0.6047 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004682/0.3919, allocations: 145.2 kB / 0.6048 GB, free: 51.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001087/0.392, allocations: 114.3 kB / 0.6049 GB, free: 51.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006405/0.3927, allocations: 339.1 kB / 0.6053 GB, free: 51.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3927, allocations: 1.219 kB / 0.6053 GB, free: 51.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.3929, allocations: 184.4 kB / 0.6054 GB, free: 51.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.3936, allocations: 126.5 kB / 0.6055 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3951, allocations: 1.419 MB / 0.6069 GB, free: 50.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3953, allocations: 0.8688 MB / 0.6078 GB, free: 50.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.3955, allocations: 51.66 kB / 0.6078 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.3956, allocations: 39.84 kB / 0.6079 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.3956, allocations: 0 / 0.6079 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.008601/0.4042, allocations: 5.865 MB / 0.6136 GB, free: 49.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)