Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.042/4.042, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.683e-05, allocations: 5.594 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 98.75 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.4859, allocations: 123.5 MB / 0.7496 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4862, allocations: 75.95 kB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003932/0.4902, allocations: 1.138 MB / 0.7507 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4902, allocations: 4 kB / 0.7507 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4902, allocations: 4 kB / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004285/0.4907, allocations: 366.2 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4907, allocations: 8.031 kB / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.4908, allocations: 15.86 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.491, allocations: 170.9 kB / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.491, allocations: 4 kB / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.491, allocations: 4 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.4912, allocations: 36 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4914, allocations: 87.33 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4914, allocations: 0 / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4914, allocations: 0 / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4914, allocations: 11.89 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.4921, allocations: 413.2 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.4922, allocations: 41.28 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.4923, allocations: 17.84 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.4923, allocations: 4 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4923, allocations: 34.56 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.4923, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00018/0.4925, allocations: 45.55 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.4926, allocations: 81.11 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.4928, allocations: 119.2 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4928, allocations: 29.77 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.4929, allocations: 116 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.4929, allocations: 11.91 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.493, allocations: 224 / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4931, allocations: 310.8 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.4931, allocations: 11.94 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.4932, allocations: 17.72 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.4932, allocations: 23.94 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4933, allocations: 0 / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.4934, allocations: 49.64 kB / 0.7527 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4934, allocations: 4 kB / 0.7527 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4934, allocations: 0 / 0.7527 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4934, allocations: 4.094 kB / 0.7527 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.4936, allocations: 7.984 kB / 0.7527 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4936, allocations: 0 / 0.7527 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.4936, allocations: 19.83 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4937, allocations: 4.062 kB / 0.7527 GB, free: 9.957 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.888e-05/0.4937, allocations: 108.9 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000115/0.4939, allocations: 45.55 kB / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.4939, allocations: 4 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.494, allocations: 15.95 kB / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.494, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.494, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.494, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.4945, allocations: 459.3 kB / 0.7533 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4946, allocations: 4 kB / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.4946, allocations: 0 / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.4946, allocations: 4 kB / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4946, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4946, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4947, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.4948, allocations: 92.27 kB / 0.7534 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.4949, allocations: 92.95 kB / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4949, allocations: 3.984 kB / 0.7535 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.495, allocations: 0 / 0.7535 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.495, allocations: 7.953 kB / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.495, allocations: 0 / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.617e-05/0.4951, allocations: 105 kB / 0.7536 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4951, allocations: 0 / 0.7536 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002757/0.4954, allocations: 11.91 kB / 0.7536 GB, free: 8.914 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004716/0.4959, allocations: 0.6915 MB / 0.7543 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.496, allocations: 19.94 kB / 0.7543 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.496, allocations: 0 / 0.7543 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.496, allocations: 11.98 kB / 0.7543 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.4962, allocations: 10.19 kB / 0.7543 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.4967, allocations: 142.6 kB / 0.7545 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.497, allocations: 0.7082 MB / 0.7552 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.497, allocations: 4.188 kB / 0.7552 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.4971, allocations: 19.42 kB / 0.7552 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4971, allocations: 0 / 0.7552 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.529, allocations: 0.9838 MB / 0.7562 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.5294, allocations: 145.3 kB / 0.7563 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.788, allocations: 4 kB / 0.7563 GB, free: 6.043 MB / 0.6355 GB