Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 255.9 MB / 271.2 MB, free: 8.918 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.001332/0.001331, allocations: 186.5 kB / 330.8 MB, free: 500 kB / 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 1.624/1.624, allocations: 225.7 MB / 0.6016 GB, free: 1.672 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.0008159/0.0008158, allocations: 113.3 kB / 0.709 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.0005645, allocations: 12.5 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2175, allocations: 109.2 MB / 0.9328 GB, free: 6.293 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001545/0.2191, allocations: 1.302 MB / 0.934 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.2221, allocations: 3.599 MB / 0.9376 GB, free: 1.234 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2222, allocations: 0 / 0.9376 GB, free: 1.234 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.2223, allocations: 7.922 kB / 0.9376 GB, free: 1.227 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.2223, allocations: 11.92 kB / 0.9376 GB, free: 1.215 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.2228, allocations: 111.5 kB / 0.9377 GB, free: 1.105 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.2229, allocations: 71.78 kB / 0.9377 GB, free: 1.035 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.223, allocations: 16.17 kB / 0.9378 GB, free: 1.02 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2231, allocations: 27.86 kB / 0.9378 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.2232, allocations: 39.83 kB / 0.9378 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2232, allocations: 4 kB / 0.9378 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.2235, allocations: 91.78 kB / 0.9379 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2235, allocations: 23.91 kB / 0.9379 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2236, allocations: 45.58 kB / 0.938 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2238, allocations: 123.9 kB / 0.9381 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2238, allocations: 0 / 0.9381 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2238, allocations: 3.938 kB / 0.9381 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2238, allocations: 0 / 0.9381 GB, free: 0.6602 MB / 0.573 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.0004839/0.2243, allocations: 379.3 kB / 0.9385 GB, free: 248 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2243, allocations: 17.11 kB / 0.9385 GB, free: 232 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.2244, allocations: 8.844 kB / 0.9385 GB, free: 224 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.2245, allocations: 168.3 kB / 0.9387 GB, free: 16 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2245, allocations: 384 / 0.9387 GB, free: 16 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2245, allocations: 8.375 kB / 0.9387 GB, free: 8 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.2247, allocations: 89.52 kB / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2248, allocations: 0 / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2248, allocations: 3.938 kB / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2248, allocations: 4 kB / 0.9388 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.225, allocations: 87.92 kB / 0.9388 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.2255, allocations: 328.6 kB / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.2257, allocations: 106.5 kB / 0.9393 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2259, allocations: 48.84 kB / 0.9393 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007928/0.2267, allocations: 0.741 MB / 0.94 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.2267, allocations: 34.56 kB / 0.9401 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.2267, allocations: 0 / 0.9401 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003916/0.2271, allocations: 153.7 kB / 0.9402 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2272, allocations: 55.41 kB / 0.9403 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.2273, allocations: 125.8 kB / 0.9404 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2273, allocations: 29.7 kB / 0.9404 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.2274, allocations: 95.98 kB / 0.9405 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.2274, allocations: 27.64 kB / 0.9405 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.2274, allocations: 0 / 0.9405 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2275, allocations: 314.8 kB / 0.9408 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.2276, allocations: 39.97 kB / 0.9409 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.2277, allocations: 45.7 kB / 0.9409 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.2279, allocations: 85.94 kB / 0.941 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.228, allocations: 0 / 0.941 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002461/0.2282, allocations: 125.5 kB / 0.9411 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2282, allocations: 7.906 kB / 0.9411 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2282, allocations: 0 / 0.9411 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2283, allocations: 7.938 kB / 0.9411 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2284, allocations: 24.12 kB / 0.9411 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2284, allocations: 3.938 kB / 0.9411 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.2285, allocations: 15.89 kB / 0.9412 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2285, allocations: 0 / 0.9412 GB, free: 13.18 MB / 0.5886 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 8.103e-05/0.2286, allocations: 118.5 kB / 0.9413 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.2286, allocations: 4 kB / 0.9413 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.229, allocations: 142 kB / 0.9414 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.229, allocations: 7.938 kB / 0.9414 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.229, allocations: 0 / 0.9414 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.229, allocations: 0 / 0.9414 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2292, allocations: 185.6 kB / 0.9416 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2292, allocations: 4 kB / 0.9416 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2293, allocations: 19.98 kB / 0.9416 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2293, allocations: 0 / 0.9416 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2293, allocations: 3.984 kB / 0.9416 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2293, allocations: 3.938 kB / 0.9416 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2293, allocations: 0 / 0.9416 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.2296, allocations: 215.3 kB / 0.9418 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.2297, allocations: 92.95 kB / 0.9419 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.2297, allocations: 0 / 0.9419 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.2298, allocations: 11.92 kB / 0.9419 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.2299, allocations: 4 kB / 0.9419 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.2299, allocations: 4 kB / 0.9419 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.159e-05/0.2299, allocations: 99.7 kB / 0.942 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2299, allocations: 0 / 0.942 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002279/0.2302, allocations: 16 kB / 0.9421 GB, free: 12.17 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 (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.0002072/0.2304, allocations: 123.2 kB / 0.9422 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.2306, allocations: 91.89 kB / 0.9423 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2306, allocations: 0 / 0.9423 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.2307, allocations: 39.97 kB / 0.9423 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.231, allocations: 8 kB / 0.9423 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.2314, allocations: 256.3 kB / 0.9425 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2317, allocations: 0.6887 MB / 0.9432 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.003e-05/0.2318, allocations: 15.92 kB / 0.9432 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.2318, allocations: 7.438 kB / 0.9432 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.2318, allocations: 4 kB / 0.9432 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.0032/0.2351, allocations: 0.9417 MB / 0.9442 GB, free: 9.949 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)