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.0008651/0.0008651, allocations: 99.58 kB / 16.02 MB, free: 76 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.001235/0.001235, allocations: 188.6 kB / 16.92 MB, free: 6.746 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9279/0.9279, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003625, allocations: 15.98 kB / 0.5083 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 82.3 MB / 0.5887 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004225/0.1616, allocations: 3.753 MB / 0.5923 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1651, allocations: 2.336 MB / 0.5946 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005349/0.1657, allocations: 8 kB / 0.5946 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.1675, allocations: 0.5095 MB / 0.5951 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.1683, allocations: 214.5 kB / 0.5953 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1686, allocations: 115.9 kB / 0.5954 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1697, allocations: 0.8131 MB / 0.5962 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.1702, allocations: 288.1 kB / 0.5965 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.1706, allocations: 235 kB / 0.5967 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.1711, allocations: 282.6 kB / 0.597 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.1711, allocations: 36 kB / 0.597 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1713, allocations: 36 kB / 0.5971 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1714, allocations: 135.4 kB / 0.5972 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.1718, allocations: 360 kB / 0.5975 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.1724, allocations: 0.7945 MB / 0.5983 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1725, allocations: 0 / 0.5983 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1725, allocations: 0 / 0.5983 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.1725, allocations: 4 kB / 0.5983 GB, free: 8.672 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.00127/0.1738, allocations: 0.8374 MB / 0.5991 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1738, allocations: 11.97 kB / 0.5991 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.1739, allocations: 76.09 kB / 0.5992 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.1745, allocations: 461.5 kB / 0.5996 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.1745, allocations: 37.38 kB / 0.5997 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.1746, allocations: 56.03 kB / 0.5997 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.1754, allocations: 430.4 kB / 0.6001 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1754, allocations: 0 / 0.6001 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.1755, allocations: 16 kB / 0.6002 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1755, allocations: 15.98 kB / 0.6002 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.1762, allocations: 379.8 kB / 0.6005 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1782, allocations: 1.535 MB / 0.602 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.1787, allocations: 348.3 kB / 0.6024 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.1792, allocations: 326.8 kB / 0.6027 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1793, allocations: 4.688 kB / 0.6027 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1793, allocations: 38.55 kB / 0.6027 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.1793, allocations: 0 / 0.6027 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009604/0.1803, allocations: 0.5042 MB / 0.6032 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1803, allocations: 63.12 kB / 0.6033 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.1809, allocations: 485.9 kB / 0.6037 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.1809, allocations: 37.7 kB / 0.6038 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1811, allocations: 272.4 kB / 0.604 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1812, allocations: 153.8 kB / 0.6042 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1813, allocations: 29.7 kB / 0.6042 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1814, allocations: 362.8 kB / 0.6046 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.1817, allocations: 128.7 kB / 0.6047 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.1819, allocations: 133.4 kB / 0.6048 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.1825, allocations: 307.7 kB / 0.6051 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1825, allocations: 0 / 0.6051 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006718/0.1831, allocations: 396.7 kB / 0.6055 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.1832, allocations: 13.97 kB / 0.6055 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1832, allocations: 0 / 0.6055 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1832, allocations: 0 / 0.6055 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.1837, allocations: 127.9 kB / 0.6056 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1837, allocations: 0 / 0.6056 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.184, allocations: 59.56 kB / 0.6057 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1841, allocations: 8 kB / 0.6057 GB, free: 0.8672 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.0002337/0.1843, allocations: 201.7 kB / 0.6059 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.1844, allocations: 51.44 kB / 0.6059 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1845, allocations: 61.09 kB / 0.606 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.1845, allocations: 8 kB / 0.606 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1845, allocations: 0 / 0.606 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.1845, allocations: 3.984 kB / 0.606 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2933/0.4779, allocations: 0.5741 MB / 0.6065 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4779, allocations: 0 / 0.6065 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.4786, allocations: 127.5 kB / 0.6067 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.4786, allocations: 3.781 kB / 0.6067 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.4787, allocations: 6.5 kB / 0.6067 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4787, allocations: 2.344 kB / 0.6067 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4787, allocations: 5.062 kB / 0.6067 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.4799, allocations: 0.6684 MB / 0.6073 GB, free: 48.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.4801, allocations: 139.7 kB / 0.6075 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.4802, allocations: 8.375 kB / 0.6075 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.4804, allocations: 26.72 kB / 0.6075 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.4805, allocations: 18.7 kB / 0.6075 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4805, allocations: 12.69 kB / 0.6075 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003984/0.4809, allocations: 353.9 kB / 0.6079 GB, free: 48.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4809, allocations: 0 / 0.6079 GB, free: 48.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004294/0.4814, allocations: 145.8 kB / 0.608 GB, free: 48.57 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.0001437/0.4815, allocations: 121.3 kB / 0.6081 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006052/0.4821, allocations: 331.4 kB / 0.6084 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4822, allocations: 0 / 0.6084 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.4824, allocations: 190.1 kB / 0.6086 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.4831, allocations: 115.8 kB / 0.6087 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.485, allocations: 1.542 MB / 0.6102 GB, free: 47.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.4852, allocations: 0.865 MB / 0.6111 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.4854, allocations: 43.5 kB / 0.6111 GB, free: 46.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4854, allocations: 0 / 0.6111 GB, free: 46.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.008249/0.4936, allocations: 6.73 MB / 0.6177 GB, free: 46.43 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)