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.001506/0.001506, allocations: 117 kB / 16.37 MB, free: 6.012 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.001213/0.001213, allocations: 192.3 kB / 17.31 MB, free: 5.613 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.664/1.664, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 281.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 98.66 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2269, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003769/0.2307, allocations: 1.633 MB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2329, allocations: 1.172 MB / 0.6844 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.233, allocations: 0 / 0.6844 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.2333, allocations: 35.77 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.2337, allocations: 74.56 kB / 0.6845 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.2342, allocations: 126.9 kB / 0.6846 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2345, allocations: 233.6 kB / 0.6848 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2346, allocations: 32.16 kB / 0.6848 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.2347, allocations: 71.83 kB / 0.6849 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.235, allocations: 99.7 kB / 0.685 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.235, allocations: 16 kB / 0.685 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2352, allocations: 83.89 kB / 0.6851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2353, allocations: 75.81 kB / 0.6852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2354, allocations: 103.4 kB / 0.6853 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.2358, allocations: 279.1 kB / 0.6855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2358, allocations: 0 / 0.6855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2358, allocations: 0 / 0.6855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.485e-06/0.2358, allocations: 0 / 0.6855 GB, free: 3.438 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.0008018/0.2366, allocations: 0.5345 MB / 0.686 GB, free: 2.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2367, allocations: 8.031 kB / 0.6861 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.2368, allocations: 28.56 kB / 0.6861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.2371, allocations: 255.8 kB / 0.6863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2371, allocations: 12.38 kB / 0.6863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2372, allocations: 16.31 kB / 0.6864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.2375, allocations: 221.9 kB / 0.6866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2375, allocations: 4 kB / 0.6866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.2376, allocations: 11.98 kB / 0.6866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2376, allocations: 4 kB / 0.6866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.2385, allocations: 0.7334 MB / 0.6873 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.2394, allocations: 0.5744 MB / 0.6879 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.2399, allocations: 299.6 kB / 0.6881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2401, allocations: 105.4 kB / 0.6882 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.2401, allocations: 16.25 kB / 0.6883 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.2405, allocations: 176.9 kB / 0.6884 GB, free: 288 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.2405, allocations: 0 / 0.6884 GB, free: 288 kB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.4216/0.6621, allocations: 366.1 kB / 0.6888 GB, free: 18.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6622, allocations: 133.1 kB / 0.6889 GB, free: 18.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.6627, allocations: 300.5 kB / 0.6892 GB, free: 18.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.6628, allocations: 32.09 kB / 0.6892 GB, free: 18.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.6629, allocations: 126 kB / 0.6893 GB, free: 18.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.663, allocations: 119.5 kB / 0.6895 GB, free: 18.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.6631, allocations: 67.23 kB / 0.6895 GB, free: 18.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.6632, allocations: 343.4 kB / 0.6899 GB, free: 17.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.6634, allocations: 83.09 kB / 0.6899 GB, free: 17.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.6636, allocations: 122.1 kB / 0.69 GB, free: 17.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.664, allocations: 217.2 kB / 0.6903 GB, free: 17.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.664, allocations: 0 / 0.6903 GB, free: 17.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005101/0.6645, allocations: 275.6 kB / 0.6905 GB, free: 17.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6645, allocations: 7.375 kB / 0.6905 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6645, allocations: 1.469 kB / 0.6905 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.6646, allocations: 4.875 kB / 0.6905 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.6648, allocations: 62.55 kB / 0.6906 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6648, allocations: 3.188 kB / 0.6906 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.665, allocations: 29.23 kB / 0.6906 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.665, allocations: 12.84 kB / 0.6906 GB, free: 17.68 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 (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.0001563/0.6652, allocations: 164.4 kB / 0.6908 GB, free: 17.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.6653, allocations: 25.78 kB / 0.6908 GB, free: 17.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.666, allocations: 379.9 kB / 0.6912 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.666, allocations: 4 kB / 0.6912 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6661, allocations: 0.6562 kB / 0.6912 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.6661, allocations: 2.484 kB / 0.6912 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.6664, allocations: 332.9 kB / 0.6915 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6664, allocations: 0.75 kB / 0.6915 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6666, allocations: 56.52 kB / 0.6916 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.6666, allocations: 1.156 kB / 0.6916 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.6666, allocations: 14.08 kB / 0.6916 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6667, allocations: 2.484 kB / 0.6916 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6667, allocations: 0 / 0.6916 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.6672, allocations: 327.2 kB / 0.6919 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6673, allocations: 150.2 kB / 0.692 GB, free: 16.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.6674, allocations: 10.27 kB / 0.692 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.6675, allocations: 15.83 kB / 0.6921 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.6676, allocations: 25.92 kB / 0.6921 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6677, allocations: 10.22 kB / 0.6921 GB, free: 16.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.6679, allocations: 231.8 kB / 0.6923 GB, free: 16.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.6679, allocations: 0.8125 kB / 0.6923 GB, free: 16.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.6682, allocations: 64.33 kB / 0.6924 GB, free: 16.79 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 (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.0009745/0.6692, allocations: 404.7 kB / 0.6928 GB, free: 16.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.6697, allocations: 226.9 kB / 0.693 GB, free: 16.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6697, allocations: 0 / 0.693 GB, free: 16.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.6699, allocations: 134.2 kB / 0.6931 GB, free: 16.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.6702, allocations: 33.36 kB / 0.6931 GB, free: 16.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.6711, allocations: 499.4 kB / 0.6936 GB, free: 16.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.6714, allocations: 0.7532 MB / 0.6943 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003462/0.6717, allocations: 147.5 kB / 0.6945 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.6718, allocations: 45.61 kB / 0.6945 GB, free: 15.54 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6718, allocations: 0 / 0.6945 GB, free: 15.54 MB / 494.1 MB Notification: Performance of Templates: time 0.00826/0.6801, allocations: 2.975 MB / 0.6974 GB, free: 15.25 MB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)