Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001019/0.00102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001748/0.001748, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.517/1.517, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5624/0.5624, allocations: 95.47 MB / 364.9 MB, free: 10.06 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 68.38 kB / 444.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3782, allocations: 69.07 MB / 0.5019 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002371/0.3806, allocations: 1.794 MB / 0.5036 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.3815, allocations: 0.8426 MB / 0.5044 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.3816, allocations: 0 / 0.5044 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.3816, allocations: 7.922 kB / 0.5045 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.3817, allocations: 15.86 kB / 0.5045 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.3822, allocations: 202.2 kB / 0.5047 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3824, allocations: 119.7 kB / 0.5048 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3825, allocations: 55.19 kB / 0.5048 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.3826, allocations: 55.83 kB / 0.5049 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.3827, allocations: 47.78 kB / 0.5049 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3827, allocations: 12 kB / 0.5049 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3828, allocations: 115.9 kB / 0.5051 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.3829, allocations: 27.91 kB / 0.5051 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.3829, allocations: 59.66 kB / 0.5051 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.3831, allocations: 171.6 kB / 0.5053 GB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3831, allocations: 7.938 kB / 0.5053 GB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3831, allocations: 0 / 0.5053 GB, free: 14.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.3831, allocations: 0 / 0.5053 GB, free: 14.3 MB / 382.1 MB 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.0005029/0.3836, allocations: 446.9 kB / 0.5057 GB, free: 13.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3837, allocations: 15.98 kB / 0.5057 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.3837, allocations: 12.75 kB / 0.5058 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.3838, allocations: 184.2 kB / 0.5059 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.3839, allocations: 63.34 kB / 0.506 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.384, allocations: 12 kB / 0.506 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3842, allocations: 112.1 kB / 0.5061 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3842, allocations: 3.984 kB / 0.5061 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3843, allocations: 8 kB / 0.5061 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3843, allocations: 3.938 kB / 0.5061 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3844, allocations: 63.88 kB / 0.5062 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.3851, allocations: 404.4 kB / 0.5066 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3852, allocations: 70.56 kB / 0.5066 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.3853, allocations: 40.89 kB / 0.5067 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/0.3859, allocations: 1.267 MB / 0.5079 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.386, allocations: 42.5 kB / 0.508 GB, free: 11.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.756e-06/0.386, allocations: 0 / 0.508 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003682/0.3864, allocations: 125.6 kB / 0.5081 GB, free: 10.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.3864, allocations: 51.41 kB / 0.5081 GB, free: 10.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.3865, allocations: 137.1 kB / 0.5083 GB, free: 10.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3865, allocations: 25.7 kB / 0.5083 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.3866, allocations: 120.2 kB / 0.5084 GB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3866, allocations: 19.64 kB / 0.5084 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.3866, allocations: 25.72 kB / 0.5084 GB, free: 10.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.3867, allocations: 322.8 kB / 0.5087 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.3868, allocations: 19.98 kB / 0.5088 GB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.3869, allocations: 54.53 kB / 0.5088 GB, free: 10.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3871, allocations: 82.48 kB / 0.5089 GB, free: 10.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3871, allocations: 0 / 0.5089 GB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001881/0.3873, allocations: 113.8 kB / 0.509 GB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3873, allocations: 4 kB / 0.509 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3873, allocations: 4.062 kB / 0.509 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3873, allocations: 0 / 0.509 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3874, allocations: 27.92 kB / 0.509 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3875, allocations: 0 / 0.509 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.3875, allocations: 11.98 kB / 0.5091 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3875, allocations: 4 kB / 0.5091 GB, free: 9.91 MB / 382.1 MB 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 6.862e-05/0.3876, allocations: 113.8 kB / 0.5092 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3877, allocations: 11.84 kB / 0.5092 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3879, allocations: 110.4 kB / 0.5093 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3879, allocations: 0 / 0.5093 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3879, allocations: 3.938 kB / 0.5093 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3879, allocations: 7.984 kB / 0.5093 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3881, allocations: 217.4 kB / 0.5095 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3881, allocations: 0 / 0.5095 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.3882, allocations: 15.98 kB / 0.5095 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3882, allocations: 0 / 0.5095 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3882, allocations: 4 kB / 0.5095 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3882, allocations: 4 kB / 0.5095 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3882, allocations: 0 / 0.5095 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3884, allocations: 195.4 kB / 0.5097 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.3885, allocations: 84.95 kB / 0.5098 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3885, allocations: 4 kB / 0.5098 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3887, allocations: 20.11 kB / 0.5098 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3887, allocations: 7.922 kB / 0.5098 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3887, allocations: 11.98 kB / 0.5098 GB, free: 9.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.3888, allocations: 103.3 kB / 0.5099 GB, free: 8.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3888, allocations: 3.938 kB / 0.5099 GB, free: 8.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3891, allocations: 28 kB / 0.51 GB, free: 8.883 MB / 382.1 MB 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 0.000146/0.3892, allocations: 115.2 kB / 0.5101 GB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3894, allocations: 75.89 kB / 0.5101 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3894, allocations: 0 / 0.5101 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.3895, allocations: 31.98 kB / 0.5102 GB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3898, allocations: 11.94 kB / 0.5102 GB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.3901, allocations: 243.5 kB / 0.5104 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.3903, allocations: 0.704 MB / 0.5111 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.3904, allocations: 8 kB / 0.5111 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3904, allocations: 19.42 kB / 0.5111 GB, free: 7.621 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3904, allocations: 0 / 0.5111 GB, free: 7.621 MB / 382.1 MB Notification: Performance of Templates: time 0.003821/0.3942, allocations: 1.347 MB / 0.5124 GB, free: 6.289 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)