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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7949/0.7949, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 176.8 kB / 191.5 MB, free: 5.789 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 447.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.000874, allocations: 92.31 kB / 0.5188 GB, free: 2.859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001661/0.001661, allocations: 264.9 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 23.98 kB / 0.6929 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.461, allocations: 112.2 MB / 0.8833 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4613, allocations: 87.83 kB / 0.8834 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02094/0.4822, allocations: 8.229 MB / 0.8915 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4823, allocations: 3.938 kB / 0.8915 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.4823, allocations: 7.984 kB / 0.8915 GB, free: 1.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006756/0.483, allocations: 0.5058 MB / 0.892 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.483, allocations: 12.03 kB / 0.892 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.4831, allocations: 23.72 kB / 0.892 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.4834, allocations: 266.5 kB / 0.8922 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4834, allocations: 11.95 kB / 0.8923 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.4835, allocations: 16 kB / 0.8923 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.4838, allocations: 208.8 kB / 0.8925 GB, free: 372 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4838, allocations: 0 / 0.8925 GB, free: 372 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.4838, allocations: 8 kB / 0.8925 GB, free: 364 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4839, allocations: 7.938 kB / 0.8925 GB, free: 356 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.4847, allocations: 0.7379 MB / 0.8932 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.4856, allocations: 0.5514 MB / 0.8937 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.4861, allocations: 309.7 kB / 0.894 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.4861, allocations: 32.17 kB / 0.8941 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.4864, allocations: 177.9 kB / 0.8942 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.4864, allocations: 0 / 0.8942 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34): time 0.0005931/0.487, allocations: 361.2 kB / 0.8946 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.4871, allocations: 140.4 kB / 0.8947 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.4874, allocations: 256.6 kB / 0.895 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4874, allocations: 29.7 kB / 0.895 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.4875, allocations: 128.7 kB / 0.8951 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.4876, allocations: 110.4 kB / 0.8952 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.4876, allocations: 4 kB / 0.8952 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4877, allocations: 338.8 kB / 0.8955 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4878, allocations: 79.95 kB / 0.8956 GB, free: 13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.488, allocations: 135.4 kB / 0.8958 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.4882, allocations: 107.4 kB / 0.8959 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4882, allocations: 0 / 0.8959 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004152/0.4886, allocations: 281.4 kB / 0.8961 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4886, allocations: 8.922 kB / 0.8961 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4887, allocations: 0 / 0.8961 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4887, allocations: 4 kB / 0.8961 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.4889, allocations: 59.91 kB / 0.8962 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4889, allocations: 0 / 0.8962 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.4891, allocations: 27.83 kB / 0.8962 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.4891, allocations: 16 kB / 0.8962 GB, free: 12.36 MB / 0.5573 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 ($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.0001478/0.4892, allocations: 161.7 kB / 0.8964 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.4893, allocations: 23.72 kB / 0.8964 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.49, allocations: 389.3 kB / 0.8968 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.49, allocations: 7.938 kB / 0.8968 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.49, allocations: 3.984 kB / 0.8968 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.49, allocations: 4 kB / 0.8968 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.4903, allocations: 341.2 kB / 0.8971 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4903, allocations: 0 / 0.8971 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4905, allocations: 59.91 kB / 0.8972 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4905, allocations: 8 kB / 0.8972 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4905, allocations: 8 kB / 0.8972 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.4905, allocations: 3.984 kB / 0.8972 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4905, allocations: 0 / 0.8972 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.491, allocations: 325.6 kB / 0.8975 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.4911, allocations: 160.5 kB / 0.8977 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.4912, allocations: 8 kB / 0.8977 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4913, allocations: 15.98 kB / 0.8977 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.4914, allocations: 23.97 kB / 0.8977 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.4914, allocations: 15.98 kB / 0.8977 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001946/0.4916, allocations: 212.5 kB / 0.8979 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4916, allocations: 0 / 0.8979 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002905/0.4919, allocations: 75.97 kB / 0.898 GB, free: 10.45 MB / 0.5573 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 (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.0008869/0.4928, allocations: 414.4 kB / 0.8984 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.4932, allocations: 223.8 kB / 0.8986 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4932, allocations: 0 / 0.8986 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.4934, allocations: 128.4 kB / 0.8987 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.4936, allocations: 24.61 kB / 0.8988 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.4943, allocations: 0.5591 MB / 0.8993 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.4946, allocations: 0.7657 MB / 0.9 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.495, allocations: 146.8 kB / 0.9002 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.4951, allocations: 43.41 kB / 0.9002 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of SimCode: time 2.91e-07/0.4951, allocations: 0 / 0.9002 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of Templates: time 0.005712/0.5008, allocations: 2.949 MB / 0.9031 GB, free: 5.316 MB / 0.5573 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)