Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.199/2.199, allocations: 253.2 MB / 260.6 MB, free: 7.387 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.001472/0.001472, allocations: 180.8 kB / 319.9 MB, free: 3.02 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.131/2.131, allocations: 205.5 MB / 0.5708 GB, free: 15.24 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.001063/0.001063, allocations: 82.75 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.049e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8971/1.105, allocations: 133.5 MB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.106, allocations: 77.08 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02536/1.131, allocations: 5.024 MB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.131, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.131, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006727/1.132, allocations: 405.2 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.132, allocations: 12.02 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.133, allocations: 119.6 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/1.133, allocations: 184.3 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/1.133, allocations: 63.39 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/1.133, allocations: 4 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002559/1.134, allocations: 74.94 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/1.134, allocations: 107.6 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.134, allocations: 3.938 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/1.134, allocations: 3.953 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.134, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/1.136, allocations: 485.4 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/1.137, allocations: 166.2 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/1.137, allocations: 40.42 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/1.137, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.137, allocations: 34.56 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/1.137, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003871/1.138, allocations: 100.4 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.138, allocations: 55.41 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/1.138, allocations: 121.3 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/1.138, allocations: 29.7 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.138, allocations: 106.5 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.138, allocations: 27.64 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/1.138, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.138, allocations: 320.4 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/1.138, allocations: 31.73 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/1.138, allocations: 52.45 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/1.139, allocations: 29.8 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.139, allocations: 4 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003265/1.139, allocations: 116.5 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.139, allocations: 4 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.139, allocations: 0 / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.139, allocations: 4 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/1.14, allocations: 43.94 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.14, allocations: 8 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/1.14, allocations: 35.47 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.14, allocations: 4 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001361/1.14, allocations: 112.9 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/1.14, allocations: 11.89 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/1.141, allocations: 122.7 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/1.141, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.141, allocations: 0 / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.141, allocations: 0 / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/1.141, allocations: 223.7 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.141, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/1.141, allocations: 47.7 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.141, allocations: 3.938 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/1.141, allocations: 3.984 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.142, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.142, allocations: 7.938 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/1.142, allocations: 197.2 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/1.142, allocations: 85.02 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/1.142, allocations: 4 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/1.143, allocations: 39.95 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/1.143, allocations: 7.734 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/1.143, allocations: 7.984 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.779e-05/1.143, allocations: 102.4 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.143, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003754/1.143, allocations: 19.91 kB / 1.028 GB, free: 11.93 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 (6): * Single equations (assignments): 6 * 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.0001604/1.143, allocations: 101.1 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002777/1.144, allocations: 80.67 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.144, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/1.144, allocations: 37.69 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/1.144, allocations: 21.31 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/1.145, allocations: 132.8 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.145, allocations: 0.704 MB / 1.029 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001862/1.145, allocations: 20.17 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/1.145, allocations: 7.438 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/1.145, allocations: 4 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of Templates: time 0.00536/1.151, allocations: 1.253 MB / 1.03 GB, free: 9.602 MB / 0.6511 GB