Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.3 MB / 303.2 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 190 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009266, allocations: 94.91 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004556, allocations: 12.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2836, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001923/0.2856, allocations: 1.172 MB / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.2865, allocations: 0.564 MB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2866, allocations: 0 / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2866, allocations: 4 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.2867, allocations: 0 / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.2869, allocations: 39.83 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.287, allocations: 15.98 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.2871, allocations: 11.98 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.2872, allocations: 11.92 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.2873, allocations: 15.92 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2873, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.2874, allocations: 47.95 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.2874, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.2874, allocations: 29.7 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.2875, allocations: 51.81 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2875, allocations: 3.938 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2875, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2876, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB 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.0003826/0.2879, allocations: 347.5 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.288, allocations: 12.02 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.288, allocations: 11.91 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.2881, allocations: 167 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.2882, allocations: 4 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2882, allocations: 0 / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.2883, allocations: 45.67 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2884, allocations: 0 / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2884, allocations: 4 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2884, allocations: 0 / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.2885, allocations: 27.98 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2888, allocations: 260.9 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.2889, allocations: 30.56 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.2896, allocations: 0.4936 MB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2897, allocations: 30.56 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2897, allocations: 4 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002608/0.2899, allocations: 69.61 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.29, allocations: 55.53 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.2901, allocations: 113.8 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2901, allocations: 25.7 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.2901, allocations: 88.05 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.2901, allocations: 4 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.2902, allocations: 0 / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.2902, allocations: 322.8 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.2903, allocations: 11.94 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.2903, allocations: 15.98 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.2904, allocations: 12 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2904, allocations: 0 / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.884e-05/0.2905, allocations: 61.53 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2905, allocations: 4 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2905, allocations: 8.078 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2905, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.2906, allocations: 8 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2906, allocations: 0 / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.2907, allocations: 4 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2907, allocations: 0 / 0.9835 GB, free: 23.24 MB / 0.6198 GB 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 () * Number of clocked 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 5.24e-05/0.2907, allocations: 117.8 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.2908, allocations: 4 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.2909, allocations: 73.14 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2909, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2909, allocations: 3.938 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.291, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2911, allocations: 165.5 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2911, allocations: 0 / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2912, allocations: 7.984 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2912, allocations: 4.031 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2912, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2912, allocations: 4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2912, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2913, allocations: 155.5 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.2914, allocations: 77.11 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2914, allocations: 4.031 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.2914, allocations: 4 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.2915, allocations: 3.984 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.2915, allocations: 4 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.2915, allocations: 87.27 kB / 0.9842 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.302e-06/0.2915, allocations: 0 / 0.9842 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002133/0.2918, allocations: 15.94 kB / 0.9842 GB, free: 22.42 MB / 0.6198 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 (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.0001829/0.2919, allocations: 119.2 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.2921, allocations: 31.98 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2921, allocations: 0 / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.2921, allocations: 15.98 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.2923, allocations: 9.156 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2926, allocations: 140.6 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2927, allocations: 0.6809 MB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.2928, allocations: 8 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.2928, allocations: 7.438 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2928, allocations: 0 / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.0026/0.2954, allocations: 0.6261 MB / 0.9858 GB, free: 20.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)