Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 185.7 kB / 16.08 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.446/0.446, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007235/0.0007234, allocations: 96.31 kB / 425.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 12 kB / 0.4956 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2613, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.002943/0.2643, allocations: 3.583 MB / 0.5687 GB, free: 38.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.2666, allocations: 2.237 MB / 0.5709 GB, free: 36.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.267, allocations: 8 kB / 0.5709 GB, free: 36.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.2682, allocations: 0.5017 MB / 0.5714 GB, free: 36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.2687, allocations: 218.5 kB / 0.5716 GB, free: 35.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2689, allocations: 115.9 kB / 0.5717 GB, free: 35.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.2695, allocations: 0.802 MB / 0.5725 GB, free: 34.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.2698, allocations: 284.1 kB / 0.5728 GB, free: 34.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.2701, allocations: 239 kB / 0.573 GB, free: 34.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.2703, allocations: 294.6 kB / 0.5733 GB, free: 34.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.2704, allocations: 32 kB / 0.5733 GB, free: 34.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.2705, allocations: 40 kB / 0.5734 GB, free: 34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.2706, allocations: 131.4 kB / 0.5735 GB, free: 33.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.2708, allocations: 356 kB / 0.5738 GB, free: 33.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.2713, allocations: 0.9418 MB / 0.5747 GB, free: 32.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2713, allocations: 4 kB / 0.5748 GB, free: 32.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2713, allocations: 0 / 0.5748 GB, free: 32.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.2714, allocations: 0 / 0.5748 GB, free: 32.56 MB / 410.7 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.001006/0.2724, allocations: 0.8373 MB / 0.5756 GB, free: 31.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2724, allocations: 12.03 kB / 0.5756 GB, free: 31.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.2725, allocations: 76 kB / 0.5757 GB, free: 31.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.273, allocations: 453.7 kB / 0.5761 GB, free: 31.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.273, allocations: 37.38 kB / 0.5761 GB, free: 31.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.273, allocations: 48.38 kB / 0.5762 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.2737, allocations: 434.7 kB / 0.5766 GB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2737, allocations: 0 / 0.5766 GB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.2737, allocations: 20 kB / 0.5766 GB, free: 30.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2738, allocations: 16 kB / 0.5766 GB, free: 30.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000565/0.2743, allocations: 375.8 kB / 0.577 GB, free: 30.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.2759, allocations: 1.543 MB / 0.5785 GB, free: 28.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.2763, allocations: 338.7 kB / 0.5788 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.2767, allocations: 357.3 kB / 0.5791 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2767, allocations: 4 kB / 0.5792 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2767, allocations: 50.22 kB / 0.5792 GB, free: 27.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.2767, allocations: 0 / 0.5792 GB, free: 27.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007511/0.2775, allocations: 0.5005 MB / 0.5797 GB, free: 27.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2775, allocations: 55.41 kB / 0.5797 GB, free: 27.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2779, allocations: 481.9 kB / 0.5802 GB, free: 26.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.278, allocations: 33.7 kB / 0.5802 GB, free: 26.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2781, allocations: 285.1 kB / 0.5805 GB, free: 26.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.2781, allocations: 149.8 kB / 0.5806 GB, free: 26.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.2782, allocations: 4 kB / 0.5807 GB, free: 26.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.2782, allocations: 362.8 kB / 0.581 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2784, allocations: 120.7 kB / 0.5811 GB, free: 25.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2786, allocations: 141.1 kB / 0.5812 GB, free: 25.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.2791, allocations: 298.6 kB / 0.5815 GB, free: 25.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2791, allocations: 3.938 kB / 0.5815 GB, free: 25.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005038/0.2796, allocations: 404.6 kB / 0.5819 GB, free: 24.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2796, allocations: 4 kB / 0.5819 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2796, allocations: 0 / 0.5819 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2796, allocations: 4 kB / 0.5819 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.2801, allocations: 127.9 kB / 0.5821 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2801, allocations: 4 kB / 0.5821 GB, free: 24.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.2803, allocations: 47.66 kB / 0.5821 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2804, allocations: 15.94 kB / 0.5821 GB, free: 24.77 MB / 410.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.2805, allocations: 205.8 kB / 0.5823 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.2806, allocations: 55.28 kB / 0.5824 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.2807, allocations: 57.11 kB / 0.5824 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2807, allocations: 7.984 kB / 0.5824 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2807, allocations: 0 / 0.5824 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2807, allocations: 4 kB / 0.5824 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.2811, allocations: 0.5674 MB / 0.583 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2811, allocations: 4 kB / 0.583 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.2816, allocations: 131.8 kB / 0.5831 GB, free: 23.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2816, allocations: 4 kB / 0.5831 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2816, allocations: 4 kB / 0.5831 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2817, allocations: 11.94 kB / 0.5831 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2817, allocations: 0 / 0.5831 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.2824, allocations: 0.671 MB / 0.5838 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.2825, allocations: 136.4 kB / 0.5839 GB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.2826, allocations: 8 kB / 0.5839 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2828, allocations: 23.98 kB / 0.5839 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2828, allocations: 35.97 kB / 0.584 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2829, allocations: 8 kB / 0.584 GB, free: 22.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.2832, allocations: 347.1 kB / 0.5843 GB, free: 22.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2832, allocations: 0 / 0.5843 GB, free: 22.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.2835, allocations: 151.5 kB / 0.5845 GB, free: 22.27 MB / 410.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.834e-05/0.2836, allocations: 119.2 kB / 0.5846 GB, free: 22.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.284, allocations: 331.7 kB / 0.5849 GB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2841, allocations: 0 / 0.5849 GB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2843, allocations: 187.6 kB / 0.5851 GB, free: 21.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.2849, allocations: 125.8 kB / 0.5852 GB, free: 21.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2863, allocations: 1.506 MB / 0.5867 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2866, allocations: 0.8745 MB / 0.5875 GB, free: 19.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.2868, allocations: 48.41 kB / 0.5876 GB, free: 19.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.2868, allocations: 35.44 kB / 0.5876 GB, free: 19 MB / 410.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2868, allocations: 4 kB / 0.5876 GB, free: 18.99 MB / 410.7 MB Notification: Performance of Templates: time 0.008308/0.2952, allocations: 5.555 MB / 0.593 GB, free: 13.5 MB / 410.7 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)