Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002013/0.002013, allocations: 178.9 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 87.52 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 16.23 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001731/0.2618, allocations: 1.196 MB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.2628, allocations: 0.5938 MB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.2628, allocations: 7.938 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2629, allocations: 0 / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.2629, allocations: 11.92 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2632, allocations: 31.97 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.2633, allocations: 27.8 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2634, allocations: 8 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.2635, allocations: 11.97 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.2635, allocations: 11.94 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2636, allocations: 4 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.2637, allocations: 55.95 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.2637, allocations: 3.938 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.2637, allocations: 45.55 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2639, allocations: 39.95 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2639, allocations: 0 / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2639, allocations: 0 / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.2639, allocations: 0 / 0.9034 GB, free: 61.41 MB / 0.6042 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.0003981/0.2643, allocations: 355.6 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2643, allocations: 8.031 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.2644, allocations: 0.9375 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.2645, allocations: 184.2 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2645, allocations: 384 / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2645, allocations: 4.375 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2647, allocations: 57.92 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2647, allocations: 0 / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2647, allocations: 0 / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2647, allocations: 4 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.2648, allocations: 23.98 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.2651, allocations: 248.9 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.2652, allocations: 38.5 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.2652, allocations: 24.91 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/0.2659, allocations: 493.4 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.266, allocations: 30.56 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.266, allocations: 0 / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002327/0.2662, allocations: 73.67 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2662, allocations: 51.41 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.2663, allocations: 109.8 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.2663, allocations: 25.7 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.2664, allocations: 88.12 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2664, allocations: 7.844 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.2664, allocations: 3.938 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.2665, allocations: 323 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.2665, allocations: 11.98 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.2665, allocations: 12 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.2666, allocations: 32.78 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2666, allocations: 4.062 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.2668, allocations: 57.59 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2668, allocations: 4 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2668, allocations: 0 / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2668, allocations: 3.984 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.2669, allocations: 8 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2669, allocations: 3.938 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.2669, allocations: 8.031 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2669, allocations: 0 / 0.9056 GB, free: 58.85 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.267, allocations: 121.7 kB / 0.9058 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.267, allocations: 4 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.2672, allocations: 65.16 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2672, allocations: 3.984 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2672, allocations: 4.031 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2672, allocations: 0 / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2673, allocations: 161.6 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2674, allocations: 0 / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.2674, allocations: 7.984 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2674, allocations: 0 / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2674, allocations: 0 / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2674, allocations: 4 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2674, allocations: 3.938 kB / 0.906 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2676, allocations: 163.4 kB / 0.9062 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2676, allocations: 77.11 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2676, allocations: 0 / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.2677, allocations: 4 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.2677, allocations: 4 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2677, allocations: 4 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.2678, allocations: 91.3 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2678, allocations: 0 / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002078/0.268, allocations: 12 kB / 0.9063 GB, free: 58.03 MB / 0.6042 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 (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.0001494/0.2681, allocations: 115.2 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2683, allocations: 31.92 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2683, allocations: 0 / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.2683, allocations: 20.05 kB / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2685, allocations: 9.656 kB / 0.9065 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.2688, allocations: 158.3 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.269, allocations: 0.6809 MB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.269, allocations: 15.5 kB / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.269, allocations: 0 / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.002097/0.2711, allocations: 0.8046 MB / 0.9081 GB, free: 56.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)