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.188/2.188, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 178.4 kB / 325.6 MB, free: 2.855 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.502/2.502, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.00166/0.001661, allocations: 94.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.4347, allocations: 131.7 MB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4351, allocations: 67.97 kB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005433/0.4405, allocations: 1.157 MB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4406, allocations: 0 / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.4406, allocations: 0 / 1.029 GB, free: 12.35 MB / 0.6823 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.0005592/0.4411, allocations: 360.6 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4412, allocations: 8.031 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.4427, allocations: 195.6 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4429, allocations: 171 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.4429, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.443, allocations: 4 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.444, allocations: 217.4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4441, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.4441, allocations: 3.984 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.4441, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.4458, allocations: 315.6 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.4474, allocations: 457.3 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.4496, allocations: 338.1 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.4497, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.4497, allocations: 38.58 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 3.586e-06/0.4497, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.00224/0.452, allocations: 369.3 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4521, allocations: 55.41 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4522, allocations: 113.1 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.4523, allocations: 25.7 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.4524, allocations: 92.12 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.4524, allocations: 11.75 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.4524, allocations: 3.938 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4526, allocations: 318.8 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.4533, allocations: 111.9 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.454, allocations: 119.9 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/0.4547, allocations: 99.89 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4547, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001486/0.4562, allocations: 253.7 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4563, allocations: 8 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4563, allocations: 3.984 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4563, allocations: 3.953 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.4568, allocations: 43.95 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4568, allocations: 3.984 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.4572, allocations: 39.95 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4572, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 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 () * Number of clocked 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.0001445/0.4574, allocations: 113.8 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.4575, allocations: 15.91 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.4575, allocations: 7.891 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4576, allocations: 3.953 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4576, allocations: 0 / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4576, allocations: 4 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.4579, allocations: 205.7 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4579, allocations: 4 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.4584, allocations: 39.95 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4584, allocations: 0 / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.4584, allocations: 7.984 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.4585, allocations: 3.953 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4585, allocations: 0 / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.46, allocations: 351.2 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.4601, allocations: 81.11 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.4602, allocations: 4 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.4606, allocations: 35.95 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.4607, allocations: 11.94 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4607, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.384e-05/0.4608, allocations: 95.58 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4608, allocations: 7.938 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003198/0.4611, allocations: 16 kB / 1.033 GB, free: 7.34 MB / 0.6823 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 () * Number of clocked 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.0001491/0.4613, allocations: 95.25 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.4628, allocations: 235.7 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4629, allocations: 0 / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.4636, allocations: 115.9 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.4639, allocations: 9.266 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.4655, allocations: 296.4 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4658, allocations: 0.6887 MB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.466, allocations: 19.98 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.4661, allocations: 15.42 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.4661, allocations: 0 / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.003956/0.4701, allocations: 0.8073 MB / 1.035 GB, free: 5.016 MB / 0.6823 GB