Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 189.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 251.7 MB / 0.5089 GB, free: 3.32 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002511/0.3704, allocations: 1.828 MB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.3713, allocations: 0.7027 MB / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.3713, allocations: 7.938 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.3714, allocations: 7.922 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.3714, allocations: 11.86 kB / 0.7265 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.3719, allocations: 159.8 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.372, allocations: 115.7 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3721, allocations: 53.08 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3723, allocations: 55.83 kB / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.3723, allocations: 47.72 kB / 0.7269 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3724, allocations: 12 kB / 0.7269 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.3725, allocations: 51.95 kB / 0.727 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.3725, allocations: 27.91 kB / 0.727 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.3725, allocations: 59.66 kB / 0.727 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.3727, allocations: 145.6 kB / 0.7272 GB, free: 9.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3727, allocations: 0 / 0.7272 GB, free: 9.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3727, allocations: 4 kB / 0.7272 GB, free: 9.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.3727, allocations: 0 / 0.7272 GB, free: 9.816 MB / 0.545 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.0004829/0.3732, allocations: 438.9 kB / 0.7276 GB, free: 9.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.3733, allocations: 8.031 kB / 0.7276 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.374, allocations: 116.6 kB / 0.7277 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3741, allocations: 176.2 kB / 0.7279 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.3742, allocations: 63.95 kB / 0.7279 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3742, allocations: 8.375 kB / 0.728 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.3747, allocations: 173.5 kB / 0.7281 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.3747, allocations: 4 kB / 0.7281 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3747, allocations: 8 kB / 0.7281 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3747, allocations: 4 kB / 0.7281 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.3752, allocations: 151.8 kB / 0.7283 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.3762, allocations: 0.4898 MB / 0.7288 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.3771, allocations: 222.2 kB / 0.729 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.3773, allocations: 80.91 kB / 0.729 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3773, allocations: 4 kB / 0.7291 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3774, allocations: 38.5 kB / 0.7291 GB, free: 7.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3774, allocations: 0 / 0.7291 GB, free: 7.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0008629/0.3782, allocations: 265.5 kB / 0.7293 GB, free: 7.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.3783, allocations: 51.41 kB / 0.7294 GB, free: 7.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.3784, allocations: 140.2 kB / 0.7295 GB, free: 7.211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3784, allocations: 25.7 kB / 0.7296 GB, free: 7.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.3785, allocations: 112.2 kB / 0.7297 GB, free: 7.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3785, allocations: 23.66 kB / 0.7297 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3786, allocations: 25.7 kB / 0.7297 GB, free: 7.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.3787, allocations: 318.8 kB / 0.73 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.3789, allocations: 71.92 kB / 0.7301 GB, free: 6.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.3792, allocations: 102.4 kB / 0.7302 GB, free: 6.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.3797, allocations: 162.4 kB / 0.7303 GB, free: 6.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3797, allocations: 0 / 0.7303 GB, free: 6.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005696/0.3803, allocations: 201.4 kB / 0.7305 GB, free: 6.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3803, allocations: 8 kB / 0.7305 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3803, allocations: 0 / 0.7305 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3803, allocations: 3.938 kB / 0.7305 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.3806, allocations: 43.89 kB / 0.7306 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3806, allocations: 0 / 0.7306 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3807, allocations: 19.97 kB / 0.7306 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3808, allocations: 7.984 kB / 0.7306 GB, free: 6.059 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.3808, allocations: 121.8 kB / 0.7307 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.3809, allocations: 11.81 kB / 0.7307 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.3815, allocations: 206.4 kB / 0.7309 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3815, allocations: 4 kB / 0.7309 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3815, allocations: 4.062 kB / 0.7309 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3815, allocations: 0 / 0.7309 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.3818, allocations: 234.4 kB / 0.7312 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3818, allocations: 0 / 0.7312 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.382, allocations: 31.95 kB / 0.7312 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.382, allocations: 3.938 kB / 0.7312 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.382, allocations: 3.938 kB / 0.7312 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.382, allocations: 4 kB / 0.7312 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.382, allocations: 0 / 0.7312 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.3826, allocations: 283.3 kB / 0.7315 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3826, allocations: 96.94 kB / 0.7316 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3827, allocations: 7.875 kB / 0.7316 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.3829, allocations: 27.95 kB / 0.7316 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.383, allocations: 8 kB / 0.7316 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.383, allocations: 7.984 kB / 0.7316 GB, free: 4.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.3831, allocations: 107.2 kB / 0.7317 GB, free: 4.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3831, allocations: 0 / 0.7317 GB, free: 4.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002277/0.3833, allocations: 20 kB / 0.7317 GB, free: 4.801 MB / 0.545 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.422e-05/0.3834, allocations: 103.2 kB / 0.7318 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.384, allocations: 159.8 kB / 0.732 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.384, allocations: 4.125 kB / 0.732 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.3842, allocations: 79.92 kB / 0.7321 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3845, allocations: 18.22 kB / 0.7321 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.3851, allocations: 291.4 kB / 0.7324 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3854, allocations: 0.704 MB / 0.733 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.3855, allocations: 12 kB / 0.7331 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3855, allocations: 15.42 kB / 0.7331 GB, free: 3.371 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3855, allocations: 4 kB / 0.7331 GB, free: 3.367 MB / 0.545 GB Notification: Performance of Templates: time 0.002998/0.3885, allocations: 1.419 MB / 0.7345 GB, free: 1.961 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)