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.264/2.264, allocations: 252.6 MB / 265.2 MB, free: 5.734 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.001406/0.001406, allocations: 187.8 kB / 324.5 MB, free: 14.39 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.054/2.054, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001138/0.001138, allocations: 82.22 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.564e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.055, allocations: 133.3 MB / 1.025 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.056, allocations: 76.14 kB / 1.025 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02681/1.083, allocations: 5.048 MB / 1.03 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.083, allocations: 3.938 kB / 1.03 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.083, allocations: 4 kB / 1.03 GB, free: 12.93 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.0006839/1.083, allocations: 402.2 kB / 1.03 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.084, allocations: 20.02 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.085, allocations: 118.6 kB / 1.031 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/1.085, allocations: 185.3 kB / 1.031 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.085, allocations: 62.91 kB / 1.031 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/1.085, allocations: 7.938 kB / 1.031 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/1.085, allocations: 117.7 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.085, allocations: 3.938 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/1.086, allocations: 3.938 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.086, allocations: 11.94 kB / 1.031 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/1.086, allocations: 71.31 kB / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/1.088, allocations: 0.4984 MB / 1.031 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.089, allocations: 173 kB / 1.032 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/1.089, allocations: 37.05 kB / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/1.089, allocations: 4 kB / 1.032 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.089, allocations: 30.56 kB / 1.032 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 3.055e-06/1.089, allocations: 0 / 1.032 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0004099/1.089, allocations: 109.4 kB / 1.032 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.089, allocations: 55.41 kB / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/1.09, allocations: 122.4 kB / 1.032 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/1.09, allocations: 29.7 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/1.09, allocations: 118.4 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/1.09, allocations: 19.3 kB / 1.032 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/1.09, allocations: 4 kB / 1.032 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.09, allocations: 314.2 kB / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/1.09, allocations: 37.8 kB / 1.033 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/1.09, allocations: 51.27 kB / 1.033 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.09, allocations: 38.17 kB / 1.033 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.09, allocations: 0 / 1.033 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003443/1.091, allocations: 117.5 kB / 1.033 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.091, allocations: 11.94 kB / 1.033 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.091, allocations: 0 / 1.033 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.091, allocations: 0 / 1.033 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/1.091, allocations: 52 kB / 1.033 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.091, allocations: 0 / 1.033 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/1.092, allocations: 39.27 kB / 1.033 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/1.092, allocations: 4 kB / 1.033 GB, free: 10.18 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.0001099/1.092, allocations: 111.8 kB / 1.033 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/1.092, allocations: 16.02 kB / 1.033 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/1.092, allocations: 122.3 kB / 1.033 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.092, allocations: 3.938 kB / 1.033 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.092, allocations: 0 / 1.033 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.092, allocations: 0 / 1.033 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/1.093, allocations: 253.2 kB / 1.033 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.093, allocations: 4 kB / 1.033 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/1.093, allocations: 39.95 kB / 1.033 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.093, allocations: 3.938 kB / 1.033 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.093, allocations: 7.75 kB / 1.033 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.093, allocations: 0 / 1.033 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.093, allocations: 0 / 1.033 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/1.094, allocations: 211 kB / 1.034 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/1.094, allocations: 85 kB / 1.034 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/1.094, allocations: 4 kB / 1.034 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/1.094, allocations: 43.95 kB / 1.034 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/1.094, allocations: 3.75 kB / 1.034 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/1.094, allocations: 7.984 kB / 1.034 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.201e-05/1.094, allocations: 109.7 kB / 1.034 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.094, allocations: 0 / 1.034 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003469/1.095, allocations: 27.84 kB / 1.034 GB, free: 9.156 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.0001582/1.095, allocations: 93.12 kB / 1.034 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003096/1.095, allocations: 87.55 kB / 1.034 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.095, allocations: 0 / 1.034 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/1.095, allocations: 42.17 kB / 1.034 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/1.096, allocations: 8.562 kB / 1.034 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/1.096, allocations: 138.9 kB / 1.034 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/1.097, allocations: 0.7121 MB / 1.035 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001676/1.097, allocations: 12.25 kB / 1.035 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/1.097, allocations: 15.42 kB / 1.035 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.097, allocations: 0 / 1.035 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of Templates: time 0.005263/1.102, allocations: 1.313 MB / 1.036 GB, free: 6.758 MB / 0.6511 GB