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.001373/0.001373, allocations: 108 kB / 15.6 MB, free: 132 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.001361/0.001362, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.702/1.702, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.848/1.848, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001499/0.001499, allocations: 70.33 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2905, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002206/0.2928, allocations: 0.779 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2939, allocations: 0.8632 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.2939, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.294, allocations: 7.922 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.2941, allocations: 7.875 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2943, allocations: 47.88 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2944, allocations: 83.83 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2945, allocations: 27.97 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.2946, allocations: 35.86 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.2947, allocations: 47.83 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.2948, allocations: 8 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.2948, allocations: 8 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2948, allocations: 23.91 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.2949, allocations: 39.78 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.295, allocations: 79.73 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.295, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.295, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.295, allocations: 0 / 0.7854 GB, free: 11.4 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.0007207/0.2958, allocations: 399.4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2958, allocations: 8.031 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2959, allocations: 12.84 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2961, allocations: 184.2 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2961, allocations: 384 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.2962, allocations: 8.375 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.2965, allocations: 106.1 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2965, allocations: 192 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2965, allocations: 3.938 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2965, allocations: 4 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.2969, allocations: 103.9 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.2976, allocations: 332.6 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.2982, allocations: 122.6 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.2984, allocations: 56.8 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2985, allocations: 7.984 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2985, allocations: 38.5 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2985, allocations: 0 / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006512/0.2992, allocations: 177.5 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2992, allocations: 51.41 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2993, allocations: 125.7 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2994, allocations: 29.7 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.2994, allocations: 100.1 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2995, allocations: 15.72 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.2995, allocations: 25.64 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.2998, allocations: 322.8 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2999, allocations: 43.95 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.3001, allocations: 47.95 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3005, allocations: 104.7 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3005, allocations: 4 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000403/0.3009, allocations: 141.5 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3009, allocations: 6.656 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.301, allocations: 4 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.301, allocations: 0 / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3011, allocations: 23.97 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3011, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3013, allocations: 11.98 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3013, allocations: 4 kB / 0.7879 GB, free: 8.605 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 9.183e-05/0.3014, allocations: 126.4 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3014, allocations: 11.84 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.3019, allocations: 146.4 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.3019, allocations: 4 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3019, allocations: 4 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3019, allocations: 0 / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3022, allocations: 201.5 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3022, allocations: 3.938 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.3023, allocations: 23.97 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3024, allocations: 4 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3024, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3024, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3024, allocations: 3.984 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.3029, allocations: 243.3 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.303, allocations: 85.09 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.303, allocations: 0 / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3032, allocations: 11.98 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.3032, allocations: 23.95 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3033, allocations: 8 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.3033, allocations: 99.27 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3033, allocations: 0 / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002271/0.3036, allocations: 15.91 kB / 0.7889 GB, free: 7.512 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.0001225/0.3037, allocations: 103.2 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.3041, allocations: 112 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3041, allocations: 0 / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3043, allocations: 63.94 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.3048, allocations: 19.86 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.3052, allocations: 170.1 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3056, allocations: 0.6924 MB / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.3057, allocations: 15.98 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.3057, allocations: 15.44 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3057, allocations: 0 / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.003974/0.3097, allocations: 1.584 MB / 0.7916 GB, free: 4.699 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)