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_hp.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_hp,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.144/4.144, allocations: 433.2 MB / 440.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.807e-05, allocations: 5.312 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/0.4673, allocations: 123.5 MB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4677, allocations: 67.94 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005911/0.4736, allocations: 1.15 MB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.051e-06/0.4737, allocations: 0 / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.4737, allocations: 3.938 kB / 0.7507 GB, free: 12.14 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.0005774/0.4743, allocations: 370.3 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.4744, allocations: 12.02 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.4745, allocations: 11.86 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.4748, allocations: 174.9 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4748, allocations: 4 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4749, allocations: 4 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001933/0.4751, allocations: 32 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.4754, allocations: 83.33 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4754, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.4755, allocations: 4 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.4755, allocations: 7.953 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.4763, allocations: 417.2 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.4764, allocations: 41.28 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.4765, allocations: 13.84 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4765, allocations: 3.984 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4765, allocations: 30.56 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.4765, allocations: 4 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.4767, allocations: 49.55 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4768, allocations: 77.11 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.477, allocations: 127.3 kB / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.477, allocations: 29.7 kB / 0.7522 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.4771, allocations: 112 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.4771, allocations: 4.125 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.4771, allocations: 4.062 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4773, allocations: 326.8 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.4773, allocations: 8 kB / 0.7526 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.4774, allocations: 17.72 kB / 0.7526 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.4774, allocations: 7.953 kB / 0.7526 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4774, allocations: 3.984 kB / 0.7526 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001534/0.4776, allocations: 57.7 kB / 0.7527 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4776, allocations: 8 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4776, allocations: 0 / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4777, allocations: 0 / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4778, allocations: 8 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4778, allocations: 3.984 kB / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.4779, allocations: 7.844 kB / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4779, allocations: 4 kB / 0.7527 GB, free: 9.883 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.974e-05/0.478, allocations: 108.9 kB / 0.7528 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001194/0.4781, allocations: 49.61 kB / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.4782, allocations: 4 kB / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.4782, allocations: 11.95 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4782, allocations: 4.094 kB / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4782, allocations: 3.984 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4782, allocations: 0 / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.4789, allocations: 451.2 kB / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4789, allocations: 4.125 kB / 0.7533 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.4789, allocations: 4 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.479, allocations: 0 / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.479, allocations: 0 / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.479, allocations: 4 kB / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.479, allocations: 0 / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.4791, allocations: 96.2 kB / 0.7534 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.4792, allocations: 85.02 kB / 0.7535 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.4792, allocations: 0 / 0.7535 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.4793, allocations: 0 / 0.7535 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.4793, allocations: 7.938 kB / 0.7535 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4793, allocations: 4 kB / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.4794, allocations: 99.91 kB / 0.7536 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4794, allocations: 0 / 0.7536 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002995/0.4797, allocations: 11.91 kB / 0.7536 GB, free: 8.844 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.0004612/0.4802, allocations: 0.6992 MB / 0.7543 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.4803, allocations: 19.94 kB / 0.7543 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4804, allocations: 4.156 kB / 0.7543 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.4804, allocations: 4 kB / 0.7543 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.4805, allocations: 16.58 kB / 0.7544 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.4811, allocations: 137.1 kB / 0.7545 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4814, allocations: 0.7041 MB / 0.7552 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.4814, allocations: 8.297 kB / 0.7552 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.4815, allocations: 23.44 kB / 0.7552 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.4815, allocations: 0 / 0.7552 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.5234, allocations: 0.9688 MB / 0.7562 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/0.5238, allocations: 149.6 kB / 0.7563 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.738, allocations: 3.938 kB / 0.7563 GB, free: 5.973 MB / 0.6355 GB