Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9648/0.9648, allocations: 177.1 MB / 204.7 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.045/2.045, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0.6562 kB / 0.7754 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.916e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003553/0.003592, allocations: 1.567 MB / 0.7769 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.004835, allocations: 0.6041 MB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.004927, allocations: 0 / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.526e-05/0.004982, allocations: 10.2 kB / 0.7775 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.005086, allocations: 5.969 kB / 0.7775 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.005516, allocations: 53.27 kB / 0.7776 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.005667, allocations: 31.64 kB / 0.7776 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005785, allocations: 4.812 kB / 0.7776 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.005989, allocations: 29.44 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.006052, allocations: 11.34 kB / 0.7776 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.006076, allocations: 4 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.006272, allocations: 67.81 kB / 0.7777 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.006285, allocations: 0 / 0.7777 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.00631, allocations: 8.5 kB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.006504, allocations: 64.36 kB / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.00651, allocations: 0 / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.146e-06/0.006514, allocations: 1.25 kB / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.00652, allocations: 0 / 0.7778 GB, free: 2.871 MB / 0.7292 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.0005096/0.00703, allocations: 260.7 kB / 0.778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.00709, allocations: 12.09 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.009932, allocations: 0.985 MB / 0.779 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.01025, allocations: 117.8 kB / 0.7791 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.01027, allocations: 9.312 kB / 0.7791 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.0103, allocations: 384 / 0.7791 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.01108, allocations: 331.9 kB / 0.7794 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01109, allocations: 2.125 kB / 0.7794 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.01112, allocations: 384 / 0.7794 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.01113, allocations: 3.938 kB / 0.7794 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.01129, allocations: 63.81 kB / 0.7795 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.01276, allocations: 0.6024 MB / 0.7801 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.01344, allocations: 297.1 kB / 0.7804 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.01354, allocations: 40.92 kB / 0.7804 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.01356, allocations: 3.938 kB / 0.7804 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.0136, allocations: 34.55 kB / 0.7804 GB, free: 196 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.434e-06/0.0136, allocations: 0 / 0.7804 GB, free: 196 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0004055/0.014, allocations: 121.7 kB / 0.7806 GB, free: 68 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.01408, allocations: 55.41 kB / 0.7806 GB, free: 16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.01416, allocations: 118.7 kB / 0.7807 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.01419, allocations: 25.7 kB / 0.7808 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.01423, allocations: 84.12 kB / 0.7808 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.01427, allocations: 15.83 kB / 0.7808 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.01435, allocations: 21.69 kB / 0.7809 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01446, allocations: 322.8 kB / 0.7812 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.01456, allocations: 24 kB / 0.7812 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.01465, allocations: 31.98 kB / 0.7812 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01479, allocations: 48.89 kB / 0.7813 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.0148, allocations: 0 / 0.7813 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002294/0.01502, allocations: 85.61 kB / 0.7814 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.01505, allocations: 8 kB / 0.7814 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01506, allocations: 0 / 0.7814 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.01507, allocations: 7.922 kB / 0.7814 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.01565, allocations: 191.8 kB / 0.7816 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01565, allocations: 0 / 0.7816 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.0161, allocations: 187.8 kB / 0.7817 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.01612, allocations: 11.98 kB / 0.7817 GB, free: 14.79 MB / 0.7448 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 0.0001141/0.01624, allocations: 105.8 kB / 0.7818 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.01628, allocations: 4 kB / 0.7819 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.01634, allocations: 15.61 kB / 0.7819 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.01634, allocations: 7.922 kB / 0.7819 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01635, allocations: 0 / 0.7819 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01635, allocations: 0 / 0.7819 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.01655, allocations: 117.8 kB / 0.782 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.01656, allocations: 8 kB / 0.782 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.01707, allocations: 195.8 kB / 0.7822 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.01707, allocations: 0 / 0.7822 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.0171, allocations: 11.98 kB / 0.7822 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.0171, allocations: 4 kB / 0.7822 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01711, allocations: 3.938 kB / 0.7822 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.0174, allocations: 187.4 kB / 0.7824 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.01742, allocations: 4 kB / 0.7824 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.01745, allocations: 0 / 0.7824 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.01791, allocations: 183.8 kB / 0.7826 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.01795, allocations: 7.938 kB / 0.7826 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.01797, allocations: 3.984 kB / 0.7826 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.01799, allocations: 12.86 kB / 0.7826 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01799, allocations: 0 / 0.7826 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001881/0.01818, allocations: 44 kB / 0.7826 GB, free: 13.85 MB / 0.7448 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.000164/0.01835, allocations: 76.41 kB / 0.7827 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.01862, allocations: 80.77 kB / 0.7828 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.01862, allocations: 0 / 0.7828 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01874, allocations: 48.89 kB / 0.7828 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.01892, allocations: 19.97 kB / 0.7828 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.01953, allocations: 168.5 kB / 0.783 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.01957, allocations: 63.41 kB / 0.7831 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00018/0.01975, allocations: 28 kB / 0.7831 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.01995, allocations: 59.34 kB / 0.7831 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of SimCode: time 1.242e-06/0.01995, allocations: 0 / 0.7831 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.005822/0.02578, allocations: 2.805 MB / 0.7859 GB, free: 10.45 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6043257471174]