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.001467/0.001467, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8943/0.8943, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.53 kB / 0.5054 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 80.94 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005179/0.1524, allocations: 4.121 MB / 0.5884 GB, free: 388 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.1558, allocations: 2.414 MB / 0.5908 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.1562, allocations: 12 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.1577, allocations: 0.5363 MB / 0.5913 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005784/0.1583, allocations: 246 kB / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1586, allocations: 135.9 kB / 0.5917 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008841/0.1595, allocations: 0.8059 MB / 0.5925 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.1599, allocations: 346.4 kB / 0.5928 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.1603, allocations: 283 kB / 0.5931 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.1608, allocations: 326.6 kB / 0.5934 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1609, allocations: 72 kB / 0.5935 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1611, allocations: 76 kB / 0.5935 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.1612, allocations: 179.4 kB / 0.5937 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.1617, allocations: 382.3 kB / 0.5941 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.1625, allocations: 0.9889 MB / 0.595 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1626, allocations: 4 kB / 0.595 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.719e-06/0.1626, allocations: 0 / 0.595 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.1626, allocations: 3.938 kB / 0.595 GB, free: 9.586 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.001762/0.1644, allocations: 0.9424 MB / 0.596 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1644, allocations: 12.03 kB / 0.596 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.1646, allocations: 76 kB / 0.596 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.1653, allocations: 457.6 kB / 0.5965 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.1653, allocations: 37.38 kB / 0.5965 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.1654, allocations: 56.12 kB / 0.5966 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.1662, allocations: 430.4 kB / 0.597 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1662, allocations: 0 / 0.597 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1663, allocations: 16 kB / 0.597 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1663, allocations: 12 kB / 0.597 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.167, allocations: 363.8 kB / 0.5974 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1692, allocations: 1.539 MB / 0.5989 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.1697, allocations: 342.9 kB / 0.5992 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.1702, allocations: 316.8 kB / 0.5995 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1702, allocations: 4.688 kB / 0.5995 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1703, allocations: 34.56 kB / 0.5995 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.1703, allocations: 0 / 0.5995 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009219/0.1712, allocations: 0.4963 MB / 0.6 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1713, allocations: 59.19 kB / 0.6001 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.1718, allocations: 485.9 kB / 0.6005 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1718, allocations: 33.7 kB / 0.6006 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.172, allocations: 276.3 kB / 0.6008 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1722, allocations: 149.8 kB / 0.601 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.1723, allocations: 62.06 kB / 0.601 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1724, allocations: 358.8 kB / 0.6014 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.1727, allocations: 128.6 kB / 0.6015 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1729, allocations: 125.4 kB / 0.6016 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.1734, allocations: 295.3 kB / 0.6019 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1734, allocations: 0 / 0.6019 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006233/0.1741, allocations: 400.3 kB / 0.6023 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1741, allocations: 11.11 kB / 0.6023 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1741, allocations: 4 kB / 0.6023 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1741, allocations: 0 / 0.6023 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.1746, allocations: 123.9 kB / 0.6024 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1746, allocations: 0 / 0.6024 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1749, allocations: 39.67 kB / 0.6024 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1749, allocations: 8 kB / 0.6025 GB, free: 1.746 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.0002101/0.1751, allocations: 205.6 kB / 0.6027 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.1752, allocations: 51.34 kB / 0.6027 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1753, allocations: 65.09 kB / 0.6028 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1753, allocations: 4 kB / 0.6028 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1753, allocations: 0 / 0.6028 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.1753, allocations: 3.984 kB / 0.6028 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.176, allocations: 0.5752 MB / 0.6033 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.176, allocations: 0 / 0.6033 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.1765, allocations: 123.9 kB / 0.6034 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1765, allocations: 8 kB / 0.6035 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.1765, allocations: 8 kB / 0.6035 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1765, allocations: 4 kB / 0.6035 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1765, allocations: 0 / 0.6035 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2588/0.4353, allocations: 0.653 MB / 0.6041 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.4356, allocations: 136.3 kB / 0.6042 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4357, allocations: 10.86 kB / 0.6042 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.436, allocations: 12.5 kB / 0.6043 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.4361, allocations: 22.31 kB / 0.6043 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4361, allocations: 12.09 kB / 0.6043 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000417/0.4365, allocations: 352.7 kB / 0.6046 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4366, allocations: 0 / 0.6046 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004758/0.437, allocations: 147.3 kB / 0.6048 GB, free: 52.02 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.0001165/0.4372, allocations: 114.8 kB / 0.6049 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.4378, allocations: 337.4 kB / 0.6052 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4379, allocations: 0.5 kB / 0.6052 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.4381, allocations: 182.2 kB / 0.6054 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.4388, allocations: 132 kB / 0.6055 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.4406, allocations: 1.197 MB / 0.6067 GB, free: 51.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.4409, allocations: 0.8658 MB / 0.6075 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.4411, allocations: 57.58 kB / 0.6076 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.4412, allocations: 33.62 kB / 0.6076 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.4412, allocations: 3.75 kB / 0.6076 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.009132/0.4504, allocations: 5.936 MB / 0.6134 GB, free: 50.45 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)