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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5412/0.5412, allocations: 94.78 MB / 102.3 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00102/0.00102, allocations: 175.6 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.407/1.407, allocations: 170.6 MB / 319.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001692/0.001692, allocations: 104.1 kB / 381.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.996e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5095/0.6824, allocations: 95.31 MB / 0.5917 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.6828, allocations: 72.84 kB / 0.5918 GB, free: 6.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01803/0.7009, allocations: 5.584 MB / 0.5973 GB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7009, allocations: 0 / 0.5973 GB, free: 1.098 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.701, allocations: 2.281 kB / 0.5973 GB, free: 1.098 MB / 410.7 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.0007373/0.7017, allocations: 434.3 kB / 0.5977 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/0.7018, allocations: 12.03 kB / 0.5977 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.7019, allocations: 18.12 kB / 0.5977 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.7021, allocations: 179.5 kB / 0.5979 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.7022, allocations: 61.64 kB / 0.5979 GB, free: 328 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.7023, allocations: 4.656 kB / 0.5979 GB, free: 324 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001368/0.7024, allocations: 47.98 kB / 0.598 GB, free: 276 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.7026, allocations: 81.61 kB / 0.5981 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.7027, allocations: 5.406 kB / 0.5981 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.7027, allocations: 0 / 0.5981 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.7027, allocations: 4 kB / 0.5981 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.7036, allocations: 383 kB / 0.5984 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.7038, allocations: 64.53 kB / 0.5985 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.7039, allocations: 16.98 kB / 0.5985 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.705, allocations: 1.275 MB / 0.5998 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.705, allocations: 34.56 kB / 0.5998 GB, free: 14.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.705, allocations: 0 / 0.5998 GB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004129/0.7054, allocations: 85.73 kB / 0.5999 GB, free: 13.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.7055, allocations: 55.34 kB / 0.5999 GB, free: 13.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.7057, allocations: 132.1 kB / 0.6 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.7057, allocations: 29.7 kB / 0.6001 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.7058, allocations: 115.9 kB / 0.6002 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.7058, allocations: 7.812 kB / 0.6002 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.7058, allocations: 0 / 0.6002 GB, free: 13.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.706, allocations: 326.8 kB / 0.6005 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.706, allocations: 16 kB / 0.6005 GB, free: 13.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.7061, allocations: 34.58 kB / 0.6006 GB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.7063, allocations: 39.97 kB / 0.6006 GB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7063, allocations: 0 / 0.6006 GB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002402/0.7065, allocations: 105 kB / 0.6007 GB, free: 13.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.7066, allocations: 4 kB / 0.6007 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7066, allocations: 11.41 kB / 0.6007 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.7066, allocations: 0 / 0.6007 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.7067, allocations: 21.2 kB / 0.6007 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7068, allocations: 4.062 kB / 0.6007 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.7068, allocations: 11.94 kB / 0.6007 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.7069, allocations: 0 / 0.6007 GB, free: 13.03 MB / 426.7 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 () * 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.0001017/0.707, allocations: 112.9 kB / 0.6009 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.707, allocations: 7.906 kB / 0.6009 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.7073, allocations: 102.3 kB / 0.601 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7073, allocations: 0 / 0.601 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7073, allocations: 0 / 0.601 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.7073, allocations: 4 kB / 0.601 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.7076, allocations: 190 kB / 0.6011 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7076, allocations: 0 / 0.6011 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.7077, allocations: 15.98 kB / 0.6012 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7077, allocations: 9.438 kB / 0.6012 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.7077, allocations: 0 / 0.6012 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7077, allocations: 0 / 0.6012 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.7077, allocations: 3.984 kB / 0.6012 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.7081, allocations: 191.7 kB / 0.6014 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.7082, allocations: 101 kB / 0.6014 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.7082, allocations: 0 / 0.6014 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.7084, allocations: 15.98 kB / 0.6015 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.7084, allocations: 7.984 kB / 0.6015 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.7085, allocations: 7.938 kB / 0.6015 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.061e-05/0.7086, allocations: 109.1 kB / 0.6016 GB, free: 12.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7086, allocations: 0 / 0.6016 GB, free: 12.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.7089, allocations: 31.94 kB / 0.6016 GB, free: 12.06 MB / 426.7 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 () * 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.0002224/0.7091, allocations: 120 kB / 0.6017 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.7093, allocations: 43.98 kB / 0.6018 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7093, allocations: 0 / 0.6018 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.7093, allocations: 31.69 kB / 0.6018 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.7096, allocations: 12.08 kB / 0.6018 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.7099, allocations: 125.2 kB / 0.6019 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.7103, allocations: 0.7041 MB / 0.6026 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.775e-05/0.7104, allocations: 12.19 kB / 0.6026 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.7104, allocations: 11.42 kB / 0.6026 GB, free: 10.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7104, allocations: 0 / 0.6026 GB, free: 10.96 MB / 426.7 MB Notification: Performance of Templates: time 0.0041/0.7145, allocations: 1.215 MB / 0.6038 GB, free: 9.801 MB / 426.7 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)