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.001054/0.001054, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001288/0.001289, allocations: 172.7 kB / 15.95 MB, free: 208 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.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9332/0.9332, allocations: 135.3 MB / 426.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 11.94 kB / 0.507 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 82.3 MB / 0.5874 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004361/0.1625, allocations: 3.569 MB / 0.5909 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.1658, allocations: 2.213 MB / 0.5931 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.1663, allocations: 8 kB / 0.5931 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1677, allocations: 454 kB / 0.5935 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.1683, allocations: 214.5 kB / 0.5937 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1686, allocations: 83.92 kB / 0.5938 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009458/0.1695, allocations: 0.759 MB / 0.5945 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.17, allocations: 249.5 kB / 0.5948 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.1704, allocations: 231.1 kB / 0.595 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.1708, allocations: 286.7 kB / 0.5953 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.1709, allocations: 32 kB / 0.5953 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.171, allocations: 36 kB / 0.5953 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1712, allocations: 123.5 kB / 0.5954 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.1714, allocations: 161.4 kB / 0.5956 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.172, allocations: 0.7984 MB / 0.5964 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1721, allocations: 0 / 0.5964 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1721, allocations: 0 / 0.5964 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.763e-05/0.1721, allocations: 0 / 0.5964 GB, free: 9.871 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.001383/0.1735, allocations: 0.845 MB / 0.5972 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1735, allocations: 12.02 kB / 0.5972 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1737, allocations: 71.16 kB / 0.5973 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.1744, allocations: 440.6 kB / 0.5977 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.1744, allocations: 37 kB / 0.5977 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.1745, allocations: 51.94 kB / 0.5978 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.1753, allocations: 430.5 kB / 0.5982 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1754, allocations: 0 / 0.5982 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.1754, allocations: 16 kB / 0.5982 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1754, allocations: 12 kB / 0.5982 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.1762, allocations: 371.8 kB / 0.5986 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.1784, allocations: 1.555 MB / 0.6001 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.1789, allocations: 336.4 kB / 0.6004 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.1794, allocations: 356.7 kB / 0.6007 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1795, allocations: 4.688 kB / 0.6008 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1795, allocations: 38.56 kB / 0.6008 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.1795, allocations: 0 / 0.6008 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009878/0.1805, allocations: 0.508 MB / 0.6013 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1805, allocations: 59.19 kB / 0.6013 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.1811, allocations: 485.9 kB / 0.6018 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1812, allocations: 37.7 kB / 0.6018 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1814, allocations: 272.4 kB / 0.6021 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1815, allocations: 153.8 kB / 0.6022 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.1815, allocations: 4 kB / 0.6023 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1817, allocations: 358.8 kB / 0.6026 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1819, allocations: 132.7 kB / 0.6027 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1822, allocations: 125.5 kB / 0.6028 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1824, allocations: 143.7 kB / 0.603 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1825, allocations: 0 / 0.603 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006434/0.1831, allocations: 407.8 kB / 0.6034 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1831, allocations: 7.984 kB / 0.6034 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1831, allocations: 0 / 0.6034 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1832, allocations: 4 kB / 0.6034 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.1836, allocations: 123.9 kB / 0.6035 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1837, allocations: 8 kB / 0.6035 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1839, allocations: 51.58 kB / 0.6036 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.184, allocations: 12 kB / 0.6036 GB, free: 2.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.1842, allocations: 193.8 kB / 0.6037 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.1843, allocations: 51.39 kB / 0.6038 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1844, allocations: 65.09 kB / 0.6039 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1844, allocations: 4 kB / 0.6039 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1844, allocations: 0 / 0.6039 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1844, allocations: 0 / 0.6039 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/0.1851, allocations: 0.5751 MB / 0.6044 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1851, allocations: 0 / 0.6044 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.1856, allocations: 135.8 kB / 0.6046 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1857, allocations: 0 / 0.6046 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1857, allocations: 23.94 kB / 0.6046 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1857, allocations: 0 / 0.6046 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1857, allocations: 0 / 0.6046 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/0.1867, allocations: 0.6635 MB / 0.6052 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1868, allocations: 144.3 kB / 0.6054 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.1869, allocations: 4 kB / 0.6054 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.1871, allocations: 35.88 kB / 0.6054 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1872, allocations: 19.97 kB / 0.6054 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1872, allocations: 12 kB / 0.6054 GB, free: 248 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2729/0.4602, allocations: 344.1 kB / 0.6058 GB, free: 48.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4602, allocations: 0 / 0.6058 GB, free: 48.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006746/0.4609, allocations: 143.2 kB / 0.6059 GB, free: 48.93 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 (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.0001638/0.4611, allocations: 112.1 kB / 0.606 GB, free: 48.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.4617, allocations: 331.9 kB / 0.6063 GB, free: 48.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4617, allocations: 0 / 0.6063 GB, free: 48.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.462, allocations: 192.9 kB / 0.6065 GB, free: 48.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007302/0.4627, allocations: 115.7 kB / 0.6066 GB, free: 48.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4645, allocations: 1.436 MB / 0.608 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4648, allocations: 0.8723 MB / 0.6089 GB, free: 47.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.465, allocations: 55.88 kB / 0.6089 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.4651, allocations: 33.66 kB / 0.609 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4652, allocations: 0 / 0.609 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.01024/0.4754, allocations: 5.383 MB / 0.6142 GB, free: 47.12 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)