Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.001507/0.001507, allocations: 174 kB / 382.3 MB, free: 14.82 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.332/1.332, allocations: 225.7 MB / 0.6617 GB, free: 7.266 MB / 490.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.0008416/0.0008417, allocations: 96.17 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 9.031 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6081/0.6085, allocations: 119.2 MB / 1.022 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.000793/0.6093, allocations: 298.9 kB / 1.023 GB, free: 58.1 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.6096, allocations: 184.2 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.6096, allocations: 0 / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.574e-05/0.6097, allocations: 3.438 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.6098, allocations: 0 / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.6099, allocations: 35.12 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.6099, allocations: 23.8 kB / 1.023 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.61, allocations: 2.281 kB / 1.023 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.61, allocations: 21.53 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.6101, allocations: 16.95 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.6101, allocations: 1.344 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.6101, allocations: 6.5 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.6102, allocations: 0.5938 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.6102, allocations: 38.52 kB / 1.023 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.339e-05/0.6103, allocations: 33.19 kB / 1.023 GB, free: 57.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6103, allocations: 0.875 kB / 1.023 GB, free: 57.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6103, allocations: 1.156 kB / 1.023 GB, free: 57.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.6103, allocations: 0.6875 kB / 1.023 GB, free: 57.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000208/0.6105, allocations: 342.5 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6106, allocations: 10.53 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.6106, allocations: 3.438 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.6107, allocations: 165.8 kB / 1.023 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.6107, allocations: 3.562 kB / 1.023 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.6107, allocations: 4.938 kB / 1.023 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.6108, allocations: 51.45 kB / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.6109, allocations: 192 / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6109, allocations: 9.875 kB / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6109, allocations: 3.938 kB / 1.023 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.6109, allocations: 17.66 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.876e-05/0.611, allocations: 150.4 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.6111, allocations: 30.42 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.6111, allocations: 17.98 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.6111, allocations: 2.828 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.6112, allocations: 34.59 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6112, allocations: 0 / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001989/0.6114, allocations: 113.5 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.6114, allocations: 87.59 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.6115, allocations: 96.14 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.6115, allocations: 27.02 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.6115, allocations: 80.14 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.6115, allocations: 2.469 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.6115, allocations: 1.25 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.6116, allocations: 312.1 kB / 1.024 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.6116, allocations: 16.08 kB / 1.024 GB, free: 56.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.6116, allocations: 10.89 kB / 1.024 GB, free: 56.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.6117, allocations: 79.02 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6117, allocations: 1.344 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.6118, allocations: 102 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6119, allocations: 39.33 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.6119, allocations: 6.125 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.6119, allocations: 1.375 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.6119, allocations: 0 / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.6119, allocations: 0 / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.612, allocations: 5.5 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.6121, allocations: 11.94 kB / 1.025 GB, free: 56.08 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: 1 * 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 5.815e-05/0.6121, allocations: 139.8 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.6121, allocations: 5.094 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.117e-06/0.6121, allocations: 11.02 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.6122, allocations: 0.6875 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6122, allocations: 1.984 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6122, allocations: 5.078 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.288e-05/0.6122, allocations: 155.3 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6122, allocations: 1.75 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.6122, allocations: 0 / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6122, allocations: 1.375 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6123, allocations: 7.438 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6123, allocations: 0.6562 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6123, allocations: 4.625 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.6124, allocations: 134.4 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.6124, allocations: 81.05 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.6125, allocations: 6.688 kB / 1.025 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.6126, allocations: 9.875 kB / 1.025 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.6126, allocations: 4 kB / 1.025 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6126, allocations: 3.156 kB / 1.025 GB, free: 55.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.819e-05/0.6126, allocations: 80.78 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6126, allocations: 0 / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001793/0.6128, allocations: 17.31 kB / 1.025 GB, free: 55.43 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001775/0.613, allocations: 126.2 kB / 1.025 GB, free: 55.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.6131, allocations: 84.28 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6131, allocations: 0 / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.6132, allocations: 76.5 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.6133, allocations: 3.156 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.6135, allocations: 102.3 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.6136, allocations: 0.675 MB / 1.026 GB, free: 54.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.84e-05/0.6137, allocations: 6.906 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-06/0.6137, allocations: 8.469 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6137, allocations: 0 / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of Templates: time 0.002872/0.6166, allocations: 1.052 MB / 1.027 GB, free: 54.26 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)