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.001901/0.001901, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002173/0.002173, allocations: 191.3 kB / 16.14 MB, free: 6.715 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002627/0.002627, allocations: 290.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004371/0.004371, allocations: 98.92 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1768, allocations: 89.15 MB / 0.6928 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002982/0.1798, allocations: 1.69 MB / 0.6944 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1815, allocations: 1.142 MB / 0.6956 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.1815, allocations: 0 / 0.6956 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1818, allocations: 27.91 kB / 0.6956 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.182, allocations: 51.77 kB / 0.6956 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1823, allocations: 125.8 kB / 0.6958 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1826, allocations: 213.6 kB / 0.696 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.1827, allocations: 16.5 kB / 0.696 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.1828, allocations: 67.83 kB / 0.696 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.183, allocations: 95.7 kB / 0.6961 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.1831, allocations: 8 kB / 0.6961 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1832, allocations: 67.97 kB / 0.6962 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1833, allocations: 75.73 kB / 0.6963 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1834, allocations: 95.34 kB / 0.6964 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1838, allocations: 267.1 kB / 0.6966 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1838, allocations: 0 / 0.6966 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1838, allocations: 4 kB / 0.6966 GB, free: 0.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1838, allocations: 0 / 0.6966 GB, free: 0.875 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.0008027/0.1846, allocations: 0.5306 MB / 0.6971 GB, free: 304 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1846, allocations: 8.031 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.1847, allocations: 32.66 kB / 0.6972 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.185, allocations: 263.8 kB / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1851, allocations: 12.38 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1851, allocations: 16.38 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1855, allocations: 221.2 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1855, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1856, allocations: 4 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1856, allocations: 8 kB / 0.6977 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.1865, allocations: 0.7451 MB / 0.6984 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.1874, allocations: 0.5588 MB / 0.699 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.1879, allocations: 311.5 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1881, allocations: 109.4 kB / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.1882, allocations: 20.23 kB / 0.6994 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.1885, allocations: 176.9 kB / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.1885, allocations: 0 / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007017/0.1892, allocations: 373.8 kB / 0.6999 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.1893, allocations: 132.5 kB / 0.7 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1897, allocations: 300 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1897, allocations: 41.7 kB / 0.7004 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.1898, allocations: 116.8 kB / 0.7005 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1899, allocations: 114.3 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.19, allocations: 65.69 kB / 0.7006 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1902, allocations: 338.7 kB / 0.701 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1904, allocations: 83.94 kB / 0.701 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.1906, allocations: 131.4 kB / 0.7012 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.1909, allocations: 210.8 kB / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1909, allocations: 0 / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004712/0.1914, allocations: 281.1 kB / 0.7016 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1914, allocations: 5.25 kB / 0.7016 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1914, allocations: 0 / 0.7016 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1915, allocations: 4 kB / 0.7016 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.1917, allocations: 59.91 kB / 0.7017 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1917, allocations: 4 kB / 0.7017 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1919, allocations: 27.77 kB / 0.7017 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1919, allocations: 19.94 kB / 0.7018 GB, free: 11.35 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.1921, allocations: 161.7 kB / 0.7019 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.1921, allocations: 27.62 kB / 0.7019 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007157/0.1929, allocations: 376.5 kB / 0.7023 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1929, allocations: 4 kB / 0.7023 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1929, allocations: 4 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1929, allocations: 3.938 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.1932, allocations: 333.3 kB / 0.7026 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1933, allocations: 0 / 0.7026 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.1935, allocations: 55.91 kB / 0.7027 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1935, allocations: 0 / 0.7027 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1935, allocations: 12 kB / 0.7027 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1935, allocations: 0 / 0.7027 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1935, allocations: 0 / 0.7027 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.194, allocations: 330.2 kB / 0.703 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1942, allocations: 140.7 kB / 0.7031 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1942, allocations: 4 kB / 0.7031 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1944, allocations: 15.98 kB / 0.7032 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.1945, allocations: 23.97 kB / 0.7032 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1945, allocations: 15.92 kB / 0.7032 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002248/0.1947, allocations: 233.6 kB / 0.7034 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1947, allocations: 0 / 0.7034 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002898/0.195, allocations: 59.89 kB / 0.7035 GB, free: 9.484 MB / 0.4981 GB 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 (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.001388/0.1964, allocations: 415.3 kB / 0.7039 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.1968, allocations: 232 kB / 0.7041 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1968, allocations: 0 / 0.7041 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.1971, allocations: 127.8 kB / 0.7042 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1974, allocations: 32.67 kB / 0.7042 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.1982, allocations: 0.5753 MB / 0.7048 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1986, allocations: 0.7574 MB / 0.7055 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000329/0.199, allocations: 142.8 kB / 0.7057 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.1991, allocations: 47.41 kB / 0.7057 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1991, allocations: 0 / 0.7057 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.006714/0.2058, allocations: 2.899 MB / 0.7086 GB, free: 4.387 MB / 0.4981 GB 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)