Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, 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.001302/0.001302, allocations: 194.6 kB / 16.25 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.422/1.422, 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.9615/0.9615, allocations: 135.2 MB / 425.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 75.39 kB / 0.5049 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 80.93 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004459/0.1649, allocations: 3.065 MB / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1676, allocations: 2.102 MB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1677, allocations: 12 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.169, allocations: 474.1 kB / 0.5895 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1693, allocations: 131.1 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.1694, allocations: 55.97 kB / 0.5897 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.1699, allocations: 445.9 kB / 0.5901 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.1702, allocations: 155.2 kB / 0.5902 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1704, allocations: 155.4 kB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1706, allocations: 191.1 kB / 0.5906 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.1707, allocations: 36 kB / 0.5906 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.1708, allocations: 36 kB / 0.5906 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1709, allocations: 95.67 kB / 0.5907 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1711, allocations: 214.9 kB / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.1716, allocations: 0.5488 MB / 0.5915 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1716, allocations: 0 / 0.5915 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1716, allocations: 0 / 0.5915 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1716, allocations: 0 / 0.5915 GB, free: 13.1 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001039/0.1727, allocations: 0.7045 MB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1727, allocations: 12.03 kB / 0.5922 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.1728, allocations: 44.38 kB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.1733, allocations: 370.1 kB / 0.5926 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1733, allocations: 16.81 kB / 0.5926 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.1734, allocations: 24.12 kB / 0.5926 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.1738, allocations: 207.2 kB / 0.5928 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1738, allocations: 0 / 0.5928 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1738, allocations: 8 kB / 0.5928 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1739, allocations: 12 kB / 0.5928 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.1742, allocations: 157.7 kB / 0.593 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1754, allocations: 0.8661 MB / 0.5938 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1758, allocations: 160.1 kB / 0.594 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.176, allocations: 112.8 kB / 0.5941 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.176, allocations: 4 kB / 0.5941 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1761, allocations: 42.5 kB / 0.5941 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.1761, allocations: 0 / 0.5941 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005904/0.1767, allocations: 253.3 kB / 0.5944 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1767, allocations: 51.41 kB / 0.5944 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.1772, allocations: 425.7 kB / 0.5948 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1772, allocations: 29.7 kB / 0.5948 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1774, allocations: 200.2 kB / 0.595 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.1775, allocations: 67.03 kB / 0.5951 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1775, allocations: 33.72 kB / 0.5951 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1777, allocations: 346.8 kB / 0.5955 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1779, allocations: 51.97 kB / 0.5955 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.178, allocations: 63.95 kB / 0.5956 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1783, allocations: 142.7 kB / 0.5957 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1783, allocations: 0 / 0.5957 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003851/0.1787, allocations: 199.7 kB / 0.5959 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1788, allocations: 7.938 kB / 0.5959 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1788, allocations: 7.938 kB / 0.5959 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1788, allocations: 0 / 0.5959 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.179, allocations: 59.89 kB / 0.596 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1791, allocations: 0 / 0.596 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.1792, allocations: 23.89 kB / 0.596 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1792, allocations: 4 kB / 0.596 GB, free: 8.223 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 (20): * Single equations (assignments): 20 * 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.0001641/0.1794, allocations: 161.8 kB / 0.5962 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.1795, allocations: 47.45 kB / 0.5962 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.1796, allocations: 43.59 kB / 0.5962 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1796, allocations: 0 / 0.5962 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1796, allocations: 0 / 0.5962 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1796, allocations: 4 kB / 0.5962 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.18, allocations: 373.3 kB / 0.5966 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.18, allocations: 4 kB / 0.5966 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.1803, allocations: 51.91 kB / 0.5967 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1803, allocations: 3.938 kB / 0.5967 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1803, allocations: 8 kB / 0.5967 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1803, allocations: 3.938 kB / 0.5967 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1804, allocations: 4 kB / 0.5967 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.181, allocations: 381 kB / 0.597 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1811, allocations: 120.6 kB / 0.5972 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.1811, allocations: 4 kB / 0.5972 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1813, allocations: 19.95 kB / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1814, allocations: 15.92 kB / 0.5972 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1814, allocations: 4 kB / 0.5972 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003399/0.1817, allocations: 299.2 kB / 0.5975 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1817, allocations: 0 / 0.5975 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003068/0.1821, allocations: 71.84 kB / 0.5975 GB, free: 6.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001349/0.1822, allocations: 111.2 kB / 0.5977 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.1826, allocations: 147.9 kB / 0.5978 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1826, allocations: 0 / 0.5978 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1828, allocations: 79.89 kB / 0.5979 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.1834, allocations: 98.27 kB / 0.598 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1847, allocations: 0.8813 MB / 0.5988 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1852, allocations: 0.7951 MB / 0.5996 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.1853, allocations: 34.95 kB / 0.5996 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.1854, allocations: 27.38 kB / 0.5997 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1854, allocations: 0 / 0.5997 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.008495/0.1939, allocations: 3.873 MB / 0.6034 GB, free: 0.5703 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)