Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.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.001364/0.001364, allocations: 190.9 kB / 329.5 MB, free: 1.156 MB / 250.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 2.333/2.333, allocations: 225.6 MB / 0.6001 GB, free: 0.5078 MB / 426.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.001003/0.001003, allocations: 102.1 kB / 0.7074 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005757/0.000576, allocations: 11.75 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2011, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008143/0.202, allocations: 285.3 kB / 0.931 GB, free: 24.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.2022, allocations: 103.8 kB / 0.9311 GB, free: 24.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.2023, allocations: 0 / 0.9311 GB, free: 24.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.548e-05/0.2024, allocations: 4 kB / 0.9311 GB, free: 24.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.2024, allocations: 3.938 kB / 0.9312 GB, free: 24.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.2026, allocations: 31.97 kB / 0.9312 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.2027, allocations: 19.92 kB / 0.9312 GB, free: 24.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.2027, allocations: 8 kB / 0.9312 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.2028, allocations: 15.97 kB / 0.9312 GB, free: 24.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.2028, allocations: 11.98 kB / 0.9312 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.2029, allocations: 0 / 0.9312 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.2029, allocations: 8 kB / 0.9312 GB, free: 24.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.2029, allocations: 0 / 0.9312 GB, free: 24.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.203, allocations: 29.7 kB / 0.9313 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.108e-05/0.203, allocations: 15.97 kB / 0.9313 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2031, allocations: 4 kB / 0.9313 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2031, allocations: 0 / 0.9313 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.2031, allocations: 0 / 0.9313 GB, free: 24.34 MB / 0.5886 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.0002534/0.2033, allocations: 353.2 kB / 0.9316 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2034, allocations: 11.97 kB / 0.9316 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2034, allocations: 4.938 kB / 0.9316 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.2035, allocations: 168.3 kB / 0.9318 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2036, allocations: 4.375 kB / 0.9318 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2036, allocations: 8.359 kB / 0.9318 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.2037, allocations: 50.23 kB / 0.9319 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2038, allocations: 192 / 0.9319 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2038, allocations: 11.94 kB / 0.9319 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2038, allocations: 0 / 0.9319 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.2039, allocations: 11.98 kB / 0.9319 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.204, allocations: 149.7 kB / 0.932 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.2041, allocations: 34.55 kB / 0.9321 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.2042, allocations: 16.91 kB / 0.9321 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2042, allocations: 0 / 0.9321 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2042, allocations: 34.56 kB / 0.9321 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.2042, allocations: 0 / 0.9321 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002854/0.2045, allocations: 111.3 kB / 0.9322 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2046, allocations: 77.11 kB / 0.9323 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.2046, allocations: 105.8 kB / 0.9324 GB, free: 23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2046, allocations: 29.7 kB / 0.9324 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.2047, allocations: 80.14 kB / 0.9325 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2047, allocations: 4.156 kB / 0.9325 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.2047, allocations: 8 kB / 0.9325 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.2048, allocations: 310.8 kB / 0.9328 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.655e-05/0.2048, allocations: 15.98 kB / 0.9328 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.2049, allocations: 4 kB / 0.9328 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.2049, allocations: 41.69 kB / 0.9329 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.205, allocations: 3.938 kB / 0.9329 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00017/0.2051, allocations: 91.39 kB / 0.933 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.2052, allocations: 37.69 kB / 0.933 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2052, allocations: 8.031 kB / 0.933 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2052, allocations: 0 / 0.933 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.2052, allocations: 0 / 0.933 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2052, allocations: 0 / 0.933 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.2055, allocations: 4 kB / 0.933 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2055, allocations: 7.984 kB / 0.933 GB, free: 22.33 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.245e-05/0.2056, allocations: 151.7 kB / 0.9332 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.2056, allocations: 4 kB / 0.9332 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.2057, allocations: 7.062 kB / 0.9332 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2057, allocations: 4 kB / 0.9332 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2057, allocations: 4 kB / 0.9332 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2057, allocations: 0 / 0.9332 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.672e-05/0.2058, allocations: 153.7 kB / 0.9333 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2058, allocations: 0 / 0.9333 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.2058, allocations: 0 / 0.9333 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2058, allocations: 0 / 0.9333 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2058, allocations: 11.94 kB / 0.9333 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2058, allocations: 3.984 kB / 0.9333 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2058, allocations: 0 / 0.9333 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.206, allocations: 122.8 kB / 0.9335 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.2061, allocations: 85.05 kB / 0.9335 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.2061, allocations: 7.938 kB / 0.9335 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2063, allocations: 7.984 kB / 0.9335 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2064, allocations: 3.984 kB / 0.9336 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2064, allocations: 7.938 kB / 0.9336 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.2064, allocations: 79.31 kB / 0.9336 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2065, allocations: 0 / 0.9336 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002481/0.2067, allocations: 12 kB / 0.9336 GB, free: 21.56 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.207, allocations: 137.2 kB / 0.9338 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2072, allocations: 83.39 kB / 0.9339 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2072, allocations: 4.156 kB / 0.9339 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.2072, allocations: 71.39 kB / 0.9339 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.2074, allocations: 9.828 kB / 0.9339 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.2078, allocations: 110.6 kB / 0.934 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.2079, allocations: 0.6692 MB / 0.9347 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.208, allocations: 15.86 kB / 0.9347 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.208, allocations: 7.438 kB / 0.9347 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/0.208, allocations: 64 / 0.9347 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.004004/0.212, allocations: 1.005 MB / 0.9357 GB, free: 19.38 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)