Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.609/2.61, 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.001499/0.001499, allocations: 191.9 kB / 325.6 MB, free: 2.824 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.48/2.48, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001145/0.001145, allocations: 98.12 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006258/0.0006259, allocations: 14.72 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2149, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.4532, allocations: 132.3 MB / 1.028 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.4535, allocations: 75.97 kB / 1.028 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006257/0.4598, allocations: 1.398 MB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4599, allocations: 0 / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4599, allocations: 0 / 1.03 GB, free: 11.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004597/0.4604, allocations: 355.1 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4604, allocations: 8.031 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.4605, allocations: 11.91 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4606, allocations: 171 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4607, allocations: 3.984 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4607, allocations: 4 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4609, allocations: 41.69 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.4609, allocations: 4 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4609, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4609, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4611, allocations: 23.98 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.4615, allocations: 264.8 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.4616, allocations: 34.56 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.4627, allocations: 465.5 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.4627, allocations: 34.56 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.4627, allocations: 0 / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000371/0.4631, allocations: 77.61 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.4632, allocations: 55.41 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4633, allocations: 101 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.4633, allocations: 29.69 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.4634, allocations: 84.14 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4634, allocations: 7.844 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4634, allocations: 7.938 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4636, allocations: 314.8 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.4637, allocations: 16.02 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.4638, allocations: 12 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.4639, allocations: 11.98 kB / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4639, allocations: 0 / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.4641, allocations: 61.69 kB / 1.032 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4641, allocations: 4 kB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4641, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4642, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4643, allocations: 11.98 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4643, allocations: 0 / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.4644, allocations: 0 / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.4644, allocations: 7.953 kB / 1.032 GB, free: 9.496 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 (2): * Single equations (assignments): 2 * 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.841e-05/0.4645, allocations: 113.9 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.4645, allocations: 7.906 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4648, allocations: 65.2 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4648, allocations: 0 / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4648, allocations: 0 / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4648, allocations: 0 / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.4651, allocations: 165.6 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4651, allocations: 3.938 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.4652, allocations: 12.02 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4652, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.4652, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4652, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4652, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4655, allocations: 159.5 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.4655, allocations: 81.02 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.4656, allocations: 3.984 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.4657, allocations: 8 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4657, allocations: 0 / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.4657, allocations: 4 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.4658, allocations: 91.56 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4658, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003506/0.4662, allocations: 23.94 kB / 1.032 GB, free: 8.672 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 (2): * Single equations (assignments): 2 * 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.0002352/0.4664, allocations: 131.1 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4666, allocations: 27.98 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4667, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.4668, allocations: 12 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4669, allocations: 16.92 kB / 1.033 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.4674, allocations: 132.8 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4677, allocations: 0.677 MB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.4677, allocations: 7.938 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.4678, allocations: 11.42 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.4678, allocations: 0 / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of Templates: time 0.003541/0.4713, allocations: 0.591 MB / 1.034 GB, free: 7.012 MB / 0.6823 GB