Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7687/0.7687, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 184.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 115.1 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 289.1 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 91.86 kB / 0.6886 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3379, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002235/0.3401, allocations: 1.522 MB / 0.7694 GB, free: 26.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.3408, allocations: 0.5649 MB / 0.77 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.3409, allocations: 4 kB / 0.77 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.3409, allocations: 7.922 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.341, allocations: 3.938 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3412, allocations: 35.91 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.331e-05/0.3412, allocations: 27.92 kB / 0.77 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.3413, allocations: 4 kB / 0.7701 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.3414, allocations: 19.91 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.3415, allocations: 15.92 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3415, allocations: 0 / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.3416, allocations: 51.97 kB / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3416, allocations: 3.984 kB / 0.7701 GB, free: 25.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.3416, allocations: 15.92 kB / 0.7702 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3417, allocations: 58.53 kB / 0.7702 GB, free: 25.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3417, allocations: 4 kB / 0.7702 GB, free: 25.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3417, allocations: 3.938 kB / 0.7702 GB, free: 25.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.3418, allocations: 0 / 0.7702 GB, free: 25.32 MB / 458.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.0003264/0.3421, allocations: 355.4 kB / 0.7706 GB, free: 24.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3421, allocations: 12.03 kB / 0.7706 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.3422, allocations: 8.844 kB / 0.7706 GB, free: 24.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.827e-05/0.3422, allocations: 160.4 kB / 0.7707 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3422, allocations: 4.375 kB / 0.7707 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3423, allocations: 384 / 0.7707 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.3424, allocations: 49.98 kB / 0.7708 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3424, allocations: 0 / 0.7708 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3424, allocations: 0 / 0.7708 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3424, allocations: 0 / 0.7708 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.3425, allocations: 23.98 kB / 0.7708 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.3428, allocations: 264.8 kB / 0.7711 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.3428, allocations: 26.56 kB / 0.7711 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.3429, allocations: 20.91 kB / 0.7711 GB, free: 24.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.3435, allocations: 469.4 kB / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3436, allocations: 38.56 kB / 0.7716 GB, free: 23.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3436, allocations: 0 / 0.7716 GB, free: 23.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002149/0.3438, allocations: 61.61 kB / 0.7716 GB, free: 23.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.3438, allocations: 55.53 kB / 0.7717 GB, free: 23.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.3439, allocations: 113.8 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.3439, allocations: 25.7 kB / 0.7718 GB, free: 23.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.3439, allocations: 84.12 kB / 0.7719 GB, free: 23.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.344, allocations: 11.84 kB / 0.7719 GB, free: 23.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.344, allocations: 13.72 kB / 0.7719 GB, free: 23.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.344, allocations: 310.8 kB / 0.7722 GB, free: 22.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.3441, allocations: 19.98 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3441, allocations: 4 kB / 0.7723 GB, free: 22.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.3442, allocations: 36.72 kB / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3442, allocations: 0 / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001023/0.3443, allocations: 61.61 kB / 0.7723 GB, free: 22.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3443, allocations: 4 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3443, allocations: 3.984 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3444, allocations: 4.094 kB / 0.7724 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.3444, allocations: 4 kB / 0.7724 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3445, allocations: 0 / 0.7724 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.3445, allocations: 7.984 kB / 0.7724 GB, free: 22.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3445, allocations: 3.938 kB / 0.7724 GB, free: 22.79 MB / 458.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 () * 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 4.481e-05/0.3446, allocations: 113.8 kB / 0.7725 GB, free: 22.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3446, allocations: 3.906 kB / 0.7725 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3447, allocations: 69.14 kB / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3447, allocations: 0 / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3447, allocations: 0 / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3448, allocations: 0 / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3449, allocations: 165.6 kB / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3449, allocations: 0 / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.3449, allocations: 4 kB / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3449, allocations: 0 / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3449, allocations: 4 kB / 0.7727 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3449, allocations: 4 kB / 0.7727 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3449, allocations: 0 / 0.7727 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3452, allocations: 0.7083 MB / 0.7734 GB, free: 21.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.3452, allocations: 77.11 kB / 0.7735 GB, free: 21.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.3452, allocations: 4 kB / 0.7735 GB, free: 21.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.3453, allocations: 3.984 kB / 0.7735 GB, free: 21.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.3453, allocations: 7.969 kB / 0.7735 GB, free: 21.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3453, allocations: 8 kB / 0.7735 GB, free: 21.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.374e-05/0.3454, allocations: 91.25 kB / 0.7736 GB, free: 21.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3454, allocations: 0 / 0.7736 GB, free: 21.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.3457, allocations: 16 kB / 0.7736 GB, free: 21.38 MB / 458.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 () * 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.0001243/0.3458, allocations: 115.8 kB / 0.7737 GB, free: 21.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.3459, allocations: 27.92 kB / 0.7737 GB, free: 21.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.346, allocations: 4.062 kB / 0.7738 GB, free: 21.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.346, allocations: 8 kB / 0.7738 GB, free: 21.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.3462, allocations: 4 kB / 0.7738 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.3465, allocations: 242.9 kB / 0.774 GB, free: 20.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.3466, allocations: 0.6809 MB / 0.7747 GB, free: 20.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.3466, allocations: 4.609 kB / 0.7747 GB, free: 20.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.3466, allocations: 7.438 kB / 0.7747 GB, free: 20.22 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3466, allocations: 3.938 kB / 0.7747 GB, free: 20.21 MB / 458.7 MB Notification: Performance of Templates: time 0.002147/0.3488, allocations: 0.6539 MB / 0.7753 GB, free: 19.56 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)