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.0008098/0.0008099, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00604/0.00604, allocations: 170 kB / 16.26 MB, free: 6.613 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.356/1.356, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.74/1.74, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.000526/0.000526, allocations: 17.5 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1882, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001446/0.1896, allocations: 1.175 MB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.1906, allocations: 0.6068 MB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.1906, allocations: 0 / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.1906, allocations: 0 / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.1907, allocations: 3.938 kB / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1909, allocations: 39.89 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.191, allocations: 23.94 kB / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.1911, allocations: 7.984 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.1912, allocations: 11.94 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.1912, allocations: 15.92 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1912, allocations: 7.984 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1914, allocations: 47.95 kB / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1914, allocations: 4 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1914, allocations: 33.64 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1915, allocations: 63.86 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1916, allocations: 0 / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.957e-06/0.1916, allocations: 3.984 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1916, allocations: 3.938 kB / 0.7899 GB, free: 9.512 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.0003703/0.192, allocations: 343.7 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.192, allocations: 8.031 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.192, allocations: 8.781 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.1921, allocations: 172.3 kB / 0.7904 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1921, allocations: 4.359 kB / 0.7904 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1922, allocations: 4.375 kB / 0.7904 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1923, allocations: 46 kB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1923, allocations: 0 / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1923, allocations: 4 kB / 0.7904 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1923, allocations: 0 / 0.7904 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.189e-05/0.1924, allocations: 23.98 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.1927, allocations: 260.8 kB / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.1928, allocations: 38.52 kB / 0.7907 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.1929, allocations: 20.91 kB / 0.7908 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/0.1937, allocations: 497.4 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1937, allocations: 30.56 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.1937, allocations: 0 / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002419/0.194, allocations: 81.52 kB / 0.7913 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.194, allocations: 51.41 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.1941, allocations: 109.8 kB / 0.7915 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1941, allocations: 25.7 kB / 0.7915 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1942, allocations: 84.14 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1942, allocations: 8.031 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1942, allocations: 17.72 kB / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.1943, allocations: 310.8 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.1943, allocations: 11.98 kB / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.1944, allocations: 12 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.1945, allocations: 36.84 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1945, allocations: 0 / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001249/0.1946, allocations: 61.61 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1946, allocations: 4 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1947, allocations: 3.938 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1947, allocations: 4 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.1947, allocations: 4 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1948, allocations: 4.344 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.1948, allocations: 7.984 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1948, allocations: 0 / 0.7921 GB, free: 6.945 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 6.422e-05/0.1949, allocations: 116.6 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1949, allocations: 7.906 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.1951, allocations: 73.12 kB / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1951, allocations: 8.031 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1951, allocations: 0 / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1951, allocations: 0 / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1953, allocations: 165.6 kB / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1953, allocations: 0 / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.1953, allocations: 4 kB / 0.7924 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1953, allocations: 0 / 0.7924 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1953, allocations: 4 kB / 0.7924 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1953, allocations: 3.984 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1953, allocations: 0 / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1955, allocations: 163.5 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.1955, allocations: 81.02 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1956, allocations: 4 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.1956, allocations: 0 / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.1957, allocations: 11.92 kB / 0.7927 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1957, allocations: 7.969 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.1957, allocations: 83.28 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1957, allocations: 4 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002539/0.196, allocations: 19.98 kB / 0.7928 GB, free: 6.102 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.0001509/0.1961, allocations: 111.2 kB / 0.7929 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1963, allocations: 23.98 kB / 0.7929 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1963, allocations: 4.062 kB / 0.7929 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.1963, allocations: 19.98 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1966, allocations: 7.875 kB / 0.793 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.1968, allocations: 140.6 kB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.197, allocations: 0.6849 MB / 0.7938 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.197, allocations: 3.984 kB / 0.7938 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.1971, allocations: 7.438 kB / 0.7938 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1971, allocations: 0 / 0.7938 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.002501/0.1996, allocations: 0.6256 MB / 0.7944 GB, free: 4.418 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: