Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.728/1.728, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.001123/0.001123, allocations: 175.5 kB / 393.1 MB, free: 4.117 MB / 314.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.374/1.374, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008369/0.000837, allocations: 103.4 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 12 kB / 0.9224 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.538/0.5384, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00128/0.5398, allocations: 1.193 MB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.5409, allocations: 0.9514 MB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.5409, allocations: 1.375 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.5411, allocations: 47.98 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.3e-05/0.5411, allocations: 17.22 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.5416, allocations: 169 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.5416, allocations: 47.81 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.5417, allocations: 9.297 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.5417, allocations: 15.88 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.5418, allocations: 16.84 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.5418, allocations: 0.6562 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.5421, allocations: 141.3 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.5421, allocations: 9.594 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.5421, allocations: 45.39 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.5423, allocations: 120.3 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5423, allocations: 0 / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5423, allocations: 3.344 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.5423, allocations: 0 / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000226/0.5426, allocations: 362.3 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.5426, allocations: 9.25 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.5426, allocations: 85.75 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.5428, allocations: 255.3 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.5428, allocations: 152.5 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.5428, allocations: 152.1 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.655e-05/0.5429, allocations: 111.6 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5429, allocations: 81.41 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.5429, allocations: 150.6 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.5429, allocations: 151.8 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.543, allocations: 151.2 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.5431, allocations: 472.4 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.5432, allocations: 173.1 kB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.5432, allocations: 85.14 kB / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.5432, allocations: 75.28 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.5432, allocations: 111.1 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.5432, allocations: 0 / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.87e-05/0.5433, allocations: 30.09 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.5433, allocations: 134.5 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5434, allocations: 135.3 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.5434, allocations: 26.36 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.5435, allocations: 94.2 kB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.5435, allocations: 0.6875 kB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.5435, allocations: 0 / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.5435, allocations: 318.5 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.5436, allocations: 2.656 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.5436, allocations: 11.83 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.5436, allocations: 9.828 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5436, allocations: 0.5312 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.995e-05/0.5437, allocations: 53.36 kB / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.5437, allocations: 7.188 kB / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5438, allocations: 4.062 kB / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.5438, allocations: 0 / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.5438, allocations: 0 / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.5438, allocations: 0 / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.5438, allocations: 5.375 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.5438, allocations: 3.594 kB / 1.047 GB, free: 53.3 MB / 0.698 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.867e-05/0.5439, allocations: 188.3 kB / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.5439, allocations: 108.3 kB / 1.047 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.5439, allocations: 118.5 kB / 1.047 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.544, allocations: 176.3 kB / 1.047 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/0.544, allocations: 181.1 kB / 1.048 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.544, allocations: 182.8 kB / 1.048 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.5441, allocations: 413.2 kB / 1.048 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.5442, allocations: 110.6 kB / 1.048 GB, free: 51.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.5442, allocations: 110.5 kB / 1.048 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.5442, allocations: 182.6 kB / 1.049 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.5442, allocations: 189.1 kB / 1.049 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.5443, allocations: 179.8 kB / 1.049 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/0.5443, allocations: 181.7 kB / 1.049 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.92e-05/0.5444, allocations: 312.3 kB / 1.049 GB, free: 50.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.5444, allocations: 190.3 kB / 1.05 GB, free: 50.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.5444, allocations: 177.5 kB / 1.05 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.5445, allocations: 107.2 kB / 1.05 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.5445, allocations: 187.2 kB / 1.05 GB, free: 49.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5445, allocations: 104.9 kB / 1.05 GB, free: 49.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.5446, allocations: 99.98 kB / 1.05 GB, free: 49.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5446, allocations: 0 / 1.05 GB, free: 49.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002503/0.5449, allocations: 35.64 kB / 1.05 GB, free: 49.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000213/0.5451, allocations: 225.2 kB / 1.05 GB, free: 49.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.043e-05/0.5451, allocations: 35.83 kB / 1.05 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5451, allocations: 4.062 kB / 1.05 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.5452, allocations: 0 / 1.05 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.5455, allocations: 0.535 MB / 1.051 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.5457, allocations: 247.3 kB / 1.051 GB, free: 48.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.5459, allocations: 0.6857 MB / 1.052 GB, free: 48.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.718e-05/0.5459, allocations: 1.688 kB / 1.052 GB, free: 48.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-06/0.5459, allocations: 15.03 kB / 1.052 GB, free: 48.06 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.5459, allocations: 0 / 1.052 GB, free: 48.06 MB / 0.698 GB Notification: Performance of Templates: time 0.003377/0.5493, allocations: 1.492 MB / 1.053 GB, free: 47.95 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)