Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 253.2 MB / 260.6 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 179.6 kB / 319.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 81.03 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.869e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 106.2 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.066, allocations: 131.9 MB / 1.017 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.067, allocations: 71.77 kB / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004857/1.072, allocations: 1.148 MB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/1.072, allocations: 0 / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.072, allocations: 4 kB / 1.019 GB, free: 4.328 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.0005066/1.072, allocations: 349.4 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.072, allocations: 16.02 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/1.074, allocations: 187.1 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/1.074, allocations: 171 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1.074, allocations: 0 / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/1.074, allocations: 4 kB / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/1.074, allocations: 115.9 kB / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/1.075, allocations: 106.1 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.075, allocations: 0 / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/1.075, allocations: 0 / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.075, allocations: 4 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/1.076, allocations: 445.8 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/1.077, allocations: 157 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.077, allocations: 48.17 kB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/1.077, allocations: 0 / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.077, allocations: 39.3 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/1.077, allocations: 0 / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003715/1.077, allocations: 113 kB / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.078, allocations: 51.41 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/1.078, allocations: 96.38 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/1.078, allocations: 25.7 kB / 1.02 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/1.078, allocations: 91.53 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/1.078, allocations: 7.906 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/1.078, allocations: 11.88 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.078, allocations: 314.2 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.078, allocations: 41.53 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/1.078, allocations: 43.16 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/1.078, allocations: 31.41 kB / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.078, allocations: 0 / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002889/1.079, allocations: 107.4 kB / 1.021 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.079, allocations: 7.938 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.079, allocations: 2.188 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.079, allocations: 8 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.079, allocations: 47.27 kB / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.079, allocations: 0 / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/1.08, allocations: 43.89 kB / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.08, allocations: 0 / 1.021 GB, free: 1.727 MB / 0.6355 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 0.0001037/1.08, allocations: 105 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/1.08, allocations: 0 / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/1.08, allocations: 19.95 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.08, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.08, allocations: 3.953 kB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.08, allocations: 4 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/1.08, allocations: 181.1 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.08, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/1.081, allocations: 43.75 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.081, allocations: 0 / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/1.081, allocations: 4 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.081, allocations: 0.625 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/1.081, allocations: 8.672 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/1.081, allocations: 208.8 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/1.081, allocations: 77.11 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/1.081, allocations: 0 / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/1.082, allocations: 43.64 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/1.082, allocations: 0 / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/1.082, allocations: 4.859 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.342e-05/1.082, allocations: 87.09 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.435e-06/1.082, allocations: 0 / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003342/1.082, allocations: 19.89 kB / 1.022 GB, free: 0.8984 MB / 0.6355 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.0001338/1.082, allocations: 93.12 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002929/1.083, allocations: 92.86 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.083, allocations: 4 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.083, allocations: 45.91 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/1.083, allocations: 7.938 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/1.084, allocations: 177.8 kB / 1.022 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/1.084, allocations: 0.6887 MB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001556/1.085, allocations: 19.98 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/1.085, allocations: 15.42 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of SimCode: time 4.088e-06/1.085, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.003605/1.088, allocations: 0.7119 MB / 1.024 GB, free: 15.06 MB / 0.6511 GB