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.ExchangeValues.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.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.019/2.019, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.0009578/0.0009576, allocations: 175.5 kB / 393.1 MB, free: 4.074 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.6743 GB, free: 12.51 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.0008123/0.0008122, allocations: 95.3 kB / 0.7935 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5953, allocations: 121.3 MB / 1.041 GB, free: 58.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008391/0.5962, allocations: 288.4 kB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.5965, allocations: 191.6 kB / 1.041 GB, free: 58.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.5965, allocations: 0 / 1.041 GB, free: 58.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.5966, allocations: 5.969 kB / 1.041 GB, free: 58.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.5966, allocations: 1.406 kB / 1.041 GB, free: 58.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.5968, allocations: 30.88 kB / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.5968, allocations: 28.25 kB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.5969, allocations: 2.219 kB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.5969, allocations: 11.05 kB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.597, allocations: 16.88 kB / 1.041 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.597, allocations: 5.062 kB / 1.041 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.859e-05/0.597, allocations: 9.562 kB / 1.041 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.5971, allocations: 6.359 kB / 1.041 GB, free: 58.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.5971, allocations: 36.75 kB / 1.041 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.5972, allocations: 31.38 kB / 1.042 GB, free: 58.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5972, allocations: 0 / 1.042 GB, free: 58.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5972, allocations: 0 / 1.042 GB, free: 58.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.5972, allocations: 0.625 kB / 1.042 GB, free: 58.57 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.0002266/0.5975, allocations: 348.8 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5975, allocations: 8.562 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.5976, allocations: 11.09 kB / 1.042 GB, free: 58.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.5976, allocations: 162.3 kB / 1.042 GB, free: 57.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5977, allocations: 6.75 kB / 1.042 GB, free: 57.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.5977, allocations: 3.094 kB / 1.042 GB, free: 57.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.5978, allocations: 52.92 kB / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.5978, allocations: 2.125 kB / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5978, allocations: 5.25 kB / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5978, allocations: 0 / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.5979, allocations: 17.38 kB / 1.042 GB, free: 57.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.162e-05/0.598, allocations: 152.4 kB / 1.042 GB, free: 57.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.598, allocations: 34.83 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.5981, allocations: 17.2 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.5981, allocations: 0 / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.5981, allocations: 35.84 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.5981, allocations: 1.656 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002118/0.5983, allocations: 110.6 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.5984, allocations: 79.55 kB / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.1e-05/0.5984, allocations: 99.62 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.5984, allocations: 29.02 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.5985, allocations: 83.09 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.5985, allocations: 1.281 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.5985, allocations: 2.375 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.5986, allocations: 314.3 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.5986, allocations: 11.69 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.5986, allocations: 10.75 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.5987, allocations: 84.25 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5987, allocations: 1.094 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.5988, allocations: 97.88 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.5989, allocations: 37.67 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5989, allocations: 5.219 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5989, allocations: 0.6875 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.5989, allocations: 0 / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5989, allocations: 2.219 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.599, allocations: 13.05 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.599, allocations: 2.75 kB / 1.043 GB, free: 56.76 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 6.773e-05/0.5991, allocations: 146.7 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.5991, allocations: 4.281 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-06/0.5992, allocations: 11.66 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5992, allocations: 1.797 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5992, allocations: 0 / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.5992, allocations: 0.5 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.814e-05/0.5992, allocations: 148.8 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5992, allocations: 1.484 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.5993, allocations: 0 / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5993, allocations: 2.5 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5993, allocations: 15.16 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5993, allocations: 0.7031 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5993, allocations: 1.078 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.5994, allocations: 125.6 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.5995, allocations: 78.42 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.5995, allocations: 6.469 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.5996, allocations: 14.88 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.5996, allocations: 7.969 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5997, allocations: 4 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.5997, allocations: 78.97 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5997, allocations: 0 / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001795/0.5999, allocations: 9.312 kB / 1.044 GB, free: 56.11 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.0002127/0.6001, allocations: 130.5 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.6002, allocations: 85.38 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6002, allocations: 0 / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.6003, allocations: 76.88 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.6004, allocations: 6.781 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.6007, allocations: 104.5 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.6008, allocations: 0.6721 MB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.724e-05/0.6009, allocations: 11.88 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-06/0.6009, allocations: 7.438 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.6009, allocations: 0 / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of Templates: time 0.002884/0.6038, allocations: 1.05 MB / 1.046 GB, free: 54.93 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)