Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.95 kB / 0.6723 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002356/0.1977, allocations: 1.464 MB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.1985, allocations: 0.6017 MB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.1986, allocations: 0 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.1986, allocations: 0 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/0.1987, allocations: 3.938 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1989, allocations: 47.81 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.199, allocations: 35.8 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1991, allocations: 8 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.1992, allocations: 19.92 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.1993, allocations: 15.92 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1993, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1994, allocations: 51.95 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1994, allocations: 4 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.1995, allocations: 11.92 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1996, allocations: 71.78 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1996, allocations: 0 / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1996, allocations: 0 / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1996, allocations: 0 / 0.7864 GB, free: 10.38 MB / 0.6075 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.0004353/0.2001, allocations: 351.4 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2001, allocations: 12.03 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2002, allocations: 4.844 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.2003, allocations: 172.3 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2003, allocations: 384 / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-06/0.2003, allocations: 4.312 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2004, allocations: 47.06 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.2004, allocations: 0 / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2004, allocations: 4 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2004, allocations: 4 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.2005, allocations: 19.98 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.2008, allocations: 252.8 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.16e-05/0.2009, allocations: 34.5 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.201, allocations: 16.92 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/0.2017, allocations: 477.4 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2017, allocations: 34.56 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2017, allocations: 0 / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002227/0.202, allocations: 61.77 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.202, allocations: 55.41 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.2021, allocations: 113.8 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2021, allocations: 25.7 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.2021, allocations: 84.14 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.2022, allocations: 7.906 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.2022, allocations: 13.7 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.2023, allocations: 314.8 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.2023, allocations: 12.03 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.2024, allocations: 11.98 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.2024, allocations: 32.72 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2025, allocations: 0 / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.2026, allocations: 57.59 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2026, allocations: 7.938 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.2026, allocations: 4.031 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.2026, allocations: 8 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.2027, allocations: 7.984 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2027, allocations: 4 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.2027, allocations: 0 / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2027, allocations: 4.312 kB / 0.7886 GB, free: 7.852 MB / 0.6075 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.606e-05/0.2028, allocations: 109.8 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2028, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.203, allocations: 69.2 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.203, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.203, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.203, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2032, allocations: 165.6 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2032, allocations: 4 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.2032, allocations: 11.92 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2032, allocations: 0 / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2032, allocations: 4 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2032, allocations: 0 / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2032, allocations: 3.984 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.2034, allocations: 155.4 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.2034, allocations: 81.09 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2035, allocations: 0 / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.2035, allocations: 4 kB / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.2036, allocations: 4 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2036, allocations: 0 / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.2036, allocations: 95.28 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2036, allocations: 0 / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002272/0.2038, allocations: 20 kB / 0.7892 GB, free: 7.035 MB / 0.6075 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.000139/0.204, allocations: 111.2 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.2041, allocations: 27.92 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2041, allocations: 0 / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.2042, allocations: 16.05 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2044, allocations: 10.59 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.2046, allocations: 126.5 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2048, allocations: 0.6768 MB / 0.7902 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.2049, allocations: 4 kB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.2049, allocations: 11.38 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2049, allocations: 0 / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of Templates: time 0.002304/0.2072, allocations: 0.6686 MB / 0.7909 GB, free: 5.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)