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.291/2.291, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001549/0.001548, allocations: 177.9 kB / 325.6 MB, free: 2.84 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.425/2.425, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001591/0.001591, allocations: 96.23 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006693/0.0006695, allocations: 14.34 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2204, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001712/0.2222, allocations: 1.175 MB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003555/0.2225, allocations: 133.6 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2226, allocations: 8 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.2226, allocations: 3.984 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.2227, allocations: 3.938 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.2229, allocations: 27.91 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.223, allocations: 19.98 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2231, allocations: 27.95 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.2232, allocations: 7.938 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.2233, allocations: 15.92 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2233, allocations: 0 / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.2234, allocations: 27.97 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2234, allocations: 7.938 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.2234, allocations: 29.7 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2236, allocations: 43.92 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2236, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2236, allocations: 3.984 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2236, allocations: 4 kB / 0.9004 GB, free: 63.93 MB / 0.6042 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.0004749/0.2241, allocations: 355.4 kB / 0.9007 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2241, allocations: 12.03 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.226, allocations: 243.6 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2261, allocations: 171 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2261, allocations: 0 / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.2262, allocations: 8 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.2271, allocations: 209.5 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2271, allocations: 0 / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.2272, allocations: 4 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2272, allocations: 0 / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2287, allocations: 319.6 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2301, allocations: 473 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.232, allocations: 334.2 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.2321, allocations: 7.938 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2321, allocations: 38.58 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.2322, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.002049/0.2342, allocations: 365.4 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2343, allocations: 51.41 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2344, allocations: 126 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2344, allocations: 25.7 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.2345, allocations: 84.14 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.2345, allocations: 15.81 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.2345, allocations: 0 / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.2346, allocations: 314.8 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.2352, allocations: 115.9 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.2359, allocations: 111.9 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.2365, allocations: 103.9 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2365, allocations: 0 / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001346/0.2379, allocations: 257.4 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2379, allocations: 4 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2379, allocations: 7.938 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.238, allocations: 0 / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.2384, allocations: 43.94 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.2384, allocations: 4 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.2388, allocations: 35.95 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2388, allocations: 4 kB / 0.904 GB, free: 59.95 MB / 0.6042 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.0001034/0.2389, allocations: 117.8 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.239, allocations: 7.906 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.239, allocations: 15.91 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2391, allocations: 3.953 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2391, allocations: 0 / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2391, allocations: 336 / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.2394, allocations: 213.5 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2394, allocations: 0 / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.2398, allocations: 47.94 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.2398, allocations: 384 / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2398, allocations: 3.984 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2398, allocations: 3.953 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2399, allocations: 3.938 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2413, allocations: 359.1 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.2413, allocations: 77.11 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2414, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.2417, allocations: 39.95 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.2418, allocations: 3.953 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2418, allocations: 7.984 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.2419, allocations: 95.27 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2419, allocations: 0 / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003294/0.2423, allocations: 12 kB / 0.905 GB, free: 58.86 MB / 0.6042 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.0001162/0.2424, allocations: 95.25 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.2437, allocations: 235.7 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2438, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.2444, allocations: 123.9 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2447, allocations: 7.938 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2461, allocations: 292.5 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.2463, allocations: 0.6887 MB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.2466, allocations: 19.98 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2467, allocations: 19.36 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.985e-06/0.2467, allocations: 0 / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.005146/0.2519, allocations: 0.8045 MB / 0.9072 GB, free: 56.54 MB / 0.6042 GB