Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7097/0.7097, allocations: 131 MB / 146.3 MB, free: 1.297 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009115/0.0009114, allocations: 187.8 kB / 176.4 MB, free: 4.871 MB / 138.7 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.313/1.313, allocations: 225.7 MB / 432 MB, free: 8.727 MB / 314.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.0007226/0.0007226, allocations: 102.5 kB / 0.5003 GB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 15.66 kB / 0.5886 GB, free: 72.61 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 79.6 MB / 0.6663 GB, free: 8.844 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003759/0.1345, allocations: 2.59 MB / 0.6688 GB, free: 6.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.1378, allocations: 1.975 MB / 0.6708 GB, free: 4.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.1381, allocations: 8 kB / 0.6708 GB, free: 4.246 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.1398, allocations: 474 kB / 0.6712 GB, free: 3.781 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.1402, allocations: 135.1 kB / 0.6714 GB, free: 3.648 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1403, allocations: 43.97 kB / 0.6714 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.141, allocations: 477.8 kB / 0.6719 GB, free: 3.137 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.1413, allocations: 131.9 kB / 0.672 GB, free: 3.004 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.1416, allocations: 131.3 kB / 0.6721 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1419, allocations: 175.1 kB / 0.6723 GB, free: 2.703 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.1419, allocations: 20 kB / 0.6723 GB, free: 2.684 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.142, allocations: 16 kB / 0.6723 GB, free: 2.668 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1421, allocations: 75.69 kB / 0.6724 GB, free: 2.594 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.1424, allocations: 224.6 kB / 0.6726 GB, free: 2.367 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.1429, allocations: 0.5408 MB / 0.6731 GB, free: 1.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1429, allocations: 4 kB / 0.6731 GB, free: 1.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1429, allocations: 0 / 0.6731 GB, free: 1.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1429, allocations: 0 / 0.6731 GB, free: 1.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001061/0.144, allocations: 0.6385 MB / 0.6738 GB, free: 1.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.144, allocations: 8.031 kB / 0.6738 GB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1442, allocations: 48.38 kB / 0.6738 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.1447, allocations: 378 kB / 0.6742 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1448, allocations: 16.81 kB / 0.6742 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.1448, allocations: 24.38 kB / 0.6742 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.1452, allocations: 207.5 kB / 0.6744 GB, free: 436 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1453, allocations: 0 / 0.6744 GB, free: 436 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1453, allocations: 12 kB / 0.6744 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.1453, allocations: 7.984 kB / 0.6744 GB, free: 416 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.1457, allocations: 173.6 kB / 0.6746 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.147, allocations: 0.874 MB / 0.6754 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.1474, allocations: 154.5 kB / 0.6756 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1476, allocations: 120.8 kB / 0.6757 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1476, allocations: 4 kB / 0.6757 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1477, allocations: 30.56 kB / 0.6757 GB, free: 14.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.1477, allocations: 3.938 kB / 0.6757 GB, free: 14.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006669/0.1483, allocations: 281.2 kB / 0.676 GB, free: 14.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1484, allocations: 51.41 kB / 0.6761 GB, free: 14.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.1489, allocations: 413.7 kB / 0.6765 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1489, allocations: 29.7 kB / 0.6765 GB, free: 14.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1491, allocations: 204.2 kB / 0.6767 GB, free: 13.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.1492, allocations: 71.03 kB / 0.6767 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1492, allocations: 0 / 0.6767 GB, free: 13.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1493, allocations: 354.8 kB / 0.6771 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1495, allocations: 59.97 kB / 0.6771 GB, free: 13.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1496, allocations: 62.2 kB / 0.6772 GB, free: 13.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1499, allocations: 150.4 kB / 0.6773 GB, free: 13.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1499, allocations: 0 / 0.6773 GB, free: 13.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004029/0.1503, allocations: 217.2 kB / 0.6775 GB, free: 13.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1504, allocations: 4 kB / 0.6776 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1504, allocations: 7.984 kB / 0.6776 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1504, allocations: 3.938 kB / 0.6776 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1507, allocations: 55.91 kB / 0.6776 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1507, allocations: 0 / 0.6776 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1509, allocations: 27.89 kB / 0.6776 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1509, allocations: 4 kB / 0.6776 GB, free: 12.96 MB / 458.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 (20): * Single equations (assignments): 20 * 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.0001681/0.1511, allocations: 165.8 kB / 0.6778 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.1511, allocations: 39.47 kB / 0.6778 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1512, allocations: 43.53 kB / 0.6779 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1512, allocations: 4 kB / 0.6779 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1513, allocations: 3.984 kB / 0.6779 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1513, allocations: 0 / 0.6779 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1517, allocations: 373.3 kB / 0.6782 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1517, allocations: 4 kB / 0.6783 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.152, allocations: 63.89 kB / 0.6783 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.152, allocations: 0 / 0.6783 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.152, allocations: 7.938 kB / 0.6783 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.152, allocations: 0 / 0.6783 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.152, allocations: 0 / 0.6783 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.1526, allocations: 390.9 kB / 0.6787 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1528, allocations: 120.7 kB / 0.6788 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.1528, allocations: 7.875 kB / 0.6788 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.153, allocations: 20.05 kB / 0.6788 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1531, allocations: 19.83 kB / 0.6789 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.1531, allocations: 0 / 0.6789 GB, free: 11.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003451/0.1534, allocations: 303.1 kB / 0.6791 GB, free: 11.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1534, allocations: 0 / 0.6791 GB, free: 11.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.1537, allocations: 71.84 kB / 0.6792 GB, free: 11.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001608/0.1539, allocations: 117.4 kB / 0.6793 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.1543, allocations: 155 kB / 0.6795 GB, free: 10.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1543, allocations: 0 / 0.6795 GB, free: 10.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1545, allocations: 87.91 kB / 0.6796 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.1551, allocations: 82.16 kB / 0.6796 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1564, allocations: 0.9396 MB / 0.6806 GB, free: 9.859 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1568, allocations: 0.7993 MB / 0.6813 GB, free: 9.035 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.157, allocations: 34.97 kB / 0.6814 GB, free: 9.004 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.157, allocations: 23.44 kB / 0.6814 GB, free: 8.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.157, allocations: 0 / 0.6814 GB, free: 8.98 MB / 458.7 MB Notification: Performance of Templates: time 0.0083/0.1653, allocations: 3.701 MB / 0.685 GB, free: 5.324 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)