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.001419/0.001419, allocations: 118.6 kB / 17.09 MB, free: 6.008 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.001296/0.001296, allocations: 193.6 kB / 18.03 MB, free: 5.086 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8243/0.8243, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.5 kB / 0.5738 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1698, allocations: 78.71 MB / 0.6507 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005296/0.1751, allocations: 4.13 MB / 0.6547 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.1788, allocations: 2.421 MB / 0.657 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.1794, allocations: 16 kB / 0.6571 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.1813, allocations: 0.5534 MB / 0.6576 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007207/0.182, allocations: 246 kB / 0.6578 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1824, allocations: 143.8 kB / 0.658 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009982/0.1834, allocations: 0.8059 MB / 0.6588 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.1839, allocations: 322.5 kB / 0.6591 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.1844, allocations: 295 kB / 0.6594 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.1849, allocations: 330.6 kB / 0.6597 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.185, allocations: 76 kB / 0.6597 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1852, allocations: 72 kB / 0.6598 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1854, allocations: 175.4 kB / 0.66 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.1859, allocations: 378.3 kB / 0.6603 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009826/0.1868, allocations: 1.002 MB / 0.6613 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1869, allocations: 0 / 0.6613 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1869, allocations: 0 / 0.6613 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.353e-05/0.1869, allocations: 0 / 0.6613 GB, free: 9.105 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.00173/0.1886, allocations: 0.9691 MB / 0.6623 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1887, allocations: 8.031 kB / 0.6623 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1889, allocations: 80.47 kB / 0.6623 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.1896, allocations: 462 kB / 0.6628 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1896, allocations: 41.36 kB / 0.6628 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.1897, allocations: 51.88 kB / 0.6629 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.1905, allocations: 430.5 kB / 0.6633 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1905, allocations: 0 / 0.6633 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1906, allocations: 23.98 kB / 0.6633 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1906, allocations: 12 kB / 0.6633 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.1913, allocations: 367.8 kB / 0.6637 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.1934, allocations: 1.516 MB / 0.6652 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.194, allocations: 346.6 kB / 0.6655 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.1944, allocations: 321.2 kB / 0.6658 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1945, allocations: 4 kB / 0.6658 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1945, allocations: 46.5 kB / 0.6658 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.1945, allocations: 0 / 0.6658 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.000931/0.1955, allocations: 0.4934 MB / 0.6663 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1955, allocations: 55.41 kB / 0.6664 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.196, allocations: 481.9 kB / 0.6668 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1961, allocations: 33.7 kB / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1963, allocations: 276.7 kB / 0.6671 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1964, allocations: 150.7 kB / 0.6673 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.1965, allocations: 58.08 kB / 0.6673 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1966, allocations: 366.8 kB / 0.6677 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1969, allocations: 120.7 kB / 0.6678 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.1971, allocations: 125.4 kB / 0.6679 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.1976, allocations: 298.2 kB / 0.6682 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1976, allocations: 0 / 0.6682 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006138/0.1982, allocations: 396.7 kB / 0.6686 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1982, allocations: 8 kB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1982, allocations: 0 / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1983, allocations: 0 / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.1988, allocations: 132.6 kB / 0.6687 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1988, allocations: 4 kB / 0.6687 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.199, allocations: 35.72 kB / 0.6687 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.1991, allocations: 12 kB / 0.6688 GB, free: 1.219 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.0002092/0.1993, allocations: 209.1 kB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.1994, allocations: 51.67 kB / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1995, allocations: 61.09 kB / 0.6691 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1995, allocations: 7.922 kB / 0.6691 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1995, allocations: 4 kB / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1996, allocations: 140.6 kB / 0.6692 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.1997, allocations: 8 kB / 0.6692 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1999, allocations: 8 kB / 0.6692 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.2, allocations: 31.89 kB / 0.6693 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001083/0.2011, allocations: 0.5211 MB / 0.6698 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009951/0.2021, allocations: 0.7285 MB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002602/0.2024, allocations: 168 kB / 0.6706 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003587/0.2027, allocations: 343.1 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of Backend: time 5.21e-07/0.2027, allocations: 8 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.2035, allocations: 282.2 kB / 0.6712 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00205/0.2055, allocations: 1.643 MB / 0.6728 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.01309/0.2186, allocations: 6.916 MB / 0.6796 GB, free: 6.137 MB / 0.5137 GB 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)