Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009344/0.0009342, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 265.8 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9146/0.9146, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005102, allocations: 12.56 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 88.55 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001427/0.1768, allocations: 1.171 MB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003198/0.1772, allocations: 128.5 kB / 0.6858 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.1772, allocations: 0.5 kB / 0.6858 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.1773, allocations: 4.656 kB / 0.6858 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.1773, allocations: 7.922 kB / 0.6858 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.1775, allocations: 27 kB / 0.6858 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.1776, allocations: 35.86 kB / 0.6858 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1777, allocations: 20.61 kB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.1777, allocations: 4 kB / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.1778, allocations: 21.12 kB / 0.6859 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1778, allocations: 0 / 0.6859 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.1779, allocations: 31.91 kB / 0.6859 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.1779, allocations: 5.344 kB / 0.6859 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.1779, allocations: 33.69 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.453e-05/0.178, allocations: 44.16 kB / 0.686 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.178, allocations: 0 / 0.686 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.178, allocations: 2.156 kB / 0.686 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1781, allocations: 0 / 0.686 GB, free: 13.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003857/0.1784, allocations: 352 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1785, allocations: 12.03 kB / 0.6863 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009551/0.1794, allocations: 242 kB / 0.6866 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1796, allocations: 178.8 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1796, allocations: 4.625 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1796, allocations: 9.969 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.1801, allocations: 205.5 kB / 0.6869 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1801, allocations: 3.984 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1802, allocations: 7.984 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1802, allocations: 4 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007748/0.181, allocations: 315.6 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.1818, allocations: 465.2 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/0.1828, allocations: 338.2 kB / 0.688 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1831, allocations: 120.8 kB / 0.6881 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1832, allocations: 11.89 kB / 0.6881 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1832, allocations: 34.5 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.1832, allocations: 0 / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001048/0.1842, allocations: 361.3 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1843, allocations: 59.39 kB / 0.6886 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.1844, allocations: 118 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1844, allocations: 25.7 kB / 0.6887 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.1845, allocations: 100 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1845, allocations: 11.89 kB / 0.6888 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.1845, allocations: 0 / 0.6888 GB, free: 10.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1846, allocations: 310.8 kB / 0.6891 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.185, allocations: 115.9 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.1853, allocations: 115.9 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.1856, allocations: 107.8 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1856, allocations: 0 / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006609/0.1863, allocations: 249.5 kB / 0.6897 GB, free: 9.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1863, allocations: 11.95 kB / 0.6897 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1864, allocations: 0 / 0.6897 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.1864, allocations: 0 / 0.6897 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1866, allocations: 47.95 kB / 0.6897 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1866, allocations: 0 / 0.6897 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1868, allocations: 43.84 kB / 0.6898 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1868, allocations: 0 / 0.6898 GB, free: 9.855 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.1869, allocations: 114.5 kB / 0.6899 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1869, allocations: 8 kB / 0.6899 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.187, allocations: 11.84 kB / 0.6899 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.187, allocations: 0 / 0.6899 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.187, allocations: 4 kB / 0.6899 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.187, allocations: 3.938 kB / 0.6899 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1872, allocations: 201.6 kB / 0.6901 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1872, allocations: 7.938 kB / 0.6901 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1874, allocations: 39.95 kB / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1874, allocations: 384 / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1875, allocations: 15.94 kB / 0.6902 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1875, allocations: 0 / 0.6902 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1875, allocations: 0 / 0.6902 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.1882, allocations: 351.5 kB / 0.6905 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1882, allocations: 85.14 kB / 0.6906 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1882, allocations: 0 / 0.6906 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1885, allocations: 39.91 kB / 0.6906 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1885, allocations: 7.984 kB / 0.6906 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1885, allocations: 4 kB / 0.6906 GB, free: 8.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.1886, allocations: 99.27 kB / 0.6907 GB, free: 8.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1886, allocations: 3.938 kB / 0.6907 GB, free: 8.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1888, allocations: 12 kB / 0.6907 GB, free: 8.77 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.1889, allocations: 95.25 kB / 0.6908 GB, free: 8.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.1896, allocations: 235.7 kB / 0.6911 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1897, allocations: 0 / 0.6911 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.19, allocations: 115.9 kB / 0.6912 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1902, allocations: 6.344 kB / 0.6912 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.191, allocations: 312.3 kB / 0.6915 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1913, allocations: 0.6848 MB / 0.6921 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.583e-05/0.1914, allocations: 23.98 kB / 0.6922 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.1914, allocations: 11.42 kB / 0.6922 GB, free: 7.246 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1914, allocations: 0 / 0.6922 GB, free: 7.246 MB / 494.1 MB Notification: Performance of Templates: time 0.002576/0.194, allocations: 0.8144 MB / 0.693 GB, free: 6.438 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)