Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001272/0.001272, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.67/1.67, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.809/1.809, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001281/0.001281, allocations: 72.52 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2852, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002624/0.2879, allocations: 0.8321 MB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2891, allocations: 0.8642 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.2892, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.2893, allocations: 3.984 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2894, allocations: 11.92 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2896, allocations: 35.91 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2898, allocations: 83.83 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2899, allocations: 23.98 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.29, allocations: 35.91 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2901, allocations: 47.81 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.2902, allocations: 8 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.2902, allocations: 12 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.2903, allocations: 23.86 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.2903, allocations: 39.78 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.2904, allocations: 87.72 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2904, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2904, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2905, allocations: 0 / 0.7849 GB, free: 11.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006345/0.2911, allocations: 395.4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2911, allocations: 12.03 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.2912, allocations: 12.84 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2914, allocations: 180.2 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2914, allocations: 8.312 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.2914, allocations: 8.375 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.2918, allocations: 106.1 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2918, allocations: 192 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2918, allocations: 3.938 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2918, allocations: 4 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.2922, allocations: 95.89 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.2928, allocations: 340.7 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.2935, allocations: 126.5 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2937, allocations: 48.81 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.2937, allocations: 11.92 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2938, allocations: 38.56 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2938, allocations: 0 / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006983/0.2945, allocations: 177.5 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2945, allocations: 51.41 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2947, allocations: 133.7 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2947, allocations: 25.7 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.2948, allocations: 92.08 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2948, allocations: 23.7 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.2949, allocations: 21.7 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.295, allocations: 322.8 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2952, allocations: 47.95 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.2954, allocations: 47.94 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.2957, allocations: 96.77 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2958, allocations: 0 / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004143/0.2962, allocations: 145.4 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2962, allocations: 4 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2962, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2962, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2964, allocations: 27.97 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2964, allocations: 0.5469 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2966, allocations: 11.98 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2966, allocations: 4 kB / 0.7874 GB, free: 9.004 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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000141/0.2967, allocations: 122.4 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.2968, allocations: 7.906 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.2972, allocations: 157.8 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2973, allocations: 4 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2973, allocations: 0 / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2973, allocations: 4 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2975, allocations: 205.5 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2975, allocations: 0 / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2977, allocations: 23.97 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2977, allocations: 7.922 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2977, allocations: 4 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2978, allocations: 4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2978, allocations: 3.984 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.2983, allocations: 239.2 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.2983, allocations: 85.09 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2983, allocations: 0 / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2985, allocations: 11.98 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.2986, allocations: 23.97 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2986, allocations: 4 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.415e-05/0.2987, allocations: 91.27 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2987, allocations: 0 / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002441/0.299, allocations: 19.91 kB / 0.7884 GB, free: 7.906 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000152/0.2991, allocations: 103.2 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.2996, allocations: 115.8 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2996, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2998, allocations: 59.95 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3002, allocations: 11.98 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.3007, allocations: 202.2 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.301, allocations: 0.6885 MB / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.856e-05/0.3011, allocations: 15.98 kB / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.3011, allocations: 11.44 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.3011, allocations: 4 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.004196/0.3053, allocations: 1.413 MB / 0.791 GB, free: 5.242 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)