Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothMin",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.396/2.396, allocations: 248.5 MB / 261.1 MB, free: 6.051 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.001409/0.001409, allocations: 182.1 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 0.571 GB, free: 11.72 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.00115/0.00115, allocations: 96.67 kB / 0.6754 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.775e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.872/1.089, allocations: 131.6 MB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/1.09, allocations: 75.86 kB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005254/1.095, allocations: 1.155 MB / 1.02 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.474e-06/1.095, allocations: 0 / 1.02 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.071e-05/1.095, allocations: 4 kB / 1.02 GB, free: 2.523 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004916/1.096, allocations: 350.1 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.096, allocations: 11.97 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/1.096, allocations: 34.56 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/1.097, allocations: 191.2 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.098, allocations: 167 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/1.098, allocations: 0 / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/1.098, allocations: 11.44 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/1.098, allocations: 112.1 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.098, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/1.098, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.098, allocations: 4 kB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/1.098, allocations: 117.8 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/1.1, allocations: 471.6 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/1.101, allocations: 159.3 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/1.101, allocations: 51.17 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/1.101, allocations: 3.953 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.101, allocations: 30.56 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/1.101, allocations: 0 / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004005/1.102, allocations: 122 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.102, allocations: 51.41 kB / 1.022 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/1.102, allocations: 107 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.102, allocations: 28.89 kB / 1.022 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/1.102, allocations: 91.56 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/1.102, allocations: 3.906 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/1.102, allocations: 3.875 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.102, allocations: 314.8 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/1.102, allocations: 41.16 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/1.103, allocations: 50.44 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/1.103, allocations: 35.66 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.103, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/1.103, allocations: 119.5 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.103, allocations: 11.3 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.103, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.103, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/1.104, allocations: 47.94 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.104, allocations: 3.938 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/1.104, allocations: 39.89 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/1.104, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.774e-05/1.104, allocations: 107.7 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/1.104, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/1.104, allocations: 19.03 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.104, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.104, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.104, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/1.105, allocations: 213.1 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.105, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/1.105, allocations: 43.95 kB / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.105, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.105, allocations: 7.938 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.105, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.105, allocations: 7.984 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/1.106, allocations: 205.4 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/1.106, allocations: 89.02 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/1.106, allocations: 3.984 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/1.106, allocations: 35.91 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/1.106, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.106, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.308e-05/1.106, allocations: 100.5 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.106, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005182/1.107, allocations: 15.75 kB / 1.024 GB, free: 14.94 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007338/1.108, allocations: 0.7303 MB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005008/1.108, allocations: 89.44 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.108, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.108, allocations: 45.72 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/1.109, allocations: 15.55 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/1.11, allocations: 219.2 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/1.11, allocations: 0.6957 MB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001571/1.11, allocations: 20 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.111, allocations: 15.36 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/1.111, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/1.135, allocations: 1.621 MB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/1.135, allocations: 150.2 kB / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.4, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.6511 GB