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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.727/0.727, 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.001125/0.001125, allocations: 191.8 kB / 176.4 MB, free: 4.867 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.375/1.375, allocations: 225.7 MB / 431.9 MB, free: 8.734 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.0007659/0.0007658, allocations: 101.6 kB / 0.5003 GB, free: 9.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 15.66 kB / 0.5886 GB, free: 72.61 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 79.59 MB / 0.6663 GB, free: 8.852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004219/0.1295, allocations: 3.588 MB / 0.6698 GB, free: 5.242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.1331, allocations: 2.244 MB / 0.672 GB, free: 2.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/0.1336, allocations: 12 kB / 0.672 GB, free: 2.977 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.1353, allocations: 0.4978 MB / 0.6725 GB, free: 2.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006849/0.136, allocations: 214.4 kB / 0.6727 GB, free: 2.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1363, allocations: 123.9 kB / 0.6728 GB, free: 2.145 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000978/0.1373, allocations: 0.802 MB / 0.6736 GB, free: 1.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.1378, allocations: 280.1 kB / 0.6739 GB, free: 1.066 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.1382, allocations: 239 kB / 0.6741 GB, free: 0.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.1386, allocations: 286.6 kB / 0.6744 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.1387, allocations: 36 kB / 0.6744 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1389, allocations: 32 kB / 0.6744 GB, free: 496 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.139, allocations: 135.4 kB / 0.6746 GB, free: 360 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.1394, allocations: 364 kB / 0.6749 GB, free: 15.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008738/0.1403, allocations: 0.9767 MB / 0.6759 GB, free: 15.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1403, allocations: 0 / 0.6759 GB, free: 15.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1403, allocations: 0 / 0.6759 GB, free: 15.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.1404, allocations: 0 / 0.6759 GB, free: 15.01 MB / 458.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.001549/0.1419, allocations: 0.8373 MB / 0.6767 GB, free: 14.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.142, allocations: 8.031 kB / 0.6767 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1422, allocations: 72.09 kB / 0.6768 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.1429, allocations: 465.6 kB / 0.6772 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.1429, allocations: 33.38 kB / 0.6772 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.143, allocations: 48.38 kB / 0.6773 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.1439, allocations: 426.8 kB / 0.6777 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1439, allocations: 4 kB / 0.6777 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1439, allocations: 20 kB / 0.6777 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.144, allocations: 12 kB / 0.6777 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.1447, allocations: 379.7 kB / 0.6781 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.1467, allocations: 1.535 MB / 0.6796 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.1472, allocations: 352.1 kB / 0.6799 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.1477, allocations: 353.4 kB / 0.6803 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1478, allocations: 11.72 kB / 0.6803 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1478, allocations: 38.5 kB / 0.6803 GB, free: 10.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.1478, allocations: 0 / 0.6803 GB, free: 10.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009284/0.1487, allocations: 0.5041 MB / 0.6808 GB, free: 9.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1488, allocations: 59.41 kB / 0.6809 GB, free: 9.688 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.1493, allocations: 481.9 kB / 0.6813 GB, free: 9.211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1494, allocations: 29.7 kB / 0.6813 GB, free: 9.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1495, allocations: 276.4 kB / 0.6816 GB, free: 8.902 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1497, allocations: 157.7 kB / 0.6818 GB, free: 8.746 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.1497, allocations: 8 kB / 0.6818 GB, free: 8.738 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1498, allocations: 358.8 kB / 0.6821 GB, free: 8.379 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.1501, allocations: 132.6 kB / 0.6822 GB, free: 8.246 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1503, allocations: 129.2 kB / 0.6824 GB, free: 8.121 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.1508, allocations: 310.5 kB / 0.6827 GB, free: 7.816 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1508, allocations: 0 / 0.6827 GB, free: 7.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006016/0.1514, allocations: 392.7 kB / 0.683 GB, free: 7.426 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1515, allocations: 8 kB / 0.683 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1515, allocations: 0 / 0.683 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1515, allocations: 0 / 0.683 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.152, allocations: 127.9 kB / 0.6832 GB, free: 7.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.152, allocations: 3.938 kB / 0.6832 GB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.1523, allocations: 60.33 kB / 0.6832 GB, free: 7.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1523, allocations: 15.98 kB / 0.6832 GB, free: 7.215 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 (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.000209/0.1525, allocations: 189.8 kB / 0.6834 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1526, allocations: 59.36 kB / 0.6835 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.1527, allocations: 61.11 kB / 0.6835 GB, free: 6.902 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1527, allocations: 7.984 kB / 0.6835 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1527, allocations: 0 / 0.6835 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1527, allocations: 7.922 kB / 0.6835 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.1533, allocations: 0.5673 MB / 0.6841 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1534, allocations: 0 / 0.6841 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.1539, allocations: 127.8 kB / 0.6842 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1539, allocations: 8 kB / 0.6842 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.1539, allocations: 8 kB / 0.6842 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1539, allocations: 4 kB / 0.6842 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1539, allocations: 0 / 0.6842 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.1549, allocations: 0.6671 MB / 0.6849 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.155, allocations: 144.3 kB / 0.685 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.1551, allocations: 12 kB / 0.685 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.1553, allocations: 23.98 kB / 0.6851 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.1554, allocations: 23.97 kB / 0.6851 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1554, allocations: 8 kB / 0.6851 GB, free: 5.215 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000367/0.1558, allocations: 347.1 kB / 0.6854 GB, free: 4.875 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1558, allocations: 4 kB / 0.6854 GB, free: 4.871 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003883/0.1562, allocations: 139.7 kB / 0.6856 GB, free: 4.734 MB / 458.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 0.0001377/0.1563, allocations: 119.7 kB / 0.6857 GB, free: 4.605 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.1569, allocations: 331.7 kB / 0.686 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1569, allocations: 0 / 0.686 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1572, allocations: 187.6 kB / 0.6862 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.1578, allocations: 126.8 kB / 0.6863 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1597, allocations: 1.507 MB / 0.6878 GB, free: 2.438 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1602, allocations: 0.8707 MB / 0.6886 GB, free: 1.535 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.1604, allocations: 48.39 kB / 0.6887 GB, free: 1.488 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.1604, allocations: 35.44 kB / 0.6887 GB, free: 1.453 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1605, allocations: 0 / 0.6887 GB, free: 1.453 MB / 458.7 MB Notification: Performance of Templates: time 0.01075/0.1712, allocations: 5.583 MB / 0.6941 GB, free: 11.93 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)