Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.526/0.526, allocations: 94.77 MB / 102.2 MB, free: 10.16 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.001154/0.001154, allocations: 173.1 kB / 125.6 MB, free: 11.88 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.58/1.58, allocations: 170.6 MB / 319.4 MB, free: 9.281 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.001635/0.001635, allocations: 107.9 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.847e-05, allocations: 7.984 kB / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 61.52 MB / 0.4987 GB, free: 4.148 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.58, allocations: 94.25 MB / 0.5907 GB, free: 7.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.5803, allocations: 72.91 kB / 0.5908 GB, free: 7.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005741/0.586, allocations: 1.935 MB / 0.5927 GB, free: 5.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.586, allocations: 1.594 kB / 0.5927 GB, free: 5.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.5861, allocations: 4 kB / 0.5927 GB, free: 5.773 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003515/0.5864, allocations: 354.4 kB / 0.593 GB, free: 5.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5865, allocations: 8.562 kB / 0.593 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.5865, allocations: 7.594 kB / 0.593 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.5866, allocations: 172.2 kB / 0.5932 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.5867, allocations: 4.391 kB / 0.5932 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.5867, allocations: 3.047 kB / 0.5932 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.105e-05/0.5868, allocations: 16.75 kB / 0.5932 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/0.5868, allocations: 34.81 kB / 0.5932 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5869, allocations: 0.5 kB / 0.5932 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5869, allocations: 0 / 0.5932 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5869, allocations: 0.7812 kB / 0.5932 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.5872, allocations: 233.3 kB / 0.5935 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.5873, allocations: 27.22 kB / 0.5935 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.5873, allocations: 19.09 kB / 0.5935 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009465/0.5883, allocations: 1.353 MB / 0.5948 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5883, allocations: 35.52 kB / 0.5949 GB, free: 3.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5883, allocations: 0 / 0.5949 GB, free: 3.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004232/0.5887, allocations: 74.8 kB / 0.5949 GB, free: 3.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.5888, allocations: 55.41 kB / 0.595 GB, free: 2.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.5889, allocations: 101.5 kB / 0.5951 GB, free: 2.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5889, allocations: 27.08 kB / 0.5951 GB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.589, allocations: 87.95 kB / 0.5952 GB, free: 2.719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.589, allocations: 3.906 kB / 0.5952 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.589, allocations: 4 kB / 0.5952 GB, free: 2.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5891, allocations: 317.4 kB / 0.5955 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.5891, allocations: 8.594 kB / 0.5955 GB, free: 2.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.5891, allocations: 1.062 kB / 0.5955 GB, free: 2.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.5894, allocations: 39.91 kB / 0.5955 GB, free: 2.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5894, allocations: 2.75 kB / 0.5956 GB, free: 2.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002731/0.5897, allocations: 75.64 kB / 0.5956 GB, free: 2.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5897, allocations: 11.94 kB / 0.5956 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5897, allocations: 0 / 0.5956 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5897, allocations: 4.125 kB / 0.5956 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.5898, allocations: 8 kB / 0.5956 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5898, allocations: 0.5469 kB / 0.5956 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.5899, allocations: 0 / 0.5956 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.5899, allocations: 5.062 kB / 0.5957 GB, free: 2.242 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.247e-05/0.5899, allocations: 105 kB / 0.5958 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.59, allocations: 3.906 kB / 0.5958 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.5903, allocations: 97.47 kB / 0.5958 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5903, allocations: 0 / 0.5958 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5903, allocations: 3.75 kB / 0.5959 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5903, allocations: 0 / 0.5959 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.5905, allocations: 142.2 kB / 0.596 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5905, allocations: 1.625 kB / 0.596 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.5905, allocations: 4 kB / 0.596 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5905, allocations: 0.6562 kB / 0.596 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5906, allocations: 4 kB / 0.596 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.5906, allocations: 0 / 0.596 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5906, allocations: 7.984 kB / 0.596 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.5909, allocations: 167.5 kB / 0.5962 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.591, allocations: 89 kB / 0.5962 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.591, allocations: 2.188 kB / 0.5963 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.5911, allocations: 4 kB / 0.5963 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.5911, allocations: 7.891 kB / 0.5963 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.5911, allocations: 9.281 kB / 0.5963 GB, free: 1.531 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.5912, allocations: 87.27 kB / 0.5964 GB, free: 1.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5912, allocations: 0 / 0.5964 GB, free: 1.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.5914, allocations: 27.94 kB / 0.5964 GB, free: 1.418 MB / 410.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 (2): * Single equations (assignments): 2 * 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.0001854/0.5916, allocations: 119.2 kB / 0.5965 GB, free: 1.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.5917, allocations: 16 kB / 0.5965 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5917, allocations: 0 / 0.5965 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.5917, allocations: 4 kB / 0.5965 GB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5919, allocations: 9.141 kB / 0.5965 GB, free: 1.266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.5921, allocations: 72.47 kB / 0.5966 GB, free: 1.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.5924, allocations: 0.6846 MB / 0.5973 GB, free: 480 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.5924, allocations: 1.688 kB / 0.5973 GB, free: 480 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.5924, allocations: 11.44 kB / 0.5973 GB, free: 472 kB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5924, allocations: 0 / 0.5973 GB, free: 472 kB / 410.7 MB Notification: Performance of Templates: time 0.002369/0.5948, allocations: 0.5649 MB / 0.5978 GB, free: 15.92 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)