Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.413/2.413, allocations: 248.5 MB / 261 MB, free: 5.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 178.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.2 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.73 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.099e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/1.112, allocations: 131.2 MB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.113, allocations: 65.58 kB / 1.019 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004115/1.117, allocations: 1.162 MB / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.117, allocations: 0 / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.117, allocations: 0 / 1.02 GB, free: 2.691 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.0004512/1.117, allocations: 372.4 kB / 1.02 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.118, allocations: 12.03 kB / 1.02 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/1.118, allocations: 41.31 kB / 1.02 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/1.118, allocations: 11.86 kB / 1.02 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.118, allocations: 182.8 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/1.118, allocations: 7.438 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/1.118, allocations: 4 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/1.118, allocations: 90.19 kB / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.118, allocations: 0 / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.118, allocations: 7.188 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.118, allocations: 4 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/1.118, allocations: 38.48 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/1.119, allocations: 465.6 kB / 1.021 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/1.119, allocations: 43.66 kB / 1.021 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/1.119, allocations: 16.78 kB / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/1.119, allocations: 0 / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.119, allocations: 38.5 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.119, allocations: 0 / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001958/1.12, allocations: 49.41 kB / 1.021 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.12, allocations: 81.11 kB / 1.021 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/1.12, allocations: 151.3 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/1.12, allocations: 29.64 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/1.12, allocations: 109.7 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/1.12, allocations: 7.719 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.12, allocations: 4.062 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.12, allocations: 326.3 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/1.12, allocations: 7.75 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/1.12, allocations: 21.66 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/1.12, allocations: 7.984 kB / 1.022 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.12, allocations: 3.938 kB / 1.022 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001471/1.121, allocations: 67.3 kB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.121, allocations: 4 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.121, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.121, allocations: 4 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.121, allocations: 8.734 kB / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.121, allocations: 0 / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/1.121, allocations: 8.156 kB / 1.022 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.121, allocations: 0 / 1.022 GB, free: 416 kB / 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 8.38e-05/1.121, allocations: 112.9 kB / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/1.121, allocations: 15.88 kB / 1.022 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/1.121, allocations: 16.45 kB / 1.022 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.121, allocations: 0 / 1.022 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.121, allocations: 0.5 kB / 1.022 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.121, allocations: 3.984 kB / 1.022 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/1.122, allocations: 476.2 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.122, allocations: 4 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/1.122, allocations: 8.062 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.122, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/1.122, allocations: 3.984 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.122, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.122, allocations: 7.938 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/1.122, allocations: 90.02 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/1.122, allocations: 93.03 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/1.122, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/1.122, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/1.122, allocations: 8.078 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/1.122, allocations: 3.953 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001463/1.122, allocations: 133.3 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.122, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002415/1.123, allocations: 8 kB / 1.023 GB, free: 15.38 MB / 0.6511 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.0004767/1.123, allocations: 0.6969 MB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001162/1.123, allocations: 17.62 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.123, allocations: 3.938 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/1.123, allocations: 15.28 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/1.123, allocations: 7.766 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/1.124, allocations: 151 kB / 1.024 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.124, allocations: 0.6965 MB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.768e-05/1.124, allocations: 12.55 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/1.124, allocations: 29.98 kB / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.124, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/1.149, allocations: 1.541 MB / 1.026 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/1.15, allocations: 162.4 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.522, allocations: 3.938 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB