Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") 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.603/1.603, allocations: 297.4 MB / 312.6 MB, free: 2.883 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.00112/0.00112, allocations: 182 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.424/1.424, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0009246/0.0009246, allocations: 95.31 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003805, allocations: 16 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5873, allocations: 119.2 MB / 1.022 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001902/0.5893, allocations: 1.313 MB / 1.024 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.5926, allocations: 3.614 MB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.5926, allocations: 1.375 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.5927, allocations: 1.609 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.5928, allocations: 14.08 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.5932, allocations: 102.8 kB / 1.027 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.5934, allocations: 73.91 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.5934, allocations: 10.45 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.5936, allocations: 42.48 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.5937, allocations: 28.62 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.5937, allocations: 7.719 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.594, allocations: 103.9 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.594, allocations: 3.438 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.5941, allocations: 60.36 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.5943, allocations: 115.3 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5943, allocations: 3.328 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5943, allocations: 0 / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5943, allocations: 1.094 kB / 1.028 GB, free: 54.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004686/0.5948, allocations: 387.1 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5949, allocations: 8.75 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.5949, allocations: 8.562 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.595, allocations: 176.3 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.595, allocations: 7.484 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.5951, allocations: 2.906 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.5952, allocations: 85.17 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5953, allocations: 1.5 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5953, allocations: 2.062 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.5953, allocations: 6.406 kB / 1.028 GB, free: 53.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.5955, allocations: 88.64 kB / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.5959, allocations: 324.2 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.5962, allocations: 94.72 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5963, allocations: 52.7 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.5969, allocations: 0.7444 MB / 1.03 GB, free: 52.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.5969, allocations: 35.66 kB / 1.03 GB, free: 52.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/0.597, allocations: 0.9375 kB / 1.03 GB, free: 52.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003799/0.5973, allocations: 151.3 kB / 1.03 GB, free: 52.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.5974, allocations: 52.56 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.5975, allocations: 118.1 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.5975, allocations: 26.7 kB / 1.03 GB, free: 52.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.5975, allocations: 88.58 kB / 1.03 GB, free: 52.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.5975, allocations: 33.39 kB / 1.03 GB, free: 52.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.5975, allocations: 7.938 kB / 1.03 GB, free: 52.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.5976, allocations: 316 kB / 1.03 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.5977, allocations: 32.58 kB / 1.03 GB, free: 51.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.5978, allocations: 47.3 kB / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.598, allocations: 91.14 kB / 1.031 GB, free: 51.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.598, allocations: 1.078 kB / 1.031 GB, free: 51.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000232/0.5982, allocations: 129 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5982, allocations: 17.19 kB / 1.031 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5983, allocations: 0.5 kB / 1.031 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.5983, allocations: 3.406 kB / 1.031 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5984, allocations: 18.94 kB / 1.031 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5984, allocations: 3.594 kB / 1.031 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.5985, allocations: 9.312 kB / 1.031 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5985, allocations: 10.28 kB / 1.031 GB, free: 51.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 7.011e-05/0.5986, allocations: 118.9 kB / 1.031 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.5986, allocations: 11.2 kB / 1.031 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.599, allocations: 129.4 kB / 1.031 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.599, allocations: 2.531 kB / 1.031 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.599, allocations: 0.5156 kB / 1.031 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.599, allocations: 1.703 kB / 1.031 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.5991, allocations: 182.8 kB / 1.031 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5992, allocations: 0 / 1.031 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5993, allocations: 28.2 kB / 1.031 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5993, allocations: 5.312 kB / 1.031 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5993, allocations: 0 / 1.031 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.5993, allocations: 5 kB / 1.031 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5993, allocations: 0 / 1.031 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.5996, allocations: 211.6 kB / 1.031 GB, free: 51.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.5996, allocations: 84.67 kB / 1.031 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.5996, allocations: 7.938 kB / 1.031 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.5997, allocations: 11.2 kB / 1.031 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.5998, allocations: 5.453 kB / 1.031 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.5998, allocations: 3.766 kB / 1.031 GB, free: 51.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.5998, allocations: 100.6 kB / 1.032 GB, free: 51.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.61e-07/0.5998, allocations: 0 / 1.032 GB, free: 51.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002295/0.6001, allocations: 28 kB / 1.032 GB, free: 51.01 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 (8): * Single equations (assignments): 8 * 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.0002061/0.6003, allocations: 122.6 kB / 1.032 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.6005, allocations: 84.92 kB / 1.032 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6005, allocations: 0 / 1.032 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6006, allocations: 54 kB / 1.032 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.6009, allocations: 10.89 kB / 1.032 GB, free: 50.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.6013, allocations: 255.3 kB / 1.032 GB, free: 50.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.6015, allocations: 0.6911 MB / 1.033 GB, free: 49.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.852e-05/0.6016, allocations: 14.47 kB / 1.033 GB, free: 49.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.6016, allocations: 8.656 kB / 1.033 GB, free: 49.98 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.6016, allocations: 0 / 1.033 GB, free: 49.98 MB / 0.698 GB Notification: Performance of Templates: time 0.003485/0.6051, allocations: 0.9316 MB / 1.034 GB, free: 49.89 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)