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.304/2.304, allocations: 252.6 MB / 265.2 MB, free: 5.691 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.001417/0.001417, allocations: 185.5 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001533/0.001533, allocations: 94.16 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.28e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1889, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8654/1.054, allocations: 131.6 MB / 1.023 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.055, allocations: 67.91 kB / 1.023 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005124/1.06, allocations: 1.154 MB / 1.025 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/1.06, allocations: 0 / 1.025 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.06, allocations: 0 / 1.025 GB, free: 1.801 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.0004888/1.06, allocations: 354.5 kB / 1.025 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.06, allocations: 8.031 kB / 1.025 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/1.062, allocations: 187.6 kB / 1.025 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.062, allocations: 167 kB / 1.025 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.062, allocations: 10.75 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/1.062, allocations: 4 kB / 1.025 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/1.063, allocations: 114.2 kB / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.063, allocations: 0 / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/1.063, allocations: 3.625 kB / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.063, allocations: 0 / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/1.063, allocations: 115.5 kB / 1.026 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/1.065, allocations: 468.5 kB / 1.026 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/1.065, allocations: 161.6 kB / 1.026 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/1.065, allocations: 47.55 kB / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/1.065, allocations: 7.688 kB / 1.026 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.065, allocations: 38.52 kB / 1.026 GB, free: 136 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/1.065, allocations: 4 kB / 1.026 GB, free: 132 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000397/1.066, allocations: 109.9 kB / 1.026 GB, free: 36 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.066, allocations: 51.41 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.066, allocations: 115.7 kB / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/1.066, allocations: 25.7 kB / 1.027 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/1.066, allocations: 91.44 kB / 1.027 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/1.066, allocations: 7.906 kB / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/1.066, allocations: 0 / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.066, allocations: 318.2 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.067, allocations: 42.28 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/1.067, allocations: 44.33 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/1.067, allocations: 33.66 kB / 1.027 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/1.067, allocations: 0 / 1.027 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003286/1.067, allocations: 114.4 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.067, allocations: 7.938 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.067, allocations: 3.953 kB / 1.027 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.067, allocations: 4 kB / 1.027 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.068, allocations: 43.94 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.068, allocations: 0 / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/1.068, allocations: 45.45 kB / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/1.068, allocations: 4 kB / 1.027 GB, free: 15.13 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.079e-05/1.068, allocations: 105 kB / 1.027 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/1.068, allocations: 0 / 1.027 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/1.068, allocations: 15.7 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.068, allocations: 3.953 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.068, allocations: 0 / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.068, allocations: 0 / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/1.069, allocations: 207.4 kB / 1.028 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.069, allocations: 0 / 1.028 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/1.069, allocations: 43.95 kB / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.069, allocations: 0 / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.069, allocations: 7.922 kB / 1.028 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.069, allocations: 3.953 kB / 1.028 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.069, allocations: 7.938 kB / 1.028 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/1.07, allocations: 208 kB / 1.028 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/1.07, allocations: 81.02 kB / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/1.07, allocations: 0 / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/1.07, allocations: 40.62 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/1.07, allocations: 3.953 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.07, allocations: 4.375 kB / 1.028 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.51e-05/1.07, allocations: 102.4 kB / 1.028 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.07, allocations: 0 / 1.028 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003003/1.071, allocations: 12 kB / 1.028 GB, free: 14.27 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.0002022/1.071, allocations: 97.12 kB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003241/1.071, allocations: 92 kB / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.071, allocations: 0 / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.071, allocations: 50.45 kB / 1.028 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/1.072, allocations: 11.94 kB / 1.028 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/1.073, allocations: 177.7 kB / 1.028 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/1.073, allocations: 0.6926 MB / 1.029 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001596/1.073, allocations: 19.98 kB / 1.029 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/1.073, allocations: 11.44 kB / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/1.073, allocations: 0 / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.003839/1.077, allocations: 0.8145 MB / 1.03 GB, free: 12.32 MB / 0.6511 GB