Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 86.56 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.0009443/0.0009444, 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.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.00174, allocations: 270.2 kB / 291.3 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 16.91 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1757, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001829/0.1775, allocations: 1.329 MB / 0.6858 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1791, allocations: 1.09 MB / 0.6868 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.1792, allocations: 0 / 0.6868 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1794, allocations: 22.53 kB / 0.6869 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1796, allocations: 60.62 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.18, allocations: 111 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1802, allocations: 201.6 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1803, allocations: 22.81 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.1804, allocations: 67.83 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1806, allocations: 83.77 kB / 0.6874 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1806, allocations: 8 kB / 0.6874 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1808, allocations: 55.98 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.1809, allocations: 64.69 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.1809, allocations: 57.58 kB / 0.6876 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1811, allocations: 200.8 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1812, allocations: 4 kB / 0.6878 GB, free: 12.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1812, allocations: 0 / 0.6878 GB, free: 12.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1812, allocations: 0.5 kB / 0.6878 GB, free: 12.08 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006575/0.1818, allocations: 492.8 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1819, allocations: 12.03 kB / 0.6882 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.182, allocations: 24.72 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1822, allocations: 258.5 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1823, allocations: 17.66 kB / 0.6885 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1823, allocations: 12 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.1827, allocations: 218 kB / 0.6887 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1827, allocations: 0.5938 kB / 0.6887 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1827, allocations: 4 kB / 0.6888 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1827, allocations: 6.594 kB / 0.6888 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.1836, allocations: 0.7488 MB / 0.6895 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.1844, allocations: 0.5627 MB / 0.69 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1849, allocations: 301.5 kB / 0.6903 GB, free: 9.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.185, allocations: 101.4 kB / 0.6904 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.1851, allocations: 24.77 kB / 0.6904 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.1854, allocations: 170.6 kB / 0.6906 GB, free: 8.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.1854, allocations: 0 / 0.6906 GB, free: 8.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006251/0.1861, allocations: 374.5 kB / 0.691 GB, free: 8.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.1861, allocations: 140.5 kB / 0.6911 GB, free: 8.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1864, allocations: 296.8 kB / 0.6914 GB, free: 8.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1865, allocations: 29.7 kB / 0.6914 GB, free: 8.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.1866, allocations: 125.3 kB / 0.6915 GB, free: 7.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/0.1867, allocations: 111.8 kB / 0.6916 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.1867, allocations: 8 kB / 0.6916 GB, free: 7.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1868, allocations: 334.8 kB / 0.692 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1869, allocations: 84.55 kB / 0.692 GB, free: 7.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1871, allocations: 125.2 kB / 0.6922 GB, free: 7.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1873, allocations: 112.2 kB / 0.6923 GB, free: 7.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1873, allocations: 4 kB / 0.6923 GB, free: 7.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004189/0.1877, allocations: 269.2 kB / 0.6925 GB, free: 6.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1878, allocations: 6.344 kB / 0.6925 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1878, allocations: 0 / 0.6925 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1878, allocations: 3.953 kB / 0.6925 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.188, allocations: 67.89 kB / 0.6926 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1881, allocations: 8 kB / 0.6926 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1882, allocations: 27.69 kB / 0.6926 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1882, allocations: 11.98 kB / 0.6927 GB, free: 6.82 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001584/0.1884, allocations: 162.4 kB / 0.6928 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1885, allocations: 23.72 kB / 0.6928 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006651/0.1891, allocations: 384.3 kB / 0.6932 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1891, allocations: 7.953 kB / 0.6932 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1892, allocations: 0 / 0.6932 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1892, allocations: 3.984 kB / 0.6932 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1895, allocations: 329.2 kB / 0.6935 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1895, allocations: 4 kB / 0.6935 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1897, allocations: 55.91 kB / 0.6936 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1897, allocations: 0 / 0.6936 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.1897, allocations: 15.98 kB / 0.6936 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1897, allocations: 4 kB / 0.6936 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1897, allocations: 7.953 kB / 0.6936 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1902, allocations: 323.1 kB / 0.6939 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1903, allocations: 140.7 kB / 0.694 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.1904, allocations: 8 kB / 0.6941 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1905, allocations: 18.62 kB / 0.6941 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.1906, allocations: 23.97 kB / 0.6941 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1906, allocations: 19.94 kB / 0.6941 GB, free: 5.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.1908, allocations: 233.6 kB / 0.6943 GB, free: 4.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1908, allocations: 0 / 0.6943 GB, free: 4.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1911, allocations: 59.98 kB / 0.6944 GB, free: 4.938 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001012/0.1921, allocations: 404.2 kB / 0.6948 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.1925, allocations: 223.8 kB / 0.695 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1925, allocations: 0 / 0.695 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.1927, allocations: 127.8 kB / 0.6951 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.193, allocations: 33.41 kB / 0.6951 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.1938, allocations: 0.5574 MB / 0.6957 GB, free: 3.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1941, allocations: 0.7573 MB / 0.6964 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000304/0.1944, allocations: 150.8 kB / 0.6966 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.1945, allocations: 43.36 kB / 0.6966 GB, free: 2.754 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1945, allocations: 0 / 0.6966 GB, free: 2.754 MB / 494.1 MB Notification: Performance of Templates: time 0.006117/0.2006, allocations: 2.78 MB / 0.6993 GB, free: 4 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)