Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000969/0.0009689, allocations: 96.66 kB / 15.69 MB, free: 480 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.001042/0.001042, allocations: 172.7 kB / 16.57 MB, free: 6.398 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.376/1.376, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6685/0.6685, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 8 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 77.15 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004019/0.1867, allocations: 3.246 MB / 0.56 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.1899, allocations: 2.191 MB / 0.5622 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.1902, allocations: 15.94 kB / 0.5622 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1914, allocations: 474.2 kB / 0.5627 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.1918, allocations: 247.4 kB / 0.5629 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.192, allocations: 83.92 kB / 0.563 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.1927, allocations: 0.5694 MB / 0.5635 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.193, allocations: 237.5 kB / 0.5637 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.1933, allocations: 239.1 kB / 0.564 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1936, allocations: 262.9 kB / 0.5642 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.1936, allocations: 32 kB / 0.5643 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.1937, allocations: 36 kB / 0.5643 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1939, allocations: 123.5 kB / 0.5644 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.194, allocations: 161.4 kB / 0.5646 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.1947, allocations: 0.7867 MB / 0.5653 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1947, allocations: 4 kB / 0.5653 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1947, allocations: 4 kB / 0.5653 GB, free: 2.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1947, allocations: 0 / 0.5653 GB, free: 2.887 MB / 430.1 MB 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.001312/0.196, allocations: 0.841 MB / 0.5662 GB, free: 1.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1961, allocations: 16.02 kB / 0.5662 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1962, allocations: 71.16 kB / 0.5662 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.1968, allocations: 436.7 kB / 0.5667 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.1968, allocations: 37 kB / 0.5667 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.1969, allocations: 51.94 kB / 0.5667 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.1976, allocations: 434.4 kB / 0.5672 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1977, allocations: 0 / 0.5672 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.1977, allocations: 20 kB / 0.5672 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1977, allocations: 12 kB / 0.5672 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.1984, allocations: 375.8 kB / 0.5675 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.2005, allocations: 1.535 MB / 0.569 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.201, allocations: 348.1 kB / 0.5694 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.201, allocations: 4 kB / 0.5694 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2011, allocations: 38.56 kB / 0.5694 GB, free: 14.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/0.2011, allocations: 4.109 kB / 0.5694 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.00092/0.202, allocations: 0.5047 MB / 0.5699 GB, free: 14.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2021, allocations: 59.39 kB / 0.57 GB, free: 13.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.2026, allocations: 489.9 kB / 0.5704 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.2026, allocations: 33.7 kB / 0.5705 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.2028, allocations: 276.3 kB / 0.5707 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.203, allocations: 141.9 kB / 0.5709 GB, free: 13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.203, allocations: 12 kB / 0.5709 GB, free: 12.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2032, allocations: 362.7 kB / 0.5712 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.2034, allocations: 132.7 kB / 0.5714 GB, free: 12.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2036, allocations: 121.5 kB / 0.5715 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.2039, allocations: 143.7 kB / 0.5716 GB, free: 12.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2039, allocations: 0 / 0.5716 GB, free: 12.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006273/0.2045, allocations: 412.5 kB / 0.572 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2046, allocations: 4 kB / 0.572 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2046, allocations: 3.984 kB / 0.572 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2046, allocations: 4 kB / 0.572 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.2051, allocations: 131.9 kB / 0.5721 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2051, allocations: 0 / 0.5721 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2054, allocations: 51.61 kB / 0.5722 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2054, allocations: 11.95 kB / 0.5722 GB, free: 11.63 MB / 446.1 MB 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.0002268/0.2057, allocations: 201.8 kB / 0.5724 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.2057, allocations: 51.34 kB / 0.5724 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.2058, allocations: 61.09 kB / 0.5725 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2059, allocations: 4 kB / 0.5725 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2059, allocations: 0 / 0.5725 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2059, allocations: 4 kB / 0.5725 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.2065, allocations: 0.5712 MB / 0.5731 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2065, allocations: 4 kB / 0.5731 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.207, allocations: 127.9 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.207, allocations: 4 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2071, allocations: 8 kB / 0.5732 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2071, allocations: 7.984 kB / 0.5732 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2071, allocations: 0 / 0.5732 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.208, allocations: 0.6671 MB / 0.5739 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2081, allocations: 140.4 kB / 0.574 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.2082, allocations: 7.984 kB / 0.574 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2085, allocations: 23.98 kB / 0.574 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2085, allocations: 23.97 kB / 0.574 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2086, allocations: 12 kB / 0.5741 GB, free: 9.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.2089, allocations: 347.1 kB / 0.5744 GB, free: 9.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2089, allocations: 0 / 0.5744 GB, free: 9.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.2093, allocations: 143.6 kB / 0.5745 GB, free: 9.145 MB / 446.1 MB 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.0001538/0.2095, allocations: 116.1 kB / 0.5746 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005843/0.2101, allocations: 331.5 kB / 0.575 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2101, allocations: 0 / 0.575 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.2104, allocations: 183.8 kB / 0.5751 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.211, allocations: 130.3 kB / 0.5753 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2133, allocations: 1.437 MB / 0.5767 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.2139, allocations: 0.8785 MB / 0.5775 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.2142, allocations: 56.38 kB / 0.5776 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.2143, allocations: 39.38 kB / 0.5776 GB, free: 5.934 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2143, allocations: 4 kB / 0.5776 GB, free: 5.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01053/0.2248, allocations: 5.351 MB / 0.5828 GB, free: 0.7227 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)