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.001276/0.001275, allocations: 101.8 kB / 16.41 MB, free: 6.504 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.00125/0.001251, allocations: 189.7 kB / 17.34 MB, free: 5.73 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8342/0.8342, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.41 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1753, allocations: 80.93 MB / 0.6653 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005542/0.1808, allocations: 4.135 MB / 0.6694 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.1848, allocations: 2.413 MB / 0.6717 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.1855, allocations: 12 kB / 0.6718 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.1875, allocations: 0.5363 MB / 0.6723 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008899/0.1884, allocations: 246 kB / 0.6725 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.1888, allocations: 135.9 kB / 0.6726 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.19, allocations: 0.8214 MB / 0.6734 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000551/0.1906, allocations: 338.5 kB / 0.6738 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1911, allocations: 287 kB / 0.674 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.1917, allocations: 326.6 kB / 0.6744 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.1919, allocations: 72 kB / 0.6744 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1921, allocations: 79.94 kB / 0.6745 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1923, allocations: 167.5 kB / 0.6747 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.1928, allocations: 394.2 kB / 0.675 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009757/0.1938, allocations: 0.9967 MB / 0.676 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1938, allocations: 0 / 0.676 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.285e-06/0.1938, allocations: 0 / 0.676 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.847e-05/0.1938, allocations: 3.984 kB / 0.676 GB, free: 10.93 MB / 0.5137 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.001794/0.1956, allocations: 0.9501 MB / 0.6769 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1957, allocations: 13.11 kB / 0.677 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1959, allocations: 72.09 kB / 0.677 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007783/0.1966, allocations: 457.7 kB / 0.6775 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1967, allocations: 37.38 kB / 0.6775 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.1968, allocations: 51.94 kB / 0.6775 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.1976, allocations: 426.4 kB / 0.6779 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.1976, allocations: 7.891 kB / 0.678 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.1976, allocations: 20 kB / 0.678 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1977, allocations: 12 kB / 0.678 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.1983, allocations: 367.8 kB / 0.6783 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.2003, allocations: 1.516 MB / 0.6798 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.2008, allocations: 346.7 kB / 0.6801 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.2013, allocations: 322.6 kB / 0.6805 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2013, allocations: 4 kB / 0.6805 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2013, allocations: 30.56 kB / 0.6805 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.2013, allocations: 0 / 0.6805 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009342/0.2023, allocations: 0.4939 MB / 0.681 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.2024, allocations: 59.34 kB / 0.681 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.2029, allocations: 485.9 kB / 0.6815 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2029, allocations: 33.7 kB / 0.6815 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.2031, allocations: 276.3 kB / 0.6818 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2032, allocations: 149.8 kB / 0.6819 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.2033, allocations: 58.08 kB / 0.682 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2035, allocations: 362.7 kB / 0.6823 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.2037, allocations: 128.7 kB / 0.6825 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.204, allocations: 133.2 kB / 0.6826 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.2045, allocations: 290.2 kB / 0.6829 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2045, allocations: 3.938 kB / 0.6829 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005986/0.2051, allocations: 396.4 kB / 0.6832 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2051, allocations: 8 kB / 0.6832 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2051, allocations: 4 kB / 0.6832 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2051, allocations: 0 / 0.6832 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.2056, allocations: 123.9 kB / 0.6834 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2056, allocations: 0 / 0.6834 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.2059, allocations: 39.58 kB / 0.6834 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.2059, allocations: 16 kB / 0.6834 GB, free: 3.078 MB / 0.5137 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.000221/0.2061, allocations: 201.7 kB / 0.6836 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.2062, allocations: 51.44 kB / 0.6837 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.2063, allocations: 57.09 kB / 0.6837 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2063, allocations: 4 kB / 0.6837 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.2064, allocations: 0 / 0.6837 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2064, allocations: 7.922 kB / 0.6837 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.207, allocations: 0.5751 MB / 0.6843 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.207, allocations: 0 / 0.6843 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.2075, allocations: 127.9 kB / 0.6844 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.2075, allocations: 4 kB / 0.6844 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.2075, allocations: 8 kB / 0.6844 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2075, allocations: 4 kB / 0.6844 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.2076, allocations: 0 / 0.6844 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.2085, allocations: 0.6555 MB / 0.6851 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2086, allocations: 140.5 kB / 0.6852 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.2087, allocations: 8 kB / 0.6852 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2089, allocations: 15.98 kB / 0.6852 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.209, allocations: 23.97 kB / 0.6852 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.209, allocations: 8 kB / 0.6853 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003593/0.2094, allocations: 355.1 kB / 0.6856 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2094, allocations: 0 / 0.6856 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003936/0.2098, allocations: 139.6 kB / 0.6857 GB, free: 0.6211 MB / 0.5137 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.0001538/0.2099, allocations: 120.5 kB / 0.6858 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.2105, allocations: 327.8 kB / 0.6862 GB, free: 180 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2105, allocations: 0 / 0.6862 GB, free: 180 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.2108, allocations: 175.8 kB / 0.6863 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.2114, allocations: 142.5 kB / 0.6865 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2132, allocations: 1.223 MB / 0.6877 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2136, allocations: 0.8665 MB / 0.6885 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.2138, allocations: 39.44 kB / 0.6885 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of SimCode: time 7.62e-07/0.2138, allocations: 0 / 0.6885 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.009291/0.2231, allocations: 6.884 MB / 0.6953 GB, free: 6.844 MB / 0.5294 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)