Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001389/0.00139, 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.001709/0.001709, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 66.28 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3616, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003245/0.3649, allocations: 1.822 MB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3664, allocations: 0.6583 MB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.3665, allocations: 3.938 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.949e-05/0.3666, allocations: 7.922 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3668, allocations: 15.86 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.3675, allocations: 155.3 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3677, allocations: 123.6 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.3679, allocations: 45.09 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3681, allocations: 59.83 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3682, allocations: 47.77 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3682, allocations: 8 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3684, allocations: 51.95 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.3684, allocations: 27.91 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.3685, allocations: 59.66 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.3688, allocations: 143.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3688, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3688, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3689, allocations: 4 kB / 1.071 GB, free: 7.523 MB / 0.8262 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.000783/0.3697, allocations: 435 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.3697, allocations: 8.031 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008786/0.3706, allocations: 112.7 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3708, allocations: 184 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.3709, allocations: 67.95 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.371, allocations: 4.375 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.3715, allocations: 179.5 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3716, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3716, allocations: 3.984 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3716, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.3722, allocations: 159.8 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3735, allocations: 493.6 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.3745, allocations: 214.3 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.3748, allocations: 80.91 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3748, allocations: 3.984 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3748, allocations: 34.56 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3748, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0009833/0.3758, allocations: 265.4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3759, allocations: 51.41 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.376, allocations: 140 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3761, allocations: 33.7 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3762, allocations: 112.1 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.3762, allocations: 23.66 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.3763, allocations: 21.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3764, allocations: 322.8 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3767, allocations: 71.92 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.377, allocations: 106.4 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.3775, allocations: 162.4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3775, allocations: 4 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006184/0.3782, allocations: 205.4 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3782, allocations: 4 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3782, allocations: 0 / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.3782, allocations: 7.938 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.3785, allocations: 32.27 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3785, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3787, allocations: 27.95 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3787, allocations: 8 kB / 1.074 GB, free: 3.77 MB / 0.8262 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 0.0001042/0.3789, allocations: 121.8 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.3789, allocations: 11.91 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.3796, allocations: 206.2 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3796, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3796, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3796, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3799, allocations: 238.1 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3799, allocations: 0 / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.3802, allocations: 35.95 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3802, allocations: 0 / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3802, allocations: 15.92 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3802, allocations: 3.938 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3802, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.3808, allocations: 283.3 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3809, allocations: 81.02 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3809, allocations: 7.938 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.3812, allocations: 31.95 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3813, allocations: 0 / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3813, allocations: 7.984 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.3814, allocations: 112.8 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3814, allocations: 0 / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000253/0.3816, allocations: 27.91 kB / 1.075 GB, free: 2.504 MB / 0.8262 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 0.0001648/0.3818, allocations: 99.25 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006221/0.3824, allocations: 171.8 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3825, allocations: 0 / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3828, allocations: 79.86 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.3831, allocations: 14.27 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.3837, allocations: 295.6 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.384, allocations: 0.7079 MB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.832e-05/0.3842, allocations: 15.98 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3842, allocations: 15.42 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3842, allocations: 4 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of Templates: time 0.004271/0.3885, allocations: 1.427 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)