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.001569/0.001569, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.00197/0.00197, allocations: 163.2 kB / 25.05 MB, free: 9.148 MB / 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 1.003/1.003, allocations: 177.1 MB / 205.5 MB, free: 5.465 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 1.948/1.948, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.483e-06/1.483e-06, allocations: 0 / 0.7761 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.15e-05, allocations: 2.969 kB / 0.7761 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002199/0.00222, allocations: 1.575 MB / 0.7777 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.003144, allocations: 0.5982 MB / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.003199, allocations: 0 / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.003238, allocations: 3.938 kB / 0.7783 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.003291, allocations: 7.484 kB / 0.7783 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.003569, allocations: 56.47 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.003672, allocations: 32.38 kB / 0.7784 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.003747, allocations: 8.688 kB / 0.7784 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.003869, allocations: 30.67 kB / 0.7784 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.003909, allocations: 8.641 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.003922, allocations: 8.562 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.004048, allocations: 57.45 kB / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.004058, allocations: 3.984 kB / 0.7785 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.004073, allocations: 8 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.004208, allocations: 75.72 kB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00421, allocations: 0.9688 kB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004211, allocations: 0 / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.004214, allocations: 0 / 0.7785 GB, free: 2.812 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.0002905/0.004504, allocations: 249.4 kB / 0.7788 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.004541, allocations: 9.938 kB / 0.7788 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.007833, allocations: 0.994 MB / 0.7798 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.008015, allocations: 114.4 kB / 0.7799 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.008024, allocations: 1.406 kB / 0.7799 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.008053, allocations: 4.375 kB / 0.7799 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.008885, allocations: 332.2 kB / 0.7802 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.008892, allocations: 1.75 kB / 0.7802 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.008915, allocations: 4.375 kB / 0.7802 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.00892, allocations: 3.938 kB / 0.7802 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.009119, allocations: 63.97 kB / 0.7803 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.01071, allocations: 0.6026 MB / 0.7809 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.01152, allocations: 300.7 kB / 0.7811 GB, free: 236 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.01162, allocations: 40.91 kB / 0.7812 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.01164, allocations: 4 kB / 0.7812 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.01166, allocations: 30.56 kB / 0.7812 GB, free: 148 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.01166, allocations: 4 kB / 0.7812 GB, free: 144 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003886/0.01205, allocations: 125.6 kB / 0.7813 GB, free: 12 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.0121, allocations: 51.41 kB / 0.7814 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.01216, allocations: 114.7 kB / 0.7815 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.01219, allocations: 29.7 kB / 0.7815 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.01222, allocations: 84.12 kB / 0.7816 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.01225, allocations: 3.953 kB / 0.7816 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.01233, allocations: 29.7 kB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.01241, allocations: 314.8 kB / 0.7819 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.01251, allocations: 27.98 kB / 0.782 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.01261, allocations: 28 kB / 0.782 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.01277, allocations: 56.86 kB / 0.782 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01277, allocations: 0 / 0.782 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002316/0.013, allocations: 85.61 kB / 0.7821 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01301, allocations: 4 kB / 0.7821 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01302, allocations: 0 / 0.7821 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01303, allocations: 7.938 kB / 0.7821 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.01369, allocations: 203.8 kB / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.01369, allocations: 0 / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.01425, allocations: 183.8 kB / 0.7825 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.01427, allocations: 7.984 kB / 0.7825 GB, free: 14.75 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 8.394e-05/0.01435, allocations: 105.8 kB / 0.7826 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.0144, allocations: 7.984 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.01444, allocations: 7.625 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01445, allocations: 7.938 kB / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01445, allocations: 0 / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01445, allocations: 0 / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.01466, allocations: 125.8 kB / 0.7828 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01466, allocations: 0 / 0.7828 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.01529, allocations: 203.7 kB / 0.783 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01529, allocations: 4 kB / 0.783 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.01532, allocations: 11.91 kB / 0.783 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01532, allocations: 0 / 0.783 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01532, allocations: 0 / 0.783 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.0158, allocations: 183.5 kB / 0.7831 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.01581, allocations: 7.984 kB / 0.7832 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.01583, allocations: 0 / 0.7832 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.01641, allocations: 183.8 kB / 0.7833 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.01644, allocations: 3.938 kB / 0.7833 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.01646, allocations: 7.984 kB / 0.7833 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.841e-05/0.01648, allocations: 17.22 kB / 0.7834 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01648, allocations: 4 kB / 0.7834 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000223/0.0167, allocations: 36 kB / 0.7834 GB, free: 13.8 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.0001018/0.0168, allocations: 80.36 kB / 0.7835 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.01707, allocations: 76.81 kB / 0.7835 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.01707, allocations: 4 kB / 0.7835 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.0172, allocations: 48.89 kB / 0.7836 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.01737, allocations: 19.98 kB / 0.7836 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.01784, allocations: 180.4 kB / 0.7838 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.01787, allocations: 51.36 kB / 0.7838 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.01808, allocations: 32 kB / 0.7839 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.01829, allocations: 63.34 kB / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of SimCode: time 6.02e-07/0.01829, allocations: 0 / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.004669/0.02296, allocations: 2.799 MB / 0.7867 GB, free: 10.39 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: 4.927855699323118]