Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001219/0.001219, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 187 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 74.91 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2819, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.005287/0.2872, allocations: 1.608 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.289, allocations: 1.071 MB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.2891, allocations: 4 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.2894, allocations: 31.78 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.2899, allocations: 62.95 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.2904, allocations: 111.7 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.2908, allocations: 229.6 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.291, allocations: 27.95 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2912, allocations: 75.83 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.2915, allocations: 91.77 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.2915, allocations: 16 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2917, allocations: 59.92 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2918, allocations: 87.73 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.2919, allocations: 95.41 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.2922, allocations: 275 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2922, allocations: 0 / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2922, allocations: 0 / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2923, allocations: 4 kB / 0.7879 GB, free: 8.848 MB / 0.6075 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.0007803/0.293, allocations: 0.5189 MB / 0.7884 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2931, allocations: 12.03 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.2932, allocations: 24.66 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.2935, allocations: 263.7 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2935, allocations: 12.38 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.2936, allocations: 20.38 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.2939, allocations: 209.5 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2939, allocations: 0 / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.294, allocations: 8 kB / 0.7889 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.294, allocations: 4 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.2948, allocations: 0.734 MB / 0.7896 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.2957, allocations: 0.5668 MB / 0.7902 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.2962, allocations: 299.6 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2963, allocations: 101.4 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.2964, allocations: 16.25 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.2968, allocations: 176.9 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.2968, allocations: 0 / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0006897/0.2975, allocations: 375 kB / 0.7911 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.2976, allocations: 136.5 kB / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.2979, allocations: 300 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2979, allocations: 29.7 kB / 0.7915 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.298, allocations: 120.7 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/0.2981, allocations: 114.4 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.2982, allocations: 65.69 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2983, allocations: 342.8 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2985, allocations: 79.95 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2986, allocations: 131.8 kB / 0.7923 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.299, allocations: 212.8 kB / 0.7926 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.299, allocations: 0 / 0.7926 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004484/0.2994, allocations: 277.6 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2995, allocations: 10.66 kB / 0.7928 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2995, allocations: 7.938 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2995, allocations: 0 / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2997, allocations: 67.91 kB / 0.7929 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2997, allocations: 3.938 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2999, allocations: 27.73 kB / 0.7929 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.2999, allocations: 16 kB / 0.7929 GB, free: 3.367 MB / 0.6075 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.0001583/0.3001, allocations: 162.3 kB / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.3001, allocations: 23.72 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.3007, allocations: 320.1 kB / 0.7934 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3007, allocations: 4 kB / 0.7934 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3007, allocations: 0 / 0.7934 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3007, allocations: 3.984 kB / 0.7934 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.301, allocations: 325.2 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.301, allocations: 0 / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3012, allocations: 55.91 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3012, allocations: 8 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.3013, allocations: 8 kB / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3013, allocations: 0 / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3013, allocations: 0 / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.3017, allocations: 329.1 kB / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3019, allocations: 148.6 kB / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.3019, allocations: 8 kB / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.302, allocations: 19.22 kB / 0.7943 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3021, allocations: 27.97 kB / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3021, allocations: 11.98 kB / 0.7943 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001939/0.3023, allocations: 233.6 kB / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3023, allocations: 0 / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002785/0.3026, allocations: 63.92 kB / 0.7946 GB, free: 1.555 MB / 0.6075 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.0008926/0.3035, allocations: 401.3 kB / 0.795 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.3039, allocations: 228 kB / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3039, allocations: 0 / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.3041, allocations: 135.8 kB / 0.7953 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3044, allocations: 35.05 kB / 0.7954 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.3051, allocations: 0.4893 MB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3055, allocations: 0.7652 MB / 0.7966 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.3058, allocations: 142.8 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.3059, allocations: 39.42 kB / 0.7968 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.3059, allocations: 4 kB / 0.7968 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.006366/0.3123, allocations: 2.967 MB / 0.7997 GB, free: 12.47 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)