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.To_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.To_psi,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.079/4.079, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.617e-05, allocations: 4.594 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2135, allocations: 98.73 MB / 0.6289 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/0.4631, allocations: 123.5 MB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4634, allocations: 59.97 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004029/0.4675, allocations: 1.154 MB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4675, allocations: 0 / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.4675, allocations: 0 / 0.7507 GB, free: 12.15 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.0004171/0.468, allocations: 370.3 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.468, allocations: 8.031 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.4681, allocations: 11.86 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.4682, allocations: 182.8 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4683, allocations: 4 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.4683, allocations: 4 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001239/0.4684, allocations: 32 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.4686, allocations: 84.89 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4687, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4687, allocations: 4 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4687, allocations: 7.953 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.4694, allocations: 413.3 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.4694, allocations: 41.19 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.4695, allocations: 17.84 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.4695, allocations: 0 / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4696, allocations: 42.48 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.4696, allocations: 8 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.4698, allocations: 41.55 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4698, allocations: 77.11 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.47, allocations: 130.5 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.47, allocations: 25.7 kB / 0.7522 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.4701, allocations: 112 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.4701, allocations: 3.906 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4701, allocations: 64 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4703, allocations: 326.8 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.4703, allocations: 8 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.4703, allocations: 17.72 kB / 0.7526 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.4704, allocations: 11.95 kB / 0.7526 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4704, allocations: 0 / 0.7526 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.4705, allocations: 57.62 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4706, allocations: 8.062 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4706, allocations: 0 / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4706, allocations: 0 / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.4707, allocations: 8 kB / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4707, allocations: 0 / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.4708, allocations: 7.844 kB / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4708, allocations: 4 kB / 0.7527 GB, free: 9.891 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.46e-05/0.4709, allocations: 108.9 kB / 0.7528 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001221/0.471, allocations: 53.58 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4711, allocations: 4 kB / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.4711, allocations: 11.95 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4712, allocations: 4 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4712, allocations: 0 / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4712, allocations: 0 / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.4717, allocations: 451.2 kB / 0.7533 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4717, allocations: 96 / 0.7533 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.4717, allocations: 8 kB / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4717, allocations: 0 / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4718, allocations: 0 / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4718, allocations: 4 kB / 0.7533 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4718, allocations: 3.984 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.4719, allocations: 96.2 kB / 0.7534 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.472, allocations: 85.02 kB / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.472, allocations: 0 / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.4721, allocations: 0 / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.4721, allocations: 7.953 kB / 0.7535 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4721, allocations: 7.938 kB / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.4722, allocations: 104.9 kB / 0.7536 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4722, allocations: 0 / 0.7536 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002548/0.4725, allocations: 15.91 kB / 0.7536 GB, free: 8.836 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.0004345/0.473, allocations: 0.6877 MB / 0.7543 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.4731, allocations: 19.94 kB / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4731, allocations: 160 / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.4731, allocations: 8 kB / 0.7543 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.4733, allocations: 11.95 kB / 0.7543 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.4737, allocations: 138.5 kB / 0.7545 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4741, allocations: 0.7079 MB / 0.7552 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.4741, allocations: 12.28 kB / 0.7552 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.4742, allocations: 23.44 kB / 0.7552 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4742, allocations: 0 / 0.7552 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.5083, allocations: 0.9764 MB / 0.7562 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003265/0.5087, allocations: 142.7 kB / 0.7563 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.74, allocations: 3.938 kB / 0.7563 GB, free: 5.969 MB / 0.6355 GB