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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008224, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004753/0.004754, allocations: 172.1 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 266.3 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007346/0.0007348, allocations: 17.73 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1802, allocations: 88.55 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001697/0.1819, allocations: 1.179 MB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.1829, allocations: 0.5488 MB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.1829, allocations: 0 / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.1829, allocations: 3.938 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.183, allocations: 7.938 kB / 0.6868 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1832, allocations: 36.55 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.1833, allocations: 32.42 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.1834, allocations: 14.44 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.1835, allocations: 11.98 kB / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.1835, allocations: 7.938 kB / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1835, allocations: 4 kB / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1836, allocations: 51.94 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1837, allocations: 4.5 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.1837, allocations: 41.62 kB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.1838, allocations: 60.7 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1838, allocations: 5.188 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1839, allocations: 0 / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1839, allocations: 0 / 0.6871 GB, free: 13.01 MB / 494.1 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.0003985/0.1843, allocations: 345.8 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1843, allocations: 8.031 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1843, allocations: 4.938 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1845, allocations: 168.2 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1845, allocations: 5.344 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1845, allocations: 384 / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1847, allocations: 53.22 kB / 0.6876 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.1847, allocations: 0 / 0.6876 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1847, allocations: 4 kB / 0.6876 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1847, allocations: 3.938 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.1848, allocations: 23.97 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1851, allocations: 254.2 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.1852, allocations: 36.81 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1853, allocations: 16.86 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00083/0.1861, allocations: 0.4974 MB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1862, allocations: 38.56 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.1862, allocations: 0 / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002604/0.1865, allocations: 69.58 kB / 0.6886 GB, free: 11.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1865, allocations: 59.53 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.1866, allocations: 105.8 kB / 0.6887 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1866, allocations: 25.7 kB / 0.6887 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.1867, allocations: 88.14 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1867, allocations: 3.906 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.1867, allocations: 13.7 kB / 0.6888 GB, free: 10.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.1868, allocations: 314.8 kB / 0.6891 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.1869, allocations: 15.94 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.1869, allocations: 15.98 kB / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.536e-05/0.187, allocations: 32.78 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.187, allocations: 0 / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.1871, allocations: 61.75 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1872, allocations: 8 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1872, allocations: 3.938 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1872, allocations: 0 / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.1873, allocations: 7.984 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1873, allocations: 0 / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1873, allocations: 4 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1873, allocations: 3.938 kB / 0.6893 GB, free: 10.45 MB / 494.1 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 7.33e-05/0.1874, allocations: 123.1 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1874, allocations: 0 / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1876, allocations: 61.2 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1876, allocations: 0 / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.1876, allocations: 4 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1876, allocations: 3.984 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1878, allocations: 165.5 kB / 0.6896 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1878, allocations: 0 / 0.6896 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.1879, allocations: 19.95 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1879, allocations: 0 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1879, allocations: 0 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1879, allocations: 0 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1879, allocations: 0 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.1881, allocations: 159.4 kB / 0.6898 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.1881, allocations: 85.09 kB / 0.6899 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1881, allocations: 4 kB / 0.6899 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.1882, allocations: 4 kB / 0.6899 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1882, allocations: 0 / 0.6899 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1883, allocations: 0 / 0.6899 GB, free: 9.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.1883, allocations: 95.56 kB / 0.69 GB, free: 9.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1883, allocations: 0 / 0.69 GB, free: 9.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1886, allocations: 16 kB / 0.69 GB, free: 9.629 MB / 494.1 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.0001554/0.1887, allocations: 119.2 kB / 0.6901 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.1888, allocations: 27.92 kB / 0.6901 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1889, allocations: 4 kB / 0.6901 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.1889, allocations: 15.98 kB / 0.6902 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1891, allocations: 3.938 kB / 0.6902 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.1894, allocations: 144.7 kB / 0.6903 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1896, allocations: 0.6809 MB / 0.691 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.122e-05/0.1896, allocations: 0 / 0.691 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.1897, allocations: 11.44 kB / 0.691 GB, free: 8.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1897, allocations: 0 / 0.691 GB, free: 8.57 MB / 494.1 MB Notification: Performance of Templates: time 0.002537/0.1922, allocations: 0.6331 MB / 0.6916 GB, free: 7.938 MB / 494.1 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)